The first grief on a server almost always hits spawn. WorldGuard locks a chosen area against breaking, turns off PvP and mobs there, and lets in only the people you pick. It needs WorldEdit, because it takes the selection from it.
Installation and requirements
WorldGuard is a plugin and runs on Paper, Purpur and Spigot. It needs WorldEdit or FastAsyncWorldEdit to work.
- Install WorldEdit from Plugins.
- Install WorldGuard the same way, in the version that matches your game version.
- Restart the server. The configuration appears in
plugins/WorldGuard/, and the regions of each world inworlds/WORLD_NAME/regions.yml.
There is no WorldGuard on Fabric, Forge or NeoForge. On modded servers, land protection is handled by claim mods, for example FTB Chunks. If you want players to protect their own bases, GriefPrevention is often more convenient on Paper. WorldGuard is an admin tool for protecting specific places.
Protecting spawn step by step
- Take the wand with
//wandand select two opposite corners of the spawn. - Stretch the selection over the full height of the world:
//expand vert. Without this, someone can dig in under the spawn or build above it. - Create the region:
/rg define spawn. - Set the flags:
/rg flag spawn pvp deny
/rg flag spawn mob-spawning deny
/rg flag spawn tnt deny
/rg flag spawn creeper-explosion deny
/rg flag spawn greeting Welcome to spawn
Just creating the region already blocks placing and breaking blocks for everyone who is not a member. Operators and people with the permission to bypass protection can still build. To check how a regular player sees the spawn, type /rg bypass, which toggles region bypass for you.
spawn-protection in server.properties. With WorldGuard, set it to 0 so you do not mix two mechanisms, because vanilla blocks the whole square around spawn for everyone without OP.The most useful flags
| Flag | What it blocks or allows |
|---|---|
build | placing and breaking blocks |
pvp | fighting between players |
mob-spawning | mobs spawning |
use, chest-access | doors, buttons, levers and chests |
tnt, creeper-explosion | explosions |
fire-spread, lava-flow | fire and lava spreading |
entry, exit | entering and leaving the region |
greeting, farewell | message on entering and leaving |
You remove a flag by typing it without a value, for example /rg flag spawn pvp. Settings for the whole world live in the special region __global__: /rg flag __global__ tnt deny turns off TNT everywhere.
Members, owners and overlapping regions
/rg addmember spawn Namelets a player build in the region./rg addowner spawn Namealso lets them manage the region./rg info spawnshows the flags and members,/rg listall regions in the world, and/rg remove namedeletes a region.
When regions overlap, priority decides. Example: there is a shop at spawn where players should be able to open chests. Create a shop region inside the spawn, give it the chest-access allow flag and a higher priority: /rg setpriority shop 10.
Regions are stored in files, so they end up in every backup together with the world.
The plugin installer, file manager and backups come with every plan on our Minecraft server hosting.
FAQ
No. WorldGuard needs WorldEdit or FastAsyncWorldEdit installed, because it takes the area selection from it.
No, it is a plugin only for Paper, Purpur and Spigot. On modded servers, land protection is done with claim mods, for example FTB Chunks.
Select the spawn with the WorldEdit wand, create a region with /rg define spawn and type /rg flag spawn pvp deny.
Operators and players with the permission to bypass protection are not blocked. /rg bypass toggles that bypass, so you can check the region the way a player sees it.
Set the flag in the world's global region: /rg flag __global__ tnt deny. Each world has its own __global__ region.
Your own Minecraft server
Plans from 3.79 € a month, set up in a few minutes and managed from one panel.

