欢迎来到Minecraft插件百科!
对百科编辑一脸懵逼?
帮助:快速入门
带您快速熟悉百科编辑!
因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289
查看“Magic/Regions”的源代码
←
Magic/Regions
跳转到导航
跳转到搜索
因为以下原因,您没有权限编辑本页:
您请求的操作仅限属于这些用户组的用户执行:
用户
、
自动确认用户
、
巡查者
您可以查看和复制此页面的源代码。
Magic integrates with [http://dev.bukkit.org/bukkit-plugins/worldguard/ WorldGuard] 6.2 or above, or older versions of WorldGuard coupled with the [http://jenkins.elmakers.com/job/WGCustomFlags/5/com.mewin%24WGCustomFlags/ WGCustomFlags] plugin to provide region-based control over spells and wands. == Region Flag Command == Admins can use several custom flags to control how Magic behaves in specific regions. The general command syntax for modifying region flags is like this: <pre class="">region flag arena -w world blocked-spell-categories master,engineering</pre> This would modify the "arena" region in world "world" so that any spells in the "master" and "engineering" categories are not allowed. <pre class="">region flag arena -w world blocked-spells kill,torture</pre> This works like the other example, but using a specific list of spells instead of categories. Note that spell ''key names'' are used here (as found in configs), not in-game localized names. == Custom Flags == Magic provides the following custom flags: * '''allowed-spells''' Spells that will be allowed in a region. Takes priority over PvP and build permissions. * '''blocked-spells''' Spells that are not allowed in a region. Takes priority over allowed-spells. * '''allowed-spell-categories''' Works like allowed-spells, but using spell categories instead of keys. * '''blocked-spell-categories''' Works like blocked-spells, but using spell categories instead of keys. * '''allowed-wands''' Wands that are allowed to be used in a region. Takes priority over wand use permissions. * '''blocked-wands''' Wands that are not allowed to be used in a region. Takes priority over allowed-wands. * '''spell-overrides''' Used like the "/wand override" command, can be a powerful tool for making certain spells behave differently in a particular region. * '''destructible''' Can be used to modify which blocks may be destroyed by spells in a specific region. * '''reflective''' Can be used to make specific blocks reflective in a region (spells will bounce off of them) == Wildcards == In all cases "*" can be used as a wildcard, meaning "all". So "/region flag somewhere blocked-spells *" can be used to prevent casting of all spells in a region. If for some reason you should need it (generally due to overlapping regions) you can use "-" to mean "none". For example, if you have a region where you want to allow all spells, and then inside of that a higher-priority region where you want to block only specific spells you could do: <pre class="">/region flag outer allowed-spells * /region flag inner blocked-spells blink,fling /region flag inner allowed-spells -</pre> This will prevent the inner region from inheriting the * from its parent region.
返回
Magic/Regions
。
导航菜单
个人工具
登录
命名空间
页面
讨论
大陆简体
查看
阅读
查看源代码
查看历史
更多
搜索
导航
首页
最近更改
随机页面
编辑相关
百科公告
编辑帮助
互助客栈
贡献分数
测试沙盒
发布条目
插件分类
管理
安全
聊天
编程
经济
修正
娱乐
综合
信息
机械
角色
传送
网页
整地
创世
付费
其它
工具
链入页面
相关更改
特殊页面
页面信息
相关网站
MCMOD百科
Minecraft中文百科
Minecraft纪念论坛
Minecraft百度贴吧
虚无世界Wiki