WorldRulesManage 插件概览
WorldRulesManage 是一款专业的世界规则管理插件。它允许你在特定世界中自由配置玩家行为(例如:阻止方块破坏、方块触发、方块交互等)和世界行为(例如:阻止火焰蔓延、液体流动等)。你还可以使用坐标定义基于半径的规则,以限制特定区域内的玩家或世界操作。
适用场景: 服务器大厅、出生点保护以及受控的世界区域。
English README.md
中文简体 CN-README.md
? 插件功能
- 支持全局和基于半径的世界规则:防止火焰蔓延、防止树叶腐烂、防止方块引燃(非玩家)、防止实体破坏方块,并阻止液体流动(如熔岩和水)。
- 支持全局和基于半径的玩家规则:自定义权限控制、防止方块引燃、阻止方块破坏、阻止方块放置、阻止物品拾取/丢弃、阻止桶的使用(例如收集水)、饥饿系统、
自动将饥饿值恢复至满、防止玩家受到伤害、阻止所有传送门访问(覆盖下界/末地)、阻止下界传送门、阻止末地传送门、阻止特定物品使用(由你配置)、
阻止与特定实体/方块的交互、阻止特定方块的触发。
- 半径规则形状(适用于世界和玩家):2D 圆形(忽略 Y 轴)、3D 球形(包含 Y 轴)、2D 方形(忽略 Y 轴)、3D 立方体(包含 Y 轴),支持自定义原点坐标和半径值。
- 支持黑名单/白名单配置
- 支持多世界
- 支持配置文件自动热重载
⚙️ WorldRulesManage 配置指南
config.yml
world.yml
radius.yml
message.yml
✅ worldName: <world> # 世界名称(例如 world)
✅ globalRules: # 应用于世界的规则,不受玩家权限影响
flameSpread: true # 防止火焰蔓延
leavesDecay: true # 防止树叶腐烂
blockIgnite: true # 防止方块被引燃
entityBlockBreak: true # 防止实体破坏方块
liquidFlow: true # 防止液体流动
✅ playerRules: # 应用于无对应权限玩家的规则
permission: "wm.world" # 权限节点
blockIgnite: true # 防止玩家引燃方块
blockBreak: true # 防止玩家破坏方块
blockPlace: true # 防止玩家放置方块
itemPickup: false # 防止玩家拾取物品
itemDrop: false # 防止玩家丢弃物品
usePail: true # 防止玩家使用桶(例如收集水)
food: true # 防止饥饿(即保持饱食度不变)
foodSatiety: true # 将饥饿值恢复至满
playerDamage: true # 防止玩家受到伤害
portalAll: false # 阻止所有传送门访问(覆盖 portalNether 和 portalEnder)
portalNether: false # 阻止下界传送门访问
portalEnder: false # 阻止末地传送门访问
?playerUseItem: # 阻止物品使用
type: BLACKLIST / WHITELIST
list:
- "EGG" # 鸡蛋
- "FLINT_AND_STEEL" # 打火石
?PlayerInteractEntity: # 阻止实体交互
type: BLACKLIST / WHITELIST
list:
- "ITEM_FRAME" # 物品展示框
- "PAINTING" # 画
- "ARMOR_STAND" # 盔甲架
?PlayerInteractBlock: # 阻止方块交互
type: BLACKLIST / WHITELIST
list:
- "LEVER" # 拉杆
- "FURNACE" # 熔炉
?️PlayerTriggerBlock: # 阻止方块触发
type: BLACKLIST / WHITELIST
list:
- "SOIL" # 耕地
- "TRIPWIRE" # 绊线
此选项仅在 radius.yml 中生效
✅settingsRadius:
type: 2DRange, 3DRange, 2DCube, 3DCube
xyz: # 起始坐标(例如 0 0 0)
radius: # 半径(以方块为单位)
? 大小写敏感性警告
⚠️ 重要提示: 所有配置键名均区分大小写。错误的大小写可能导致错误或设置被忽略。
? 推荐实践
- 当在半径边缘附近使用 TNT 时,爆炸可能会影响到保护区外紧邻的方块。为避免这种情况,建议在边缘安全起见将半径扩大 7 个方块。
- 删除或注释掉未使用的配置部分,以保持配置文件的整洁和可读性。
WorldRulesManage Plugin Overview
WorldRulesManage is a professional plugin for managing world rules. It allows you to freely configure player behavior (e.g., blocking block breaking, block triggering, block interaction, etc.) and world behaviors (e.g., blocking fire spread, liquid flow, etc.) in specific worlds. You can also define radius-based rules using coordinates to restrict player or world actions within a certain area.
Use cases: Server lobbies, spawn protection, and controlled world zones.
English README.md
中文简体 CN-README.md
? Plugin Features
- Supports global and radius-based world rules: prevent fire spread, prevent leaf decay, prevent block ignition (non-player), prevent entity block destruction, and block liquid flow (e.g., lava and water).
- Supports global and radius-based player rules: custom permission control, prevent block ignition, block breaking, block placing, item pickup/drop, bucket usage (e.g., collect water), hunger,
auto-restore hunger to full, prevent player damage, block all portals (overrides Nether/End), block Nether portal, block End portal, block specific item usage (configured by you),
block interaction with specific entities/blocks, block triggering of specific blocks.
- Radius rule shapes (for world and player): 2D Circle (ignores Y), 3D Sphere (includes Y), 2D Square (ignores Y), 3D Cube (includes Y), custom origin and radius values.
- Supports blacklist/whitelist configuration
- Supports multiple worlds
- Supports auto-hot-reload of configuration files
⚙️ WorldRulesManage Configuration Guide
config.yml
world.yml
radius.yml
message.yml
✅ worldName: <world> # Name of the world (e.g., world)
✅ globalRules: # Rules applied to the world, regardless of player permissions
flameSpread: true # Prevent fire from spreading
leavesDecay: true # Prevent leaf decay
blockIgnite: true # Prevent block ignition
entityBlockBreak: true # Prevent entities from breaking blocks
liquidFlow: true # Prevent liquid flow
✅ playerRules: # Rules applied to players without permission
permission: "wm.world" # Permission node
blockIgnite: true # Prevent players from igniting blocks
blockBreak: true # Prevent players from breaking blocks
blockPlace: true # Prevent players from placing blocks
itemPickup: false # Prevent players from picking up items
itemDrop: false # Prevent players from dropping items
usePail: true # Prevent players from using buckets (e.g., to collect water)
food: true # Prevent hunger
foodSatiety: true # Restore hunger to full
playerDamage: true # Prevent player damage
portalAll: false # Prevent all portal access (overrides portalNether and portalEnder)
portalNether: false # Prevent Nether portal access
portalEnder: false # Prevent End portal access
?playerUseItem: # Block item usage
type: BLACKLIST / WHITELIST
list:
- "EGG" # Egg
- "FLINT_AND_STEEL" # Flint and Steel
?PlayerInteractEntity: # Block entity interaction
type: BLACKLIST / WHITELIST
list:
- "ITEM_FRAME" # Item Frame
- "PAINTING" # Painting
- "ARMOR_STAND" # Armor Stand
?PlayerInteractBlock: # Block block interaction
type: BLACKLIST / WHITELIST
list:
- "LEVER" # Lever
- "FURNACE" # Furnace
?️PlayerTriggerBlock: # Block block triggering
type: BLACKLIST / WHITELIST
list:
- "SOIL" # Farmland
- "TRIPWIRE" # Tripwire
This option only takes effect in radius.yml
✅settingsRadius:
type: 2DRange, 3DRange, 2DCube, 3DCube
xyz: # Starting coordinates (e.g., 0 0 0)
radius: # Radius in blocks
? Case Sensitivity Warning
⚠️ Important: All configuration keys are case-sensitive. Misuse of uppercase/lowercase may result in errors or ignored settings.
? Recommended Practices
- When using TNT near the radius edge, explosions may affect blocks just outside the protected area. To avoid this, expand the radius by 7 blocks for edge safety.
- Remove or comment out unused configuration sections to keep your setup clean and readable.
评论 0
登录后参与评分
还没有评论,来抢沙发吧