Skip to content

Examples

Ghost edited this page Nov 15, 2026 · 1 revision

πŸ§ͺ Example Region Setups

These are starting recipes, not guarantees of complete protection against every mod, item or automation mechanism. Test with a non-operator account.

🏠 Spawn protection

Create a WorldEdit cuboid selection around spawn, then:

/rg define spawn
/rg flag spawn block-break deny
/rg flag spawn block-place deny
/rg flag spawn pvp deny
/rg flag spawn mob-spawning deny
/rg flag spawn greeting Welcome to Spawn!
/rg list spawn

You may also want to configure use, interact, chest-access or other flags depending on how players should interact with spawn.

βš”οΈ PvP arena

/rg define arena
/rg flag arena pvp allow
/rg flag arena mob-spawning deny
/rg flag arena block-break deny
/rg flag arena block-place deny
/rg setpriority arena 20

If the arena is inside a globally PvP-denied world, test the overlap and priority behavior. Consider inventory and equipment rules enforced by other server systems.

🏘️ Town with trusted builders

/rg define town
/rg addmember town BuilderName
/rg flag town block-break deny
/rg flag town block-place deny
/rg flag town greeting Welcome to Town!
/rg info town

Membership and protection flags interact: test whether the trusted member can perform your intended actions before publishing the area.

πŸ”’ Staff-only area

/rg define staff_area
/rg addmember staff_area StaffMember
/rg flag staff_area -g nonmembers entry deny
/rg flag staff_area entry-deny-message Staff access only.
/rg list staff_area

Ensure that staff have a safe route out and that operators can recover players who become stuck.

🌱 Preserve a garden

/rg define garden
/rg flag garden block-trampling deny
/rg flag garden crop-growth allow
/rg flag garden pvp deny

For decorative gardens, consider related growth flags from the full Flag-Reference.

🌍 World-wide PvP setting

To deny PvP throughout the current dimension:

/rg flag __global__ pvp deny
/rg list __global__

Create smaller PvP regions with pvp allow and review overlap priority. See Region-Priority-and-Parents.

βœ… Validation checklist

  • Region boundaries and heights are correct.
  • A normal player is blocked only where intended.
  • Members/owners have the intended access.
  • Entry/exit, teleportation and dimension changes behave correctly.
  • Mods, WorldEdit and automation do not unexpectedly bypass restrictions.

Clone this wiki locally