描述
WorldGuard Block Restricter 为 WorldGuard 区域添加了两个(从 2.0 版本起共六个)标志位:
- deny-blocks:禁止在此区域内放置或破坏的方块列表
- allow-blocks:允许在此区域内放置和破坏的方块列表(会覆盖 deny-blocks 的设置)
- 从 2.0 版本开始,还将提供以下标志位:
- deny-place:仅禁止放置指定的方块,但不禁止破坏它们
- allow-place:覆盖由 "deny-place" 指定的方块
- deny-break:仅禁止破坏指定的方块,但不禁止放置它们
- allow-break:覆盖由 "deny-break" 指定的方块
此插件需要 WorldGuard Custom Flags。
使用方法
像使用其他 WorldGuard 标志位一样直接使用这些标志位即可:
/region flag restriction deny-blocks obsidian, cobblestone
您还可以使用 "any" 来阻止任何方块的放置/破坏。这对于白名单模式非常有用,因为 allow-blocks 会覆盖此设置。
/region flag only-dirt deny-blocks any
/region flag only-dirt allow-blocks dirt
从 1.7 版本开始,您也可以使用方块/物品 ID。
点击 这里 查看其他使用 WorldGuard Custom Flags 的插件。
权限
- wgblockrestricter.ignore:
- 允许玩家忽略方块限制
遇到问题?
如果您在使用此插件时遇到问题,请阅读 常见问题解答 (F.A.Q.)。如果这未能解决您的问题,您可以在此处获取帮助 这里。
Description
WorldGuard Block Restricter adds two (six) flags to WorldGuard regions:
- deny-blocks: a list of blocks that are not allowed to be placed or destroyed in this region
- allow-blocks: a list of blocks that are allowed to be placed and destroyed (overwrites deny-blocks)
- from 2.0 on these flags will be available too:
- deny-place: only deny placing the specified blocks, but not breaking them
- allow-place: overwrite blocks specified by "deny-place"
- deny-break: only deny breaking the specified blocks, but not placing them
- allow-break: overwrite blocks specified by "deny-break"
It requires WorldGuard Custom Flags.
Usage
Simply use these flag as any other WorldGuard flag:
/region flag restriction deny-blocks obsidian, cobblestone
You can also use "any" to block any block placement/destruction. This is usefull for whitelisting, because allow-blocks will overwrite this.
/region flag only-dirt deny-blocks any
/region flag only-dirt allow-blocks dirt
From version 1.7 on you can also use block/item ids.
Click here for some other plugins using WorldGuard Custom Flags.
Permissions
- wgblockrestricter.ignore:
- allows players to ignore block restrictions
Problems ?
If you have problems with this plugin read the F.A.Q.. If this did not help you, you can receive help here.
下载 WorldGuard Block Restricter
下载 WorldGuard Block Restricter
下载 WorldGuard Block Restricter
下载 WorldGuard Block Restricter
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 WorldGuard Block Restricter
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 WorldGuard Block Restricter
下载 WorldGuard Block Restricter
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 WorldGuard Block Restricter
下载 WorldGuard Block Restricter
下载 WorldGuard Block Restricter
版本 2.0
- 添加了 flags.yml 文件
- 现在需要 WGCustomFlags 1.6 或更高版本
- 重构了材料解析方式
- 提高了模组兼容性
- 添加了旗帜标志
- "deny-place" 仅禁止放置指定的方块,但不禁止破坏它们
- "allow-place" 将覆盖由 "deny-place" 指定的方块
- "deny-break" 仅禁止破坏指定的方块,但不禁止放置它们
- "allow-break" 将覆盖由 "deny-break" 指定的方块
- "allow-blocks" 和 "deny-blocks" 仍然有效
版本 1.7
- 添加/修复了甘蔗 (sugar_cane)
- 添加了对方块/物品 ID 的支持
版本 1.6.3
- 适配 Minecraft 1.6.1
- 添加了染色粘土 (stained_clay)、干草块 (hay_block)、地毯 (carpet)、硬化粘土 (hard_clay) 和煤炭块 (coal_block)
版本 1.6.2
- 添加了熔岩和水(包括桶)
- 修复了无效材料消息
- 修复了一些材料无法正常工作的问题
版本 1.6.1
- 修复了空指针异常 (NullPointerException)
版本 1.6
- 改进了对未知材料的异常处理
- 添加了允许玩家忽略限制的权限
版本 1.5
- 适配 Minecraft 1.5.1
- 添加了陷阱箱 (trapped_chest)、金板 (gold_plate)、铁板 (iron_plate)、红石比较器 (redstone_comparator)、阳光探测器 (daylight_detector)、下界石英矿石 (quartz_ore)、漏斗、下界石英块 (quartz_block)、下界石英台阶 (quartz_stairs)、激活轨道 (activator_rail)、投掷器和红石块 (redstone_block)
- 添加了方块组
- sign 涵盖 sign_post 和 wall_sign
- piston 涵盖所有类型的活塞
- redstone_torch 涵盖 redstone_torch_on 和 redstone_torch_off
- redstone_lamp 涵盖 redstone_lamp_on 和 redstone_lamp_off
- diode 涵盖 diode_block_on 和 diode_block_off
- 添加了自定义消息
- 修复了画框和物品展示框无法工作的问题
版本 1.4
- 适配 Minecraft 1.4.6
版本 1.3
- 适配 Minecraft 1.4
- 添加了命令方块 (command)、信标、绿宝石块、绿宝石矿石、铁砧、花盆、圆石墙 (cobble_wall)、物品展示框、头颅和木质按钮 (wood_button)
版本 1.2
- 正式发行版
- 同时禁止破坏 deny-blocks 中的方块
- 修复了空指针异常 (NullPointerException)
版本 1.1
- 修复了在 build:deny 区域出现错误消息的问题
版本 1.0
- 初始发布
- 某些材料可能显示为未知,尽管它们本不应如此。请在您的报告中添加该未知材料。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
ExyliaPlugins 的库。
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
一个在游戏内运行的 Minecraft 地图编辑器! 支持选区、蓝图、复制粘贴、笔刷和脚本。 可在创造模式中使用,也可在生存模式中临时使用。
插件
创建用户友好的菜单以前往不同的世界
插件
专为 Velocity 打造的自制聊天插件,功能丰富——支持跨服群组/全局/私聊消息,并集成 LibertyBans 的禁言功能。
插件
一个高度兼容、功能完善且稳定的 TPA 模组
评论 0
登录后参与评分
还没有评论,来抢沙发吧