WorldEditRegions - 将 WorldEdit 的使用限制在特定区域内。
支持:[WorldGuard, Towny, Factions, GriefPrevention, Residence, PreciousStones, Regios]
源代码:GitHub
概述
安装此插件后,您可以将 WorldEdit 的使用限制或限制在用户拥有权限的区域(例如 WorldGuard 区域)内。
| 支持长方体和多边形选择 |
| 几乎可以限制所有 WorldEdit 命令 |
| 支持方块粘贴、笔刷和方块复制 |
| 超出区域范围的选择将被裁剪 |
| 添加可选的用户控制 WorldGuard 区域管理功能 |
如果您希望此插件与您使用的其他插件或区域管理工具集成,请私信我。
即将推出:
- Factions 多区块掩码
- Factions 荒野支持
- WGCustomFlags "worldedit-region" 标志(可选)
- 改进的 全局 掩码支持
依赖项
支持
限制
- 本插件不支持重叠区域
- 仅长方体区域可用。
权限
| 权限 | 描述 |
| wrg.notify | 当您没有 WorldEdit 区域时给予提示 |
| wrg.notify.greeting | 当您进入 WorldEdit 区域时给予提示 |
| wrg.notify.farewell | 当您离开 WorldEdit 区域时给予提示 |
| wrg.factions | 允许在其所属派系拥有的土地上使用 WorldEdit |
| wrg.worldguard | 允许在其拥有的 WorldGuard 区域中使用 WorldEdit |
| wrg.worldguard.member | 允许在其为成员的 WorldGuard 区域中使用 WorldEdit |
| wrg.preciousstones | 允许在其拥有的 Precious Stones 土地上使用 WorldEdit |
| wrg.preciousstones.member | 允许在其为成员的 Precious Stones 土地上使用 WorldEdit |
| wrg.residence | 允许在其拥有的 Residence 土地上使用 WorldEdit |
| wrg.residence.member | 允许在其为成员的 Residence 土地上使用 WorldEdit |
| wrg.towny | 允许在其拥有的 Towny 土地上使用 WorldEdit |
| wrg.towny.member | 允许在其为成员的 Towny 土地上使用 WorldEdit |
| wrg.regios | 允许在其拥有的 Regios 土地上使用 WorldEdit |
| wrg.regios.member | 允许在其为成员的 Regios 土地上使用 WorldEdit |
| wrg.griefprevention | 允许在其拥有的 Grief Prevention 土地上使用 WorldEdit |
| wrg.griefprevention.member | 允许在其为成员的 Grief Prevention 土地上使用 WorldEdit |
| wrg.copy.bypass | 允许复制其区域之外的任何内容 |
| wrg.bypass | 允许在任何地方使用 WorldEdit |
外部权限
要使用 WorldEdit,您仍然需要 WorldEdit 的权限。
以下是来自 WorldEdit 和 WorldGuard 的一些权限
WORLDEDIT
- worldedit.wand
- worldedit.history.undo
- worldedit.history.redo
- worldedit.selection.pos
- worldedit.selection.hpos
- worldedit.region.set
- worldedit.region.replace
- worldedit.region.walls
- 点击此处查看完整列表
WORLDGUARD
- worldguard.region.define - 用于创建区域
- 点击此处查看完整列表
不安全权限
以下 WE 权限不受此插件的安全限制保护
- worldedit.reload
- worldedit.scripting.execute
- worldedit.snapshots.restore
- worldedit.delchunks
- worldedit.clipboard.save
- worldedit.schematic.save
- worldedit.global-mask
命令
以下命令是可选的,如果您对此不感兴趣,只需忽略插件的这一部分即可。
它们基本上允许自助式区域创建,这样玩家可以使用 WorldGuard 保护自己的土地,前提是不与其他任何区域重叠。您还可以设置玩家可创建的区域数量上限。
| 命令 | 描述 | 权限 |
| /wrg create <player> | 为玩家创建一个区域 | worldguard.region.define |
| /wrg create | 认领一片未认领的土地 | worldguard.region.define.own |
| /wrg trust <player> | 将一名玩家添加到你的区域中 | worldguard.region.addmember.own.* |
| /wrg share <player> | 将一名玩家添加为所有者 | worldguard.region.addowner.own.* |
| /wrg untrust <player> | 从你的区域中移除一名玩家 | worldguard.region.removemember.own.* |
| /wrg <flag> <value> | 为你的区域添加一个标志(Flag) | worldguard.region.flag.regions.own.<flag> |
| /wrg remove | 删除你的区域 | worldguard.region.remove.own.* |
配置说明
让 WorldEdit 在独立线程上运行
- AsyncWorldedit
- 请勿使用 SAFEEDIT(它会破坏包括本插件在内的各种插件)
帮助玩家自行认领土地
- 使用命令 /wrg claim - 权限:worldguard.region.define.own
- 在配置文件中设置最大认领面积(1024 = 32x32)
帮助设置方块编辑限制
- 使用 WorldEdit 配置文件中的 "limits.max-blocks-changed"
帮助使用玩家物品栏
- 使用 WorldEdit 配置文件中的 "use-inventory.enabled"
帮助配置消息内容
- 下一个版本将在 english.yml 文件中包含字符串
帮助为命令添加冷却时间
- 可以尝试 boosCooldowns
帮助为每个玩家设置多个区域。
- 在本插件的配置文件中更改 "max-region-count-per-player"
帮助将 EVERYONE(所有人)添加到区域
- 只需将用户 "*" 添加到区域即可
帮助为特定命令添加费用
- 如果你安装了 Essentials,你可以在配置中添加命令费用。
- 想要减少由 WorldEdit 引起的卡顿:AsyncWorldedit
- 想要自定义标志,可以尝试 WorldGuard Custom Flags
- 想要命令冷却时间:boosCooldowns
- 想要记录并回滚 WorldEdit 操作:CoreProtect
WorldEdit 5
如果你仍在使用 WorldEdit 5,请使用此处附带的文件。
WorldEditRegions - Limit WorldEdit to regions.
Supports: [WorldGuard, Towny, Factions, GriefPrevention, Residence, PreciousStones, Regios]
Source code: GitHub
OVERVIEW
With this plugin installed, you are able to restrict or limit the use of WorldEdit to regions a user has permission for (e.g. WorldGuard region).
| Works with cuboid and polygonal selections |
| Almost every worldedit command can be restricted |
| Supports block pasting, brushes, and block copying |
| Selections extending outside the region will be cut off |
| Adds optional user controlled WorldGuard region management |
If you would like this plugin to hook into your plugin or a regioning tool, PM me.
Coming soon:
- Factions multi chunk masks
- Factions wilderness support
- WGCustomFlags "worldedit-region" flag (optional)
- improved global mask support
REQUIRES
SUPPORTS
LIMITATIONS
- This plugin does not support overlapping regions
- Only cuboid regions will work.
PERMISSIONS
| Permission | Description |
| wrg.notify | Will tell you if you have no WorldEdit Region |
| wrg.notify.greeting | Will tell you if you enter a WorldEdit Region |
| wrg.notify.farewell | Will tell you if you leave a WorldEdit Region |
| wrg.factions | Allows worldedit in land their faction owns |
| wrg.worldguard | Allows worldedit in worldguard regions they own |
| wrg.worldguard.member | Allows worldedit in worldguard regions they are a member of |
| wrg.preciousstones | Allows worldedit in preciousstones land they own |
| wrg.preciousstones.member | Allows worldedit in preciousstones land they are a member of |
| wrg.residence | Allows worldedit in residenceland they own |
| wrg.residence.member | Allows worldedit in residenceland they are a member of |
| wrg.towny | Allows worldedit in towny land they own |
| wrg.towny.member | Allows worldedit in towny land they are a member of |
| wrg.regios | Allows worldedit in regios land they own |
| wrg.regios.member | Allows worldedit in regios land they are a member of |
| wrg.griefprevention | Allows worldedit in griefprevention land they own |
| wrg.griefprevention.member | Allows worldedit in griefprevention land they are a member of |
| wrg.copy.bypass | Allows you to copy anything outside your region |
| wrg.bypass | Allows worldedit anywhere |
EXTERNAL PERMISSIONS
In order to WorldEdit, you still need the WorldEdit permissions.
Here are some permissions from WorldEdit and WorldGuard
WORLDEDIT
- worldedit.wand
- worldedit.history.undo
- worldedit.history.redo
- worldedit.selection.pos
- worldedit.selection.hpos
- worldedit.region.set
- worldedit.region.replace
- worldedit.region.walls
- Click here for full list
WORLDGUARD
- worldguard.region.define - to create a region
- Click here for a full list
UNSAFE PERMISSIONS
The following WE permissions are not not safely restricted by this plugin
- worldedit.reload
- worldedit.scripting.execute
- worldedit.snapshots.restore
- worldedit.delchunks
- worldedit.clipboard.save
- worldedit.schematic.save
- worldedit.global-mask
COMMANDS
The following commands are optional, if you are not interested in them, simply ignore this part of the plugin.
They basically allow for self serve region creation, so players can protect their own land with WorldGuard, providing it does not overlap with any other region. You can also set a limit on how many regions a player can create.
| Command | Description | Perm |
| /wrg create <player> | Creates a region for a player | worldguard.region.define |
| /wrg create | Claim some unclaimed land | worldguard.region.define.own |
| /wrg trust <player> | Add a player to your region | worldguard.region.addmember.own.* |
| /wrg share <player> | Add a player as an owner | worldguard.region.addowner.own.* |
| /wrg untrust <player> | remove a player from your region | worldguard.region.removemember.own.* |
| /wrg <flag> <value> | Add a flag to your region | worldguard.region.flag.regions.own.<flag> |
| /wrg remove | Delete your region | worldguard.region.remove.own.* |
CONFIGURATION
Have WorldEdit run on a separate thread
- AsyncWorldedit
- DO NOT USE SAFEEDIT (it breaks various plugins including this)
Help letting players claim land for themselves
- Use the command /wrg claim - PERM: worldguard.region.define.own
- Set in the config the max claim area (1024 = 32x32)
Help setting block edit limit
- Use the worldedit config "limits.max-blocks-changed"
Help using players inventory
- Use the worldedit config "use-inventory.enabled"
Help with configuring messages
- The next version will have strings in the english.yml file
Help with adding a cooldown to commands
- Maybe try out boosCooldowns
Help setting up multiple regions per player.
- In this plugin's config change "max-region-count-per-player"
Help adding EVERYONE to a region
- simply add the user "*" to the region
Help adding a cost for certain commands
- If you have essentials, you can add a command cost in the config.
- Want to reduce lag caused by WorldEdit: AsyncWorldedit
- Want custom flags, maybe try out WorldGuard Custom Flags
- Want command cooldowns: boosCooldowns
- Want to log and rollback worldedit: CoreProtect
| Want to support the project? |
WorldEdit 5
If you still use WorldEdit 5, please use the file attached here.
评论 0
登录后参与评分
还没有评论,来抢沙发吧