插件手册:magic:权限

这是本文档旧的修订版!


magic中的大多数权限都允许访问命令,并且(除了少数例外)只应授予mod或admin。

最常见的情况是,mods和admins应该具有以下访问所有magic命令和项目的权限:

Magic.commands.*

Magic.create.*

magic.*不是一个好主意,有许多权限用于绕过或其他功能,您可能不想一直打开。如果你需要绕道而行的话,最好用OP!

玩家不需要任何特殊权限。更多信息见下文。

默认情况下,所有玩家都可以使用魔杖和所有法术。可以通过取消以下权限节点来限制这一点:

  • -Magic.wand.use : 玩家不能用法杖
  • -Magic.use.<wandname> : 玩家可能不可以使用特定法杖或者魔法物品
  • -Magic.wand.craft : 玩家不能够制造法杖
  • -Magic.cast.* : 玩家不能施展任何魔咒
  • Magic.cast.<spellname> : 玩家可以施展一个特定的魔咒

默认情况下,玩家不能访问任何命令。magic命令权限遵循格式“magic.commands.<command><subcommand>”。例如:

  • Magic.commands.mskills : 玩家可以使用 /mskills skill 选择器
  • Magic.commands.spells : 玩家可以使用 /spells

您也可以使用/wand和mgive命令限制哪些物品和法杖可用于mods。默认情况下,如果他们有权限,他们可以使用这些命令来生成任何物品。

  • Magic.commands.mgive : 玩家生成物品和法杖
  • Magic.commands.wand : 玩家只可生成法杖
  • -Magic.create.* : 玩家不能生成任何物品或者法杖
  • Magic.create.wand : 玩家能生成名为“wand”的法杖
  • Magic.create.battle : 玩家能成圣名为“battle”的法杖
  • Magic.create.stone : 玩家能生成石头方块
  • Magic.create.hylian_shield : 玩家可以生成物品Hylian_shield

默认情况下,操作系统有几个权限可以让它们绕过限制:

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.override_stash : The player may place a bound wand into a chest 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

Magic.commands.mgive : Player can use /mgive to spawn any item Magic.commands.wand : Player can use /wand to spawn wands Magic.create. : Player can use /wand or /mgive to get a specific wand. All wands are available by default. -Magic.create.* : Negate this permission to use per-item/wand permissions for /wand and /mgive ==== 法杖修改权限 Wand Modification Permissions====、 These commands can be used to modify wand items

Magic.commands.wand.describe : Player can use /wand describe to list information about a wand Magic.commands.wand.add : Player can use /wand add to add spells and brushes to wands 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 to remove spells and brushes from a wand Magic.commands.wand.create : Player can use /wand create to change an item into an empty wand Magic.commands.wand.destroy : Player can use /wand destroy to turn a wand into a normal item Magic.commands.wand.delete : Player can use /wand delete to delete a saved wand template Magic.commands.wand.enchant : Player can use /wand enchant to upgrade a wand randomly Magic.commands.wand.name : Player can use /wand name to rename a wand Magic.commands.wand.list : Player can use /wand list to see all wands Magic.commands.wand.save : Player can use /wand save to save a wand item to a new config template Magic.commands.wand.fill : Player can use /wand fill to add all available spells to a wand Magic.commands.wand.configure : Player can use /wand configure to change wand properties Magic.commands.wand.upgrade : Player can use /wand upgrade to upgrade wand properties Magic.commands.wand.duplicate : Player can use /wand duplicate to create a copy of a wand Magic.commands.wand.organize : Player can use /wand organize to reorganize their spell inventory Magic.commands.wand.restore : Player can use /wand restore to retrieve missing bound wands Magic.commands.wand.unlock : Player can use /wand unlock to unlock a locked wand and modify it Magic.commands.wand.override : Player can use /wand override to change cast overrides on a wand

  • 插件手册/magic/权限.1550219463.txt.gz
  • 最后更改: 2019/02/15 16:31
  • 玛莎莎