RegionGuard is a NeoForge server protection mod inspired by WorldGuard that allows server owners to create protected regions and control what players, mobs, Pixelmon, and blocks can do inside those areas. Regions are created using WorldEdit selections and then configured with flags, making it easy to protect spawns, towns, or any other important areas on your server.
Features
- Create protected regions using WorldEdit selections (
//wand, //pos1, //pos2)
- Simple region management commands like
/rg define, /rg remove, /rg info, and /rg list
- Flexible flag system to control building, interactions, mob spawning, explosions, fire, fluids, and more
- Region owners and members that can bypass protections and can be added even while players are offline
- Greeting and farewell messages when entering or leaving regions, with
& color code support
- Customizable locale file so all mod text can be edited (
config/RegionGuard/locale.json)
- Pixelmon integration, allowing separate control of wild Pixelmon spawning, movement, and player-owned Pixelmon usage
- Modded block support, including containers and machines from other mods
- Whitelist and blacklist interaction control for specific blocks such as Pixelmon healers, PCs, or modded chests
- Container protection system that works with vanilla and modded storage blocks
- Optimized region checks to minimize server performance impact
Useful flag examples include: build, entry, interact, chest-access, mob-spawning, fire-spread, tnt, creeper-explosion, pixelmon-spawn, pixelmon-entry, and pixelmon-player
Example commands
/rg define spawn
/rg flag spawn build deny
/rg flag spawn greeting &aWelcome to Spawn!
/rg addmember spawn PlayerName
/rg flag spawn list
Permissions:
- `regionguard.command` - access to `/rg` commands.
- `regionguard.command.define` - define regions.
- `regionguard.command.redefine` - redefine regions.
- `regionguard.command.remove` - remove regions.
- `regionguard.command.list` - list regions.
- `regionguard.command.info` - inspect region info.
- `regionguard.command.flag` - set, clear, and list flags.
- `regionguard.command.members` - add/remove owners and members.
- `regionguard.bypass.build` - bypass build-related protections.
- `regionguard.bypass.interact` - bypass interaction protections.
- `regionguard.bypass.entry` - bypass entry protections.
- `regionguard.bypass.pvp` - bypass PvP protections.
- `regionguard.bypass.mob-spawning` - bypass mob-spawning protections.
- `regionguard.bypass.mob-entry` - reserved for mob-entry protections.
Known Issues:
- Issues with modded blocks sometimes allowing players to use one half, but not the other.
- After a server restart, sometimes there are issues with the region flags working properly.
- Occasional Java errors in console when attempting to use some blocks inside region protection.
I am actively looking into issues, and will be resolving them as soon as possible. Please comment any issues!