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 allto 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
/rrto 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
- Java 16+
- WorldEdit or FastAsyncWorldEdit
- Optional: PlaceholderAPI, RealMines, RealPermissions
Installation
- Install WorldEdit or FastAsyncWorldEdit.
- Put the jar in your
pluginsfolder. - Restart the server.
- Edit
plugins/RealRegions/config.ymland run/rr reload.
Need help or found a bug?
Please don't use the comments for bug reports. Get in touch through:
This plugin uses bStats to collect anonymous usage statistics. You can turn this off in plugins/bStats/config.yml.
Similar projects
Plugin →VeinMiner
Mine the whole vein on mining a single ore/block. Make the tedious mining experience to something satisfying and fun! FTB Ultimine alternative
99.3MSueta
Simple Voice Chat
A working voice chat in Minecraft!
76.8MSueta
Chunky
Pre-generates chunks, quickly and efficiently
18.4MSueta
VeinMiner Enchantment
Veinminer Addon - Adds vineminer enchantment to enchanting tables. Only tools with the enchantment can veinmine
18MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
WorldEdit
A Minecraft Map Editor... that runs in-game! With selections, schematics, copy and paste, brushes, and scripting. Use it in creative, or use it temporarily in survival.
11.6MSueta