Protecting Land and Defining Regions with WorldGuard and WorldEdit | NodeFlux.eu Docs

Use WorldEdit selections and WorldGuard region flags to prevent griefing, disable PvP, and restrict build access.

Steps

  1. Upload WorldEdit and WorldGuard plugin JARs into plugins/ directory and restart the server.
  2. Use WorldEdit wand (//wand) or commands //pos1 and //pos2 to select opposite corners of a land area.
  3. Expand selection from bedrock to sky: //expand vert.
  4. Define protected region with WorldGuard: /rg define <region_name>.
  5. Set region flags: /rg flag <regionname> pvp deny, /rg flag <regionname> mob-spawning deny, /rg flag <region_name> chest-access allow.
  6. Assign region ownership to players using /rg addowner <region_name> <player>.
  7. Test region protection with a non-operator account to verify blocks cannot be broken.

Notes