• 欢迎来到Minecraft插件百科!
  • 对百科编辑一脸懵逼?帮助:快速入门带您快速熟悉百科编辑!
  • 因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289

“Magic/Permissions”的版本间的差异

来自Minecraft插件百科
跳转至: 导航搜索
(创建页面,内容为“# Permissions 权限 大多数Magic的权限都可以用于命令的使用,除少数只应该给管理员使用 ## 快速入门 通常情况下,管理员最…”)
 
 
(未显示同一用户的2个中间版本)
第1行: 第1行:
# Permissions 权限
+
==权限==
  
 
大多数Magic的权限都可以用于命令的使用,除少数只应该给管理员使用
 
大多数Magic的权限都可以用于命令的使用,除少数只应该给管理员使用
  
 
+
== 快速入门 ==
## 快速入门
 
  
 
通常情况下,管理员最好拥有以下权限以使用Magic所有的命令和物品:
 
通常情况下,管理员最好拥有以下权限以使用Magic所有的命令和物品:
  
```
+
<pre>Magic.commands.*
Magic.commands.*
+
Magic.create.*</pre>
Magic.create.*
+
Magic.* ''绝不是'' 一个合适的权限, 有许多权限需要适用于跳过检测或其他的功能,当然了我们不一定一直都要使用这些功能。如果你要跳过一些技能检测的话,给自己OP未尝不是一个更好的选择
```
 
 
 
Magic.* _绝不是_ 一个合适的权限, 有许多权限需要适用于跳过检测或其他的功能,当然了我们不一定一直都要使用这些功能。如果你要跳过一些技能检测的话,给自己OP未尝不是一个更好的选择
 
  
 
玩家不必要有什么特殊的权限,见下文详解。
 
玩家不必要有什么特殊的权限,见下文详解。
  
## Player Permissions 玩家权限
+
==玩家权限 ==
  
**默认地,所有玩家都有权使用法杖和所有法术**.  
+
'''默认地,所有玩家都有权使用法杖和所有法术'''. 很容易,你可以通过给玩家负权限以限制:
很容易,你可以通过给玩家负权限以限制:
 
  
 
* -Magic.wand.use : 玩家不能使用法杖
 
* -Magic.wand.use : 玩家不能使用法杖
* -Magic.use.\<wandname\> : 玩家不能使用指定的法杖或魔法物品
+
* -Magic.use.&lt;wandname&gt; : 玩家不能使用指定的法杖或魔法物品
 
* -Magic.wand.craft : 玩家不能合成法杖
 
* -Magic.wand.craft : 玩家不能合成法杖
 
* -Magic.cast.* : 玩家不能释放任何一个法术
 
* -Magic.cast.* : 玩家不能释放任何一个法术
* Magic.cast.\<spellname\> : 玩家可以释放某一法术
+
* Magic.cast.&lt;spellname&gt; : 玩家可以释放某一法术
  
**默认地,玩家是不能使用任何命令的(只能通过法杖一类释放了)**.  
+
'''默认地,玩家是不能使用任何命令的(只能通过法杖一类释放了)'''. Magic的权限遵从格式: &quot;Magic.commands.&lt;命令&gt;.&lt;子命令&gt;&quot;. 例如:
Magic的权限遵从格式: "Magic.commands.\<命令\>.\<子命令\>". 例如:
 
  
 
* Magic.commands.mskills : 玩家可以使用/mskills 技能选择器
 
* Magic.commands.mskills : 玩家可以使用/mskills 技能选择器
 
* Magic.commands.spells : 玩家可以使用/spells 命令
 
* Magic.commands.spells : 玩家可以使用/spells 命令
  
## Mod and Admin Permissions 管理员的权限
+
==管理员的权限 ==
  
 
可能也需要限制一些物品或法杖不让管理员使用,默认情况下他们的确可以通过命令生成任何物品
 
可能也需要限制一些物品或法杖不让管理员使用,默认情况下他们的确可以通过命令生成任何物品
  
 
* Magic.commands.mgive : 可以生成物品或法杖
 
* Magic.commands.mgive : 可以生成物品或法杖
* Magic.commands.wand : 只可以生成法杖
+
* Magic.commands.wand : 只可以生成法杖
* -Magic.create.* : 不可以生成物品或法杖
+
* -Magic.create.* : 不可以生成物品或法杖
* Magic.create.wand : 可以生成法杖名"wand"
+
* Magic.create.wand : 可以生成法杖名&quot;wand&quot;
* Magic.create.battle : 可以生成法杖名"battle"
+
* Magic.create.battle : 可以生成法杖名&quot;battle&quot;
 
* Magic.create.stone : 可以生成石头
 
* Magic.create.stone : 可以生成石头
 
* Magic.create.hylian_shield : 可以生成 hylian_shield(海拉尔之盾,不知道是玩塞尔达的梗还是Mod物品名) 物品
 
* Magic.create.hylian_shield : 可以生成 hylian_shield(海拉尔之盾,不知道是玩塞尔达的梗还是Mod物品名) 物品
  
## Bypass Permissions 跳过权限
+
==跳过权限 ==
  
 
下面的权限默认OP有,可以跳过许多种检测:
 
下面的权限默认OP有,可以跳过许多种检测:
第61行: 第55行:
 
* Magic.wand.override_locked : 玩家可以更改锁定的法杖的配置
 
* Magic.wand.override_locked : 玩家可以更改锁定的法杖的配置
 
* Magic.wand.override_stash : 玩家可以把绑定的法杖放进箱子
 
* Magic.wand.override_stash : 玩家可以把绑定的法杖放进箱子
* Magic.wand.use.protected : 玩家可以使用带"protected"保护标志的设定,意味着法杖无敌化
+
* Magic.wand.use.protected : 玩家可以使用带&quot;protected&quot;保护标志的设定,意味着法杖无敌化
* Magic.wand.use.powered : 玩家可以使用带"powered"强度标志的设定,意味着跳过某些限制
+
* Magic.wand.use.powered : 玩家可以使用带&quot;powered&quot;强度标志的设定,意味着跳过某些限制
  
## Item Spawning Permissions 物品生成权限
+
==物品生成权限 ==
  
 
* Magic.commands.mgive : 可用 /mgive 生成任意物品
 
* Magic.commands.mgive : 可用 /mgive 生成任意物品
第71行: 第65行:
 
* -Magic.create.* : 给负的权限以限制使用/wand和/mgive的权限
 
* -Magic.create.* : 给负的权限以限制使用/wand和/mgive的权限
  
## Wand Modification Permissions 法杖修改权限
+
==法杖修改权限 ==
  
 
这些权限可以修改法杖
 
这些权限可以修改法杖
  
 
* Magic.commands.wand.describe : 可用 /wand describe 来显示法杖的信息
 
* Magic.commands.wand.describe : 可用 /wand describe 来显示法杖的信息
 +
* Magic.commands.wand.add :可用 /wand add to add spells and brushes to wands
 +
* Magic.commands.wand.add.spell.<spellname> : 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 : 可用 /wand remove to remove spells and brushes from a wand
 +
* Magic.commands.wand.create : 可用 /wand create to change an item into an empty wand
 +
* Magic.commands.wand.destroy : 可用 /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.add :可用 /wand add to add spells and brushes to wands
 
* Magic.commands.wand.add :可用 /wand add to add spells and brushes to wands
 
* Magic.commands.wand.add.spell.<spellname> : Player may add a specific spell to a wand. All spells are allowed by default.
 
* Magic.commands.wand.add.spell.<spellname> : Player may add a specific spell to a wand. All spells are allowed by default.
第98行: 第112行:
 
* Magic.commands.wand.override : Player can use /wand override to change cast overrides on a wand
 
* Magic.commands.wand.override : Player can use /wand override to change cast overrides on a wand
  
## Remote Wand Modification
+
== Remote Wand Modification ==
  
The /wandp command permissions follow the same format as the /wand command.  
+
The /wandp command permissions follow the same format as the /wand command. <br />
 
/wandp <player> <subcommand> Works just like /wand <subcommand> but acting as another player. This can be used to make changes to a wand that another player is holding.
 
/wandp <player> <subcommand> Works just like /wand <subcommand> but acting as another player. This can be used to make changes to a wand that another player is holding.
  
 
* Magic.commands.wandp.* : Player can use /wandp commands on behalf of another player.
 
* Magic.commands.wandp.* : Player can use /wandp commands on behalf of another player.
  
## Mage Configuration
+
== Mage Configuration ==
  
 
* Magic.commands.mage.debug : Player can turn on debug information for themselves or another player
 
* Magic.commands.mage.debug : Player can turn on debug information for themselves or another player
第113行: 第127行:
 
* Magic.commands.mage.reset : Player can completely reset a mage's data
 
* Magic.commands.mage.reset : Player can completely reset a mage's data
  
## Item Manipulation
+
== Item Manipulation ==
  
 
The /mitem command can be used in-game to modify non-wand items
 
The /mitem command can be used in-game to modify non-wand items
  
* Magic.commands.mitem.add :       Add enchantments, attributes or lore
+
* Magic.commands.mitem.add : Add enchantments, attributes or lore
* Magic.commands.mitem.remove :     Remove enchantments, attributes or lore
+
* Magic.commands.mitem.remove : Remove enchantments, attributes or lore
* Magic.commands.mitem.describe :   Show information about an item
+
* Magic.commands.mitem.describe : Show information about an item
* Magic.commands.mitem.duplicate : Create a copy of an item
+
* Magic.commands.mitem.duplicate : Create a copy of an item
* Magic.commands.mitem.destroy :   Destroy an item
+
* Magic.commands.mitem.destroy : Destroy an item
* Magic.commands.mitem.skull :     Create a custom skull based on data in a book
+
* Magic.commands.mitem.skull : Create a custom skull based on data in a book
* Magic.commands.mitem.save :       Save an item as a new template
+
* Magic.commands.mitem.save : Save an item as a new template
* Magic.commands.mitem.delete :     Delete a saved item
+
* Magic.commands.mitem.delete : Delete a saved item
* Magic.commands.mitem.worth :     Show the value of an item
+
* Magic.commands.mitem.worth : Show the value of an item
* Magic.commands.mitem.type :       Change the type of an item
+
* Magic.commands.mitem.type : Change the type of an item
* Magic.commands.mitem.export :   Export all items, names and worth a CSV file
+
* Magic.commands.mitem.export : Export all items, names and worth a CSV file
  
## Magic Mobs
+
== Magic Mobs ==
  
 
Magic mob spawning and management commands:
 
Magic mob spawning and management commands:
  
 
* Magic.commands.mmob spawn : Spawn a custom Magic mob
 
* Magic.commands.mmob spawn : Spawn a custom Magic mob
* Magic.commands.mmob list : List custom mob types
+
* Magic.commands.mmob list : List custom mob types
* Magic.commands.clear                       Clear custom mobs from all loaded worlds
+
* Magic.commands.clear Clear custom mobs from all loaded worlds
  
## Image Maps
+
== Image Maps ==
  
 
There are specific permissions for the /mmap command
 
There are specific permissions for the /mmap command
  
* Magic.commands.mmap load :     Load a new image map
+
* Magic.commands.mmap load : Load a new image map
* Magic.commands.mmap list :     List all loaded image maps
+
* Magic.commands.mmap list : List all loaded image maps
* Magic.commands.mmap give :     Give a player an image map
+
* Magic.commands.mmap give : Give a player an image map
* Magic.commands.mmap import :     Import image maps from Pixelator
+
* Magic.commands.mmap import : Import image maps from Pixelator
  
## Command-Line Casting
+
== Command-Line Casting ==
  
 
The /cast command can be used in-game to cast spells.  
 
The /cast command can be used in-game to cast spells.  
第153行: 第167行:
 
* Magic.commands.cast.parameters : Player can use parameters with /cast
 
* Magic.commands.cast.parameters : Player can use parameters with /cast
  
Casting with parameters can be **very dangerous**, this should really only be given to server owners or highly trusted admins. For example, "/cast fire" is fine, but you probably don't want "/cast fire radius 1000".
+
Casting with parameters can be '''very dangerous''', this should really only be given to server owners or highly trusted admins. For example, &quot;/cast fire&quot; is fine, but you probably don't want &quot;/cast fire radius 1000&quot;.
  
## Miscellaneous Admin Commands
+
== Miscellaneous Admin Commands ==
  
 
* Magic.commands.magic.load : Reload spells.yml, wands.yml, config.yml and messages.yml. (And the defaults)
 
* 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.
 
* Magic.commands.magic.[save|clean|search|list| .. etc] : All commands follow the same pnode format.
  
This list may not be complete, check [plugin.yml](https://github.com/elBukkit/MagicPlugin/blob/master/Magic/src/main/resources/plugin.yml) for a full list of permissions
+
This list may not be complete, check [https://github.com/elBukkit/MagicPlugin/blob/master/Magic/src/main/resources/plugin.yml plugin.yml] for a full list of permissions

2021年5月3日 (一) 10:47的最新版本

权限

大多数Magic的权限都可以用于命令的使用,除少数只应该给管理员使用

快速入门

通常情况下,管理员最好拥有以下权限以使用Magic所有的命令和物品:

Magic.commands.*
Magic.create.*

Magic.* 绝不是 一个合适的权限, 有许多权限需要适用于跳过检测或其他的功能,当然了我们不一定一直都要使用这些功能。如果你要跳过一些技能检测的话,给自己OP未尝不是一个更好的选择

玩家不必要有什么特殊的权限,见下文详解。

玩家权限

默认地,所有玩家都有权使用法杖和所有法术. 很容易,你可以通过给玩家负权限以限制:

  • -Magic.wand.use : 玩家不能使用法杖
  • -Magic.use.<wandname> : 玩家不能使用指定的法杖或魔法物品
  • -Magic.wand.craft : 玩家不能合成法杖
  • -Magic.cast.* : 玩家不能释放任何一个法术
  • Magic.cast.<spellname> : 玩家可以释放某一法术

默认地,玩家是不能使用任何命令的(只能通过法杖一类释放了). Magic的权限遵从格式: "Magic.commands.<命令>.<子命令>". 例如:

  • Magic.commands.mskills : 玩家可以使用/mskills 技能选择器
  • Magic.commands.spells : 玩家可以使用/spells 命令

管理员的权限

可能也需要限制一些物品或法杖不让管理员使用,默认情况下他们的确可以通过命令生成任何物品

  • 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(海拉尔之盾,不知道是玩塞尔达的梗还是Mod物品名) 物品

跳过权限

下面的权限默认OP有,可以跳过许多种检测:

  • Magic.bypass : 跳过大部分的限制检测
  • Magic.bypass_build : 跳过技能释放时的建造限制检测
  • Magic.bypass_break : 通过技能释放时的方块破坏限制检测
  • Magic.bypass_pvp : 跳过PVP限制检测
  • Magic.bypass_restricted : 跳过限制的材料建造检测
  • Magic.bypass_hidden : 玩家可以在TAB补全和技能列表里面看到隐藏的技能
  • Magic.override_bind: : 玩家可以使用法杖绑定给其他玩家
  • Magic.bypass : 玩家跳过其他权限检测
  • Magic.wand.override_drop : 玩家可以跳过防丢弃法杖、放在箱子里面的检测
  • Magic.wand.override_locked : 玩家可以更改锁定的法杖的配置
  • Magic.wand.override_stash : 玩家可以把绑定的法杖放进箱子
  • Magic.wand.use.protected : 玩家可以使用带"protected"保护标志的设定,意味着法杖无敌化
  • Magic.wand.use.powered : 玩家可以使用带"powered"强度标志的设定,意味着跳过某些限制

物品生成权限

  • Magic.commands.mgive : 可用 /mgive 生成任意物品
  • Magic.commands.wand : 可用 /wand 生成法杖
  • Magic.create.<name> : 可用 /wand 或 /mgive获取指定的法杖。所有的法杖都是默认可用的。
  • -Magic.create.* : 给负的权限以限制使用/wand和/mgive的权限

法杖修改权限

这些权限可以修改法杖

  • Magic.commands.wand.describe : 可用 /wand describe 来显示法杖的信息
  • Magic.commands.wand.add :可用 /wand add to add spells and brushes to wands
  • Magic.commands.wand.add.spell.<spellname> : 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 : 可用 /wand remove to remove spells and brushes from a wand
  • Magic.commands.wand.create : 可用 /wand create to change an item into an empty wand
  • Magic.commands.wand.destroy : 可用 /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.add :可用 /wand add to add spells and brushes to wands
  • Magic.commands.wand.add.spell.<spellname> : 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 : 可用 /wand remove to remove spells and brushes from a wand
  • Magic.commands.wand.create : 可用 /wand create to change an item into an empty wand
  • Magic.commands.wand.destroy : 可用 /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

Remote Wand Modification

The /wandp command permissions follow the same format as the /wand command.
/wandp <player> <subcommand> Works just like /wand <subcommand> but acting as another player. This can be used to make changes to a wand that another player is holding.

  • Magic.commands.wandp.* : Player can use /wandp commands on behalf of another player.

Mage Configuration

  • Magic.commands.mage.debug : Player can turn on debug information for themselves or another player
  • Magic.commands.mage.check : Player can check permissions for spell casting, breaking, building, etc
  • Magic.commands.mage.getdata : Player can check mage data or spell casts
  • Magic.commands.mage.setdata : Player can modify mage data or spell casts
  • Magic.commands.mage.reset : Player can completely reset a mage's data

Item Manipulation

The /mitem command can be used in-game to modify non-wand items

  • Magic.commands.mitem.add : Add enchantments, attributes or lore
  • Magic.commands.mitem.remove : Remove enchantments, attributes or lore
  • Magic.commands.mitem.describe : Show information about an item
  • Magic.commands.mitem.duplicate : Create a copy of an item
  • Magic.commands.mitem.destroy : Destroy an item
  • Magic.commands.mitem.skull : Create a custom skull based on data in a book
  • Magic.commands.mitem.save : Save an item as a new template
  • Magic.commands.mitem.delete : Delete a saved item
  • Magic.commands.mitem.worth : Show the value of an item
  • Magic.commands.mitem.type : Change the type of an item
  • Magic.commands.mitem.export : Export all items, names and worth a CSV file

Magic Mobs

Magic mob spawning and management commands:

  • Magic.commands.mmob spawn : Spawn a custom Magic mob
  • Magic.commands.mmob list : List custom mob types
  • Magic.commands.clear Clear custom mobs from all loaded worlds

Image Maps

There are specific permissions for the /mmap command

  • Magic.commands.mmap load : Load a new image map
  • Magic.commands.mmap list : List all loaded image maps
  • Magic.commands.mmap give : Give a player an image map
  • Magic.commands.mmap import : Import image maps from Pixelator

Command-Line Casting

The /cast command can be used in-game to cast spells.

  • Magic.commands.cast : Player can use /cast
  • Magic.commands.cast.parameters : Player can use parameters with /cast

Casting with parameters can be very dangerous, this should really only be given to server owners or highly trusted admins. For example, "/cast fire" is fine, but you probably don't want "/cast fire radius 1000".

Miscellaneous Admin 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