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

PermissionFunctionDefault
toolbox.*All access permissions to the plugin.op
toolbox.notifyWho has get plugin message about important stuff.op
toolbox.cmdlock.bypassNo command confirmation asked ever.false
toolbox.forcecmdCan avoid confirmation by /! cmd call.false*
toolbox.forceweCan avoid confirmation by ! we cmd call.false*
toolbox.browseCan open the file browser.false*
toolbox.pluginsCan open the plugin manager window.false*
toolbox.playersCan open the players window.false*
scripts.*All scripting permissions.false*
scripts.run.*Can run any script written by anyone.false*
scripts.run.ownCan run his own scripts.false*
scripts.run.publicCan run the public scripts.false*
scripts.run.player.<name>Can run the scripts of the named player.false*
scripts.run.othersCan run the private scripts of any other player.false*
scripts.edit.*Can edit any script written by anyone.false*
scripts.edit.ownCan edit his own scripts.false*
scripts.edit.publicCan 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.othersCan 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

Posts Quoted:
Reply
Clear All Quotes