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
- Give yourself the wand: //wand (a wooden axe).
- Left-click one corner and right-click the opposite corner of the area.
- Include full height if you like: //expand vert.
- Create the region: /rg define spawn.
- 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).
- Check it with /rg info spawn, then test with a non-op account (or ask a friend) that blocks cannot be broken.
- 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: