Added new permission node for party teleportation.

`mcmmo.commands.ptp.send`
This permission node will be check before sending a teleport request
(or teleporting the sender if no request is required), this allows
admins to grant certain groups of users permissions to accept incoming
party teleport request without being able to send ptp requests
themselves.

Closes #927
This commit is contained in:
TfT_02
2013-04-04 22:20:19 +02:00
parent c16e5231f4
commit f1c16df63b
3 changed files with 10 additions and 0 deletions

View File

@ -954,12 +954,15 @@ permissions:
description: Implies access to all mcmmo.commands.ptp permissions.
children:
mcmmo.commands.ptp: true
mcmmo.commands.ptp.send: true
mcmmo.commands.ptp.accept: true
mcmmo.commands.ptp.acceptall: true
mcmmo.commands.ptp.toggle: true
mcmmo.commands.ptp.world.all: true
mcmmo.commands.ptp:
description: Allows access to the ptp command
mcmmo.commands.ptp.send:
description: Allows access to the ptp <player> command
mcmmo.commands.ptp.accept:
description: Allows access to the ptp accept command
mcmmo.commands.ptp.acceptall: