RealRegions
基于 GUI 的世界与区域管理插件
通过菜单创建、加载和管理世界,并使用区域和标志保护其中的区域。
Discord | 源代码 | 报告 Bug
RealRegions 是什么?
RealRegions 管理服务器中的世界及其内部区域。你可以从菜单或命令中创建、导入、加载、卸载、重置和删除世界。使用 WorldEdit 选择一块区域,将其转换为区域,并通过点击切换其 标志(如禁止破坏方块、PvP、饥饿、进入限制、聊天、命令等)。每个世界都有一个覆盖整个世界的 全局 区域。
功能
- 世界管理:创建、导入、加载、卸载、注销、重置和删除世界
- 世界类型:普通、平坦、下界、末地和虚空
- 定时世界:每隔设定的秒数自动重置
- 长方体区域:基于你的 WorldEdit 选择生成,以及每个世界的一个 全局 区域
- 24 种区域标志:可在区域菜单中或通过
/rr flag 点击切换
- 权限绕过任何标志:按世界和区域设置。右键点击标志可复制其权限节点
- 区域优先级:当区域重叠时,应用优先级最高的区域
- 阻止所有或部分命令:在区域内执行
- 进入提示:玩家进入区域时显示标题和操作栏消息
- 粒子效果显示区域边界
- 浏览世界的 实体和玩家 并传送至他们身边
- 加入时传送:支持按世界、世界出生点和游戏规则的命令配置
- 位于服务器文件夹但未注册的世界会出现在菜单中,准备导入
- 1.21.6+ 版本支持 原生对话框,用于输入文本、确认和编辑
config.yml(旧版本使用聊天窗口)
- RealMines 集成:为每个矿脉创建一个区域并保持同步
- RealPermissions 集成:管理员和绕过权限列在 RealPermissions 中
- 支持 PlaceholderAPI
- 支持控制台命令
- 完全可配置的 YAML 配置文件和语言文件
区域标志
每个标志针对特定区域设置,可通过区域菜单(/rr flags <region@world>)或命令 /rr flag <region@world> <flag> <true|false> 进行设置。区域命名格式为 region@world,例如 spawn@world。
绕过权限遵循以下模式:
realregions.<world>.<region>.<flag>.bypass
例如,realregions.world.spawn.block-break.bypass 允许玩家在 world 的 spawn 区域中破坏方块。操作员(OP)默认绕过所有标志。
所有标志及其绕过权限
| 标志 |
默认值 |
控制内容 |
绕过 (<flag> 部分) |
block_break |
开启 |
玩家可以破坏方块 |
block-break |
block_place |
开启 |
玩家可以放置方块 |
block-place |
block_interact |
开启 |
玩家可以与方块交互 |
block-interactions |
container_interact |
开启 |
玩家可以打开箱子、 barrels、漏斗、投掷器、发射器、末影箱和潜影盒 |
container-interactions |
access_crafting |
开启 |
玩家可以使用合成台 |
access-crafting-tables |
access_chests |
开启 |
玩家可以打开箱子 |
access-chests |
access_hoppers |
开启 |
玩家可以打开漏斗 |
access-hoppers |
pvp |
开启 |
玩家可以伤害其他玩家 |
pvp (针对攻击者) |
pve |
开启 |
玩家可以伤害生物 |
pve (针对攻击者) |
take_damage |
开启 |
玩家受到伤害 |
take-damage |
hunger |
开启 |
玩家会感到饥饿 |
hunger |
item_drop |
开启 |
玩家可以丢弃物品 |
item-drop |
item_pickup |
开启 |
玩家可以拾取物品 |
item-pickup |
item_pickup_only_owner |
关闭 |
只有丢弃物品的玩家才能拾取它 |
item-pickup |
enter |
开启 |
玩家可以步行或传送进入该区域 |
enter |
no_chat |
关闭 |
玩家不能聊天 |
no-chat |
no_consumables |
关闭 |
玩家不能吃或喝 |
no-consumables |
block_commands |
关闭 |
阻止通过 /rr blockcommands 设置的命令,或阻止所有命令 |
block-commands |
disabled_nether_portal |
关闭 |
玩家不能使用下界传送门 |
disabled-nether-portal |
disabled_end_portal |
关闭 |
玩家不能使用末地传送门 |
enter |
explosions |
开启 |
爆炸会发生 |
无 |
entity_spawning |
开启 |
生物生成 |
无 |
no_fire_spreading |
关闭 |
火和蘑菇不会蔓延 |
无 |
leaf_decay |
关闭 |
树叶会衰变 |
无 |
默认值是新建区域的值。方块交互、容器、合成台、箱子和漏斗的绕过权限是联合检查的:满足其中任何一个即可通过所有五项限制。
阻止命令
- 选择要阻止的命令:
/rr bc spawn@world tp home。使用 /rr bc spawn@world all 阻止所有命令。
- 开启标志:
/rr flag spawn@world block_commands true,或在区域菜单中点击“Block Commands”。
运行 /rr bc <region@world> 且不带任何命令,或在区域菜单中 Shift+点击 Block Commands,以打开列表。在那里你可以添加命令、点击移除某条命令、清空列表或切换标志。1.21.6+ 版本使用对话框,旧版本使用箱子菜单。
截图




入门指南
- 运行
/rr 打开世界菜单。首次启动时,你现有的世界会自动注册。
- 左键点击某个世界以打开其区域列表;右键点击可传送至该世界;中键点击可更改其图标。
- 使用 WorldEdit 选择器工具选取一个区域,然后运行
/rr create <name>。
- 在列表中左键点击某个区域以打开其标志(flags)设置;左键点击某个标志可切换其状态,右键点击可复制其绕过权限。
- 在列表中右键点击某个区域以显示其边界;Shift+左键点击可更改其图标,Shift+右键点击可重命名它,按 Q 键可删除它。
命令
基础命令:/realregions、/rr。除非另有说明,所有命令都需要 realregions.admin 权限。区域的表示方式为 region@world。世界类型包括:NORMAL(普通)、FLAT(平坦)、NETHER(下界)、THE_END(末地)、VOID(虚空)。
| 命令 |
描述 |
/rr |
对管理员打开世界菜单;对其他玩家显示插件信息(无需权限) |
/rr reload |
重新加载配置文件、语言文件和世界文件 |
/rr settings |
通过对话框编辑 config.yml(1.21.6+) |
/rr worlds(或 menu) |
打开世界菜单;在控制台中列出世界列表 |
世界命令
| 命令 |
描述 |
/rr createworld <name> <type>(或 cw) |
创建一个世界并传送至该世界 |
/rr createtimedworld <name> <type> <seconds>(或 ctw) |
创建一个每隔指定秒数自动重置的世界 |
/rr import <world> <type> |
注册服务器上已存在的世界文件夹 |
/rr load <world> |
加载一个世界 |
/rr unload <world> |
卸载一个世界 |
/rr unregister <world> |
从 RealRegions 中移除一个世界,但不删除其文件 |
/rr reset <world> |
删除该世界并重新生成 |
/rr deletew <world>(或 delw) |
删除一个世界及其相关文件 |
/rr regions <world>(或 world、r) |
打开包含该世界区域的菜单 |
/rr tp <world> |
传送至某个世界(需要 realregions.admin 或 realregions.tpworld.<world> 权限) |
/rr tpo <world> <player> |
将另一名玩家传送至某个世界 |
/rr setworldspawn [world](或 sws、setspawn) |
将你站立的位置设置为世界出生点 |
/rr toggle-tpjoin <world> |
切换玩家加入或进入该世界时是否传送至世界出生点 |
/rr setgamerule <world> <gamerule> <value>(或 sgr) |
设置游戏规则 |
/rr entities <world>(或 ents) |
打开某世界内的实体列表,点击任意实体即可传送至其位置 |
/rr players <world>(或 plrs) |
打开某世界内的玩家列表 |
主世界(world 和 world_*)无法被卸载或删除。
区域命令
| 命令 |
描述 |
/rr create <name>(或 c) |
根据你的 WorldEdit 选区创建一个区域 |
/rr flags <region@world>(或 region) |
打开该区域的标志设置菜单 |
/rr flag <region@world> <flag> [true|false](或 f) |
设置某个标志的值;若未提供值,则显示其当前值 |
/rr blockcommands <region@world> [all | command...](或 bc) |
设置由 block_commands 标志所拦截的命令 |
/rr setbounds <region@world>(或 sb) |
将区域范围设置为你当前的 WorldEdit 选区 |
/rr rename <region@world> <new name>(或 rn) |
更改区域的显示名称 |
/rr tpr <region@world> |
传送至某个区域 |
/rr view <region@world> |
显示或隐藏区域的边界 |
/rr toggle-enter-title <region@world>(或 toggle-title) |
切换玩家进入该区域时是否显示标题 |
/rr toggle-enter-actionbar <region@world>(或 toggle-actionbar) |
切换玩家进入该区域时是否在动作栏显示消息 |
/rr delete <region@world>(或 del) |
删除一个区域 |
权限
| 权限 |
描述 |
realregions.admin |
访问所有命令和菜单 |
realregions.tpworld.<world> |
可使用 /rr tp 传送至指定世界 |
realregions.<world>.<region>.<flag>.bypass |
忽略指定区域中某个标志的限制(参见上方的区域标志) |
占位符
需要 PlaceholderAPI。
| 占位符 |
值 |
%realregions_total_regions% |
区域总数 |
%realregions_total_created_regions% |
立方体区域的数量 |
%realregions_total_global_regions% |
全局区域的数量 |
%realregions_current_region_name% |
玩家所在区域的名称 |
%realregions_current_region_displayname% |
玩家所在区域的显示名称 |
依赖要求
安装步骤
- 安装 WorldEdit 或 FastAsyncWorldEdit。
- 将插件 jar 文件放入你的
plugins 文件夹。
- 重启服务器。
- 编辑
plugins/RealRegions/config.yml,然后运行 /rr reload。
需要帮助或发现了 Bug?
请不要在评论区提交 Bug 报告。请通过以下渠道联系我们:
Discord | GitHub Issues
本插件使用 bStats 收集匿名使用统计数据。你可以在 plugins/bStats/config.yml 中关闭此功能。
RealRegions
GUI based World and Region Management Plugin
Create, load and manage worlds, and protect areas of them with regions and flags, all from a menu.
Discord | Source Code | Report a Bug
What is RealRegions?
RealRegions manages your server's worlds and the regions inside them. Create, import, load, unload, reset and delete worlds from a menu or with commands. Select an area with WorldEdit, turn it into a region, and switch its flags on and off by clicking: block breaking, PvP, hunger, entering, chat, commands and more. Every world also has a Global region that covers all of it.
Features
- World management: create, import, load, unload, unregister, reset and delete worlds
- World types: normal, flat, nether, the end and void
- Timed worlds that reset themselves every set number of seconds
- Cuboid regions from your WorldEdit selection, plus a Global region for each world
- 24 region flags, toggled by clicking in the region menu or with
/rr flag
- Bypass any flag with a permission, per world and per region. Right-click a flag to copy its permission.
- Region priority: where regions overlap, the one with the highest priority applies
- Block all commands, or only some, inside a region
- Enter titles and action bar messages when a player walks into a region
- Region boundary display with particles
- Browse the entities and players of a world and teleport to them
- Teleport on join per world, world spawn and gamerules from commands
- Worlds that are in the server folder but not registered show up in the menu, ready to import
- On 1.21.6+, native dialogs for typed input, confirmations and editing
config.yml (uses chat on older versions)
- RealMines integration: a region is created for every mine and kept in sync
- RealPermissions integration: the admin and bypass permissions are listed in RealPermissions
- PlaceholderAPI support
- Console commands supported
- Fully configurable YAML config and language files
Region Flags
Each flag is set per region, from the region menu (/rr flags <region@world>) or with /rr flag <region@world> <flag> <true|false>. Regions are named region@world, e.g. spawn@world.
Bypass permissions follow this pattern:
realregions.<world>.<region>.<flag>.bypass
For example, realregions.world.spawn.block-break.bypass lets a player break blocks in the spawn region of world. Operators bypass every flag.
All flags and their bypass permissions
| Flag |
Default |
What it controls |
Bypass (<flag> part) |
block_break |
on |
Players can break blocks |
block-break |
block_place |
on |
Players can place blocks |
block-place |
block_interact |
on |
Players can interact with blocks |
block-interactions |
container_interact |
on |
Players can open chests, barrels, hoppers, droppers, dispensers, ender chests and shulker boxes |
container-interactions |
access_crafting |
on |
Players can use crafting tables |
access-crafting-tables |
access_chests |
on |
Players can open chests |
access-chests |
access_hoppers |
on |
Players can open hoppers |
access-hoppers |
pvp |
on |
Players can hurt other players |
pvp (for the attacker) |
pve |
on |
Players can hurt mobs |
pve (for the attacker) |
take_damage |
on |
Players take damage |
take-damage |
hunger |
on |
Players get hungry |
hunger |
item_drop |
on |
Players can drop items |
item-drop |
item_pickup |
on |
Players can pick up items |
item-pickup |
item_pickup_only_owner |
off |
Only the player who dropped an item can pick it up |
item-pickup |
enter |
on |
Players can walk or teleport into the region |
enter |
no_chat |
off |
Players can't chat |
no-chat |
no_consumables |
off |
Players can't eat or drink |
no-consumables |
block_commands |
off |
Blocks the commands set with /rr blockcommands, or all of them |
block-commands |
disabled_nether_portal |
off |
Players can't use nether portals |
disabled-nether-portal |
disabled_end_portal |
off |
Players can't use end portals |
enter |
explosions |
on |
Explosions happen |
None |
entity_spawning |
on |
Mobs spawn |
None |
no_fire_spreading |
off |
Fire and mushrooms don't spread |
None |
leaf_decay |
off |
Leaves decay |
None |
The default is the value for a new region. The block interaction, container, crafting table, chest and hopper bypasses are checked together: any one of them lets the player past all five.
Blocking commands
- Choose which commands to block:
/rr bc spawn@world tp home. Use /rr bc spawn@world all to block every command.
- Turn the flag on:
/rr flag spawn@world block_commands true, or click Block Commands in the region menu.
Run /rr bc <region@world> with no commands, or shift-click Block Commands in the region menu, to open the list. There you can add commands, click one to remove it, clear the list or toggle the flag. It's a dialog on 1.21.6+ and a chest menu on older versions.
Photos




Getting Started
- Run
/rr to open the worlds menu. Your existing worlds are registered on the first start.
- Left-click a world to open its regions. Right-click it to teleport there, middle-click to change its icon.
- Select an area with the WorldEdit wand, then run
/rr create <name>.
- Left-click the region in the list to open its flags. Left-click a flag to toggle it, right-click it to copy its bypass permission.
- Right-click a region in the list to show its boundaries. Shift-left-click changes its icon, shift-right-click renames it, and Q deletes it.
Commands
Base commands: /realregions, /rr. All commands need realregions.admin unless noted. Regions are written as region@world. World types: NORMAL, FLAT, NETHER, THE_END, VOID.
| Command |
Description |
/rr |
Opens the worlds menu for admins, shows the plugin information for everyone else (no permission) |
/rr reload |
Reloads the config, language and world files |
/rr settings |
Edits config.yml in a dialog (1.21.6+) |
/rr worlds (or menu) |
Opens the worlds menu; lists the worlds in the console |
World commands
| Command |
Description |
/rr createworld <name> <type> (or cw) |
Creates a world and teleports you there |
/rr createtimedworld <name> <type> <seconds> (or ctw) |
Creates a world that resets itself every set number of seconds |
/rr import <world> <type> |
Registers a world folder that is already on the server |
/rr load <world> |
Loads a world |
/rr unload <world> |
Unloads a world |
/rr unregister <world> |
Removes a world from RealRegions without deleting its files |
/rr reset <world> |
Deletes the world and generates it again |
/rr deletew <world> (or delw) |
Deletes a world and its files |
/rr regions <world> (or world, r) |
Opens the world's menu with its regions |
/rr tp <world> |
Teleports you to a world (realregions.admin or realregions.tpworld.<world>) |
/rr tpo <world> <player> |
Teleports another player to a world |
/rr setworldspawn [world] (or sws, setspawn) |
Sets the world spawn where you stand |
/rr toggle-tpjoin <world> |
Toggles teleporting players to the world spawn when they join or enter the world |
/rr setgamerule <world> <gamerule> <value> (or sgr) |
Sets a gamerule |
/rr entities <world> (or ents) |
Opens the entities of a world, click one to teleport to it |
/rr players <world> (or plrs) |
Opens the players of a world |
The main worlds (world and world_*) can't be unloaded or deleted.
Region commands
| Command |
Description |
/rr create <name> (or c) |
Creates a region from your WorldEdit selection |
/rr flags <region@world> (or region) |
Opens the region's flags menu |
/rr flag <region@world> <flag> [true|false] (or f) |
Sets a flag, or shows its value when no value is given |
/rr blockcommands <region@world> [all | command...] (or bc) |
Sets the commands the block_commands flag blocks |
/rr setbounds <region@world> (or sb) |
Sets the region's area to your WorldEdit selection |
/rr rename <region@world> <new name> (or rn) |
Changes the region's display name |
/rr tpr <region@world> |
Teleports you to a region |
/rr view <region@world> |
Shows or hides the region's boundaries |
/rr toggle-enter-title <region@world> (or toggle-title) |
Toggles a title when a player enters the region |
/rr toggle-enter-actionbar <region@world> (or toggle-actionbar) |
Toggles an action bar message when a player enters the region |
/rr delete <region@world> (or del) |
Deletes a region |
Permissions
| Permission |
Description |
realregions.admin |
Access to every command and menu |
realregions.tpworld.<world> |
Can use /rr tp to that world |
realregions.<world>.<region>.<flag>.bypass |
Ignores one flag in one region (see Region Flags above) |
Placeholders
Requires PlaceholderAPI.
| Placeholder |
Value |
%realregions_total_regions% |
Number of regions |
%realregions_total_created_regions% |
Number of cuboid regions |
%realregions_total_global_regions% |
Number of Global regions |
%realregions_current_region_name% |
Name of the region the player is in |
%realregions_current_region_displayname% |
Display name of the region the player is in |
Requirements
Installation
- Install WorldEdit or FastAsyncWorldEdit.
- Put the jar in your
plugins folder.
- Restart the server.
- Edit
plugins/RealRegions/config.yml and run /rr reload.
Need help or found a bug?
Please don't use the comments for bug reports. Get in touch through:
Discord | GitHub Issues
This plugin uses bStats to collect anonymous usage statistics. You can turn this off in plugins/bStats/config.yml.
评论 0
登录后参与评分
还没有评论,来抢沙发吧