Permissions
_____[Permissions]_____
TreeView | Description | plugin.yml
Tree View
toolbox.*
├╴toolbox.notify
├╴toolbox.cmdlock.bypass
├╴toolbox.forcecmd
├╴toolbox.forcewe
├╴toolbox.browse
├╴toolbox.plugins
├╴toolbox.players
└╴scripts.*
├╴scripts.edit.*
├╴scripts.edit.own
├╴scripts.edit.public
├╴scripts.edit.player.<name>
└╴scripts.edit.others
└╴scripts.run.*
├╴scripts.run.own
├╴scripts.run.public
├╴scripts.run.player.<name>
└╴scripts.run.others
Descriptions
Descriptions
| Permission | Function | Default |
|---|---|---|
toolbox.* | All access permissions to the plugin. | op |
toolbox.notify | Who has get plugin message about important stuff. | op |
toolbox.cmdlock.bypass | No command confirmation asked ever. | false |
toolbox.forcecmd | Can avoid confirmation by /! cmd call. | false* |
toolbox.forcewe | Can avoid confirmation by ! we cmd call. | false* |
toolbox.browse | Can open the file browser. | false* |
toolbox.plugins | Can open the plugin manager window. | false* |
toolbox.players | Can open the players window. | false* |
scripts.* | All scripting permissions. | false* |
scripts.run.* | Can run any script written by anyone. | false* |
scripts.run.own | Can run his own scripts. | false* |
scripts.run.public | Can run the public scripts. | false* |
scripts.run.player.<name> | Can run the scripts of the named player. | false* |
scripts.run.others | Can run the private scripts of any other player. | false* |
scripts.edit.* | Can edit any script written by anyone. | false* |
scripts.edit.own | Can edit his own scripts. | false* |
scripts.edit.public | Can edit the public scripts. | false* |
scripts.edit.player.<name> | Can edit the scripts of the named player. /!\ Write the name with lower letters! (GirL5 --> girl5) | false* |
scripts.edit.others | Can edit the private scripts of any other player. | false* |
(false* - default is false, but given to ops already by the toolbox.* permission)
Additional clarification
To list scripts of an access level you require either the rights of being able to edit or run them. To delete scripts you are needed to have the permission to edit them. Example:
To list Joe99's scripts you need either of these permissions:
- scripts.run.player.Joe99
- scripts.edit.player.Joe99
- scripts.run.others
- scripts.edit.others
To delete Joe99's "script5" script you need either of these permissions:
- scripts.edit.player.Joe99
- scripts.edit.others
plugin.yml
content of the plugin.yml file under the permissions tag
permissions: toolbox.*: children: toolbox.forcecmd: true toolbox.forcewe: true scripting.*: true toolbox.browse: true toolbox.plugins: true toolbox.players: true default: op toolbox.notify: default: op toolbox.cmdlock.bypass: default: false toolbox.forcecmd: default: false toolbox.forcewe: default: false toolbox.browse: default: false toolbox.plugins: default: false toolbox.players: default: false scripts.*: children: scripts.edit.*: true default: op scripts.run.*: children: scripts.run.own: true scripts.run.public: true scripts.run.others: true default: false scripts.run.own: default: false scripts.run.public: default: false # scripts.run.player.<name>: # default: none scripts.run.others: default: false scripts.edit.*: children: scripts.edit.own: true scripts.edit.public: true scripts.edit.others: true default: false scripts.edit.own: default: false scripts.edit.public: default: false # scripts.edit.player.<name>: # default: none scripts.edit.others: default: false
Comments