diff options
Diffstat (limited to 'src/main/kotlin/io/dico/parcels2/command/CommandsPrivilegesGlobal.kt')
-rw-r--r-- | src/main/kotlin/io/dico/parcels2/command/CommandsPrivilegesGlobal.kt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/main/kotlin/io/dico/parcels2/command/CommandsPrivilegesGlobal.kt b/src/main/kotlin/io/dico/parcels2/command/CommandsPrivilegesGlobal.kt index 9e3ac23..3b4234c 100644 --- a/src/main/kotlin/io/dico/parcels2/command/CommandsPrivilegesGlobal.kt +++ b/src/main/kotlin/io/dico/parcels2/command/CommandsPrivilegesGlobal.kt @@ -9,6 +9,15 @@ import org.bukkit.entity.Player class CommandsPrivilegesGlobal(plugin: ParcelsPlugin, val adminVersion: CommandsAdminPrivilegesGlobal) : AbstractParcelCommands(plugin) { + @Cmd("list", aliases = ["l"]) + @Desc( + "List globally declared privileges, players you", + "allowed to build on or banned from all your parcels", + shortVersion = "lists globally declared privileges" + ) + fun cmdList(sender: Player, context: ExecutionContext) = + adminVersion.cmdList(context, sender) + @Cmd("entrust") @Desc( "Allows a player to manage globally", |