Restricted Areas
Restricted Areas lets server operators temporarily lock locations behind visible red force fields. It is designed for SMP builds, event locations, story areas and structures that players should only access at the raight moment.
Features
- Select a rectangular area with two right-clicks using the Barrier Selection Wand.
- Red translucent walls remain solid below the selected height and fade upward.
- Protection extends vertically without a bypass above or below the visible effect.
- Floating padlock, area name and optional legend in the center of each region.
- Open, close and remove regions without rebuilding the selection.
- Regions and their states persist after server restarts.
- Supports multiple protected regions and dimensions.
- Only operators can create or manage barriers.
Protection
While a barrier is closed, regular players cannot enter through walking, flight, mounts, ender pearls, chorus fruit, portals or normal teleportation.
Players found inside a closed region are automatically returned to a safe position.
Closed regions also block:
- Block breaking and placement
- Block and entity interactions
- Attacks and projectiles
- Explosions
- Pistons
- Fluid changes affecting protected blocks
Operators and players in Creative or Spectator mode can cross the boundary.
Commands
All commands require operator permission level 2.
/barrier wand
/barrier create <name>
/barrier create <name> | <optional legend>
/barrier legend <name> <legend>
/barrier open <name>
/barrier close <name>
/barrier remove <name>
/barrier list
/barrier info <name>
Names containing spaces must be quoted when used with /barrier legend.
Example:
/barrier create Ancient Castle | Opens during the final event
/barrier legend "Ancient Castle" New event location
/barrier open Ancient Castle
Installation
- Install Minecraft Forge for Minecraft 1.20.1.
- Place the mod JAR in the
modsfolder on the server and every connecting client. - Start the server and use
/barrier wandas an operator.
No additional mod dependencies are required.
Compatibility
- Minecraft: 1.20.1
- Loader: Forge
- Minimum Forge version: 47.4.27
- Environment: Client and server
Teleportation added by third-party mods may require dedicated compatibility support.