Protect Your Spawn with WorldGuard and WorldEdit
Select an area, create a region and block building, PvP or explosions around spawn.
December 5, 20264 min read
Install
WorldGuard needs WorldEdit. Add both jars to plugins and restart.
Select the area
//wandLeft click one corner with the axe, right click the opposite one, then stretch the selection from bedrock to the sky:
//expand vertCreate the region
/rg define spawn
/rg flag spawn pvp deny
/rg flag spawn creeper-explosion denyPeople who are not members of a region cannot build in it. Add your builders with /rg addmember spawn Name.
Test with a normal account
Operators bypass protection. Remove your operator rights, or ask a friend, to check the result.