CoreX Hosting

Protect areas with WorldGuard

How do I protect spawn from griefing?

Install WorldEdit and WorldGuard, select the area with the wand, and create a region with flags.

Before you start: WorldEdit and WorldGuard installed; op on yourself.

Step by step

  1. Give yourself the wand: //wand (a wooden axe).
  2. Left-click one corner and right-click the opposite corner of the area.
  3. Include full height if you like: //expand vert.
  4. Create the region: /rg define spawn.
  5. Set flags: /rg flag spawn pvp deny, /rg flag spawn build deny (members and ops can still build if you add them: /rg addmember spawn Steve).
  6. Check it with /rg info spawn, then test with a non-op account (or ask a friend) that blocks cannot be broken.
  7. Protect the whole world by default with /rg flag __global__ build deny if you only want building in claimed areas.

Check it worked: Normal players cannot break blocks in the region.

Why it happens: Regions stop players building, breaking or fighting in marked areas.

More guides on Plugins, mods, and modpacks: