Skip to content
Nathan Wolf edited this page Dec 12, 2016 · 11 revisions

Permissions

By default, all players have access to the wand and all spells. This can be limited by negating the following permission nodes:

  • Magic.wand.use : Player can use a wand
  • Magic.wand.craft : Player can craft a wand
  • Magic.wand.enchant : Player can enchant a wand
  • Magic.cast.<spellname> : Player can cast a specific spell Use negated permissions to remove the ability to cast a spell!

There are several permissions that ops have by default that will let them bypass restrictions:

  • Magic.bypass : The player may bypass most restriction checks.
  • Magic.bypass_build : The player may cast spells that are otherwise build-restricted
  • Magic.bypass_break : The player may cast spells that are otherwise break-restricted
  • Magic.bypass_pvp : The player may cast spells that are otherwise PVP-restricted
  • Magic.bypass_restricted : The player may build with restricted materials
  • Magic.bypass_hidden : The player may see hidden spells in lists and tab-completion
  • Magic.override_bind: : The player may use wands bound to other players
  • Magic.bypass : The player may bypass other permission checks
  • Magic.wand.override_drop : The player may drop undroppable wands and put them in chests
  • Magic.wand.override_locked : The player may reconfigured locked wands
  • Magic.wand.use.protected : Player can use a wand with the "protected" flag set, meaning they are invincible
  • Magic.wand.use.powered : Player can use a wand with the "powered" flag set, meaning they bypass certain restrictions

By default, players have access to no commands. Magic command permissions follow the format "Magic.commands.<command>.<subcommand>". For example:

  • Magic.commands.spells : Player can use /spells
  • Magic.commands.mgive : Player can use /mgive to spawn any item
  • Magic.commands.wand : Player can use /wand sub-commands
  • Magic.commands.wand.create : Player can use /wand to create a wand
  • Magic.commands.wand.wand. : Player can use /wand to get a specific wand. All wands are available by default.
  • Magic.commands.wand.add : Player can use /wand add
  • Magic.commands.wand.add.spell. : Player may add a specific spell to a wand. All spells are allowed by default.
  • Magic.commands.wand.add.material : Player may add a material to a wand. True by default.
  • Magic.commands.wand.bind : Player can bind a wand to themselves
  • Magic.commands.wand.unbind : Player can unbind a wand
  • Magic.commands.wand.remove : Player can use /wand remove
  • Magic.commands.wand.name : Player can use /wand name
  • Magic.commands.wand.list : Player can use /wand list
  • Magic.commands.wand.fill : Player can use /wand fill
  • Magic.commands.wand.configure : Player can use /wand configure
  • Magic.commands.wandp : Player can use /wandp sub-commands
  • Magic.commands.wandp.create : Player can give other players wands with /wandp
  • Magic.commands.wandp.wand. : Player can use /wandp to give a specific wand. All wands are available by default.
  • Magic.commands.wandp.add : Player can use /wandp add
  • Magic.commands.wandp.add.spell. : Player may add a specific spell to a wand remotely. All spells are allowed by default.
  • Magic.commands.wandp.add.material : Player may add a material to a wand remotely. True by default.
  • Magic.commands.wandp.remove : Player can use /wandp remove
  • Magic.commands.wandp.name : Player can use /wandp name
  • Magic.commands.wandp.list : Player can use /wandp list
  • Magic.commands.wandp.fill : Player can use /wandp fill
  • Magic.commands.wandp.configure : Player can use /wandp configure
  • Magic.commands.cast : Player can use /cast

And also the following admin-oriented commands:

  • Magic.commands.magic.load : Reload spells.yml, wands.yml, config.yml and messages.yml. (And the defaults)
  • Magic.commands.magic.[save|clean|search|list| .. etc] : All commands follow the same pnode format.

This list may not be complete, check plugin.yml for a full list of permissions

Clone this wiki locally