mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 06:28:49 +00:00
Close #119 - Add separate permissions for /tp, /tphere and /tpa, /tpahere
This commit is contained in:
1 parent
82878092e3
commit
bec93a8fff
1 file changed
+20
-5
@@ -73,17 +73,17 @@ commands:
|
||||
tphere:
|
||||
description: Teleport another player to you
|
||||
usage: /<command> <player>
|
||||
permission: huskhomes.tp
|
||||
permission: huskhomes.tphere
|
||||
aliases: [tpohere]
|
||||
tpa:
|
||||
description: Request to teleport to another player
|
||||
usage: /<command> <player>
|
||||
permission: huskhomes.tprequest
|
||||
permission: huskhomes.tpa
|
||||
aliases: [tprequest, tpask]
|
||||
tpahere:
|
||||
description: Request another player to teleport to you
|
||||
usage: /<command> <player>
|
||||
permission: huskhomes.tprequest
|
||||
permission: huskhomes.tpahere
|
||||
aliases: [tphererequest, tpaskhere]
|
||||
tpaccept:
|
||||
description: Accept a teleport request
|
||||
@@ -150,7 +150,8 @@ permissions:
|
||||
huskhomes.publichome: true
|
||||
huskhomes.back: true
|
||||
huskhomes.back.death: true
|
||||
huskhomes.tprequest: true
|
||||
huskhomes.tpa: true
|
||||
huskhomes.tpahere: true
|
||||
huskhomes.spawn: true
|
||||
huskhomes.warp: true
|
||||
huskhomes.commands:
|
||||
@@ -165,7 +166,9 @@ permissions:
|
||||
huskhomes.back: true
|
||||
huskhomes.back.death: true
|
||||
huskhomes.tp: true
|
||||
huskhomes.tprequest: true
|
||||
huskhomes.tphere: true
|
||||
huskhomes.tpa: true
|
||||
huskhomes.tpahere: true
|
||||
huskhomes.spawn: true
|
||||
huskhomes.spawn.set: true
|
||||
huskhomes.warp: true
|
||||
@@ -245,8 +248,20 @@ permissions:
|
||||
huskhomes.tp:
|
||||
description: Allows you to directly teleport to players or locations
|
||||
default: op
|
||||
huskhomes.tphere:
|
||||
description: Allows you to teleport players directly to your location
|
||||
default: op
|
||||
huskhomes.tprequest:
|
||||
description: Allows you to request to teleport to a player
|
||||
default: false
|
||||
children:
|
||||
- huskhomes.tpa
|
||||
- huskhomes.tpahere
|
||||
huskhomes.tpa:
|
||||
description: Allows you to request to teleport to a player
|
||||
default: true
|
||||
huskhomes.tpahere:
|
||||
description: Allows you to request a player to teleport to you
|
||||
default: true
|
||||
huskhomes.tpignore:
|
||||
description: Allows you to ingore teleport requests
|
||||
|
||||
Reference in new issue
Block a user