Logiciels
How to Protect Spawn and Builds With WorldGuard
WorldGuard protects areas so only the people you choose can build there. It needs WorldEdit to select the area.
Install WorldGuard and WorldEdit
- Your world needs Paper or Purpur (Village or Kingdom). Check the Software page.
- Open Mods and pick the Plugins tab.
- Search for WorldGuard and WorldEdit, or paste its Modrinth or CurseForge link, and add it.
- Click Apply to server. The server restarts once to download it, which takes about 1 to 2 minutes.
- Commands below are typed in game as an operator, or in Console without the leading slash.
Protect an area
- Select the area with
//wand(left and right click the corners). - Run
//expand vertto cover the full height. - Run
/rg define spawnto create a region called spawn. - Add builders with
/rg addmember spawn Name.
Useful flags
/rg flag spawn pvp deny/rg flag spawn mob-spawning deny/rg flag spawn tnt deny
Good to know
Operators can build everywhere, so test with a normal account. For player-made claims instead of admin regions, see GriefPrevention.
Plugins run on Village and Kingdom with Paper or Purpur. Compare plans on the plans page.