Name | Permission |
Syntax | permission [add/remove] [permission] (group:<name>) (<world>) |
Short Description | Gives or takes a permission node to/from the player or group. |
Full Description | Adds or removes a permission node from a player or group.
Accepts a world for world-based permissions plugins. By default changes the attached player's permissions. Accepts the 'group:<name>' argument to change a group's permission nodes rather than a player's. Note: This requires a permissions plugin and Vault. |
Related Tags | <PlayerTag.has_permission[permission.node]> Returns whether the player has the specified node. (...)
<PlayerTag.has_permission[permission.node].global> Returns whether the player has the specified node, regardless of world. (...)
<PlayerTag.has_permission[permission.node].world[<world>]> Returns whether the player has the specified node in regards to the (...)
<server.has_permissions> Returns whether the server has a known permission plugin loaded. (...)
|
Usage Example |
|
Usage Example |
|
Usage Example |
|
Usage Example |
|
Group | player |
Requires | Vault |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/scripts/commands/player/PermissionCommand.java#L24 |