To protect builds on a Minecraft server, install a protection plugin on Paper or Purpur: GriefPrevention lets each player claim their own land with a golden shovel, and WorldGuard lets you lock areas like spawn with regions. Pair either one with a whitelist and regular backups and griefing stops being a worry.
Vanilla Minecraft only has one built-in protection setting, so plugins do the heavy lifting. This guide covers which plugin fits your server, how to set each one up and the commands your players will use every day.
Your options to protect builds on a Minecraft server
| Tool | Who protects | Best for |
|---|---|---|
spawn-protection (vanilla) | The server, around spawn only | A small protected spawn square |
| GriefPrevention | Each player claims their own land | Survival worlds and SMPs |
| WorldGuard (needs WorldEdit) | Admins define regions | Spawn, shops, arenas, event areas |
| Whitelist | Admins choose who can join | Private servers for friends |
| Backups | Admins | Undoing damage that already happened |
Most friend groups and SMPs are well served by GriefPrevention alone, because players handle their own claims and admins rarely step in. Servers with a designed spawn, shops or minigame areas usually add WorldGuard for those spots. Both are Bukkit plugins, so they run on Paper, Purpur and Spigot, not on Fabric or Forge.
The vanilla setting: spawn-protection
In server.properties, spawn-protection sets a square around the world spawn where regular players cannot place or break blocks. According to the Minecraft Wiki the default is 16, the side of the square is 2×value+1 (33 blocks with the default), 0 turns it off, and it is disabled automatically when the server has no operators. It only covers spawn, so it is a start, not a solution.
spawn-protection=16Set up GriefPrevention land claims
GriefPrevention is the low-maintenance option. Its documentation lists what a claim blocks: building and breaking, opening containers, using buttons and levers, sleeping in beds, piston pushes, TNT and creeper damage, stealing water and luring animals away. New players even get an automatic claim around their first chest, so they are protected before they learn how claiming works. Claim size grows with time played, which keeps people from claiming the whole map on day one.
- Make sure your server runs Paper or Purpur. On TheGameHosting you can switch from the Version tab.
- Install GriefPrevention from the Plugins tab, or download
GriefPrevention.jarfrom its official GitHub releases and upload it to thepluginsfolder in Files. - Restart the server from the Console tab so the plugin loads and creates its config.
- In game, hold a golden shovel and right-click two opposite corners of the area you want to claim.
- Give friends access with
/trust Name(build),/containertrust Name(chests and animals) or/accesstrust Name(doors, buttons and beds). - Check who has access with
/trustlistwhile standing in the claim.
/trust Steve
/containertrust Alex
/accesstrust Notch
/trustlist
/untrust SteveOther commands worth knowing: /abandonclaim deletes the claim you are standing in, /claimslist shows your claims and remaining claim blocks, and /subdivideclaims lets a town owner split a big claim into plots. For admins, /adminclaims switches the shovel to make server-owned claims, and /deleteclaim removes a claim you are standing in even if it belongs to someone else.
Lock spawn and shared areas with WorldGuard
WorldGuard protects areas you, the admin, define. It needs WorldEdit to select the area, so install both. A new region blocks building for everyone who is not a member or owner, and you can fine-tune it with flags such as pvp or build.
- Install WorldEdit and WorldGuard (from the Plugins tab or as jars in
plugins) and restart. - In game, type
//wandto get the selection tool, a wooden axe by default. - Left-click one corner of the area and right-click the opposite corner.
- Type
//expand vertso the selection goes from bedrock to the sky. - Create the region with
/rg define spawn. - Add builders with
/rg addmember spawn Nameand set rules like/rg flag spawn pvp deny.
//wand
//expand vert
/rg define spawn
/rg addmember spawn Steve
/rg flag spawn pvp denyIf WorldEdit is new to you, our guide on installing WorldEdit on a server covers the wand and the basic commands.
Extra layers that stop griefing
- Whitelist. The simplest anti-grief tool is not letting strangers in. See how to set up a Minecraft server whitelist.
- Online mode. With
online-mode=truenobody can join using your name, which is the easiest way to bypass every plugin above. - Few operators. OPs bypass most protections. Give OP to people you trust, not to everyone who asks.
- Creepers and endermen. GriefPrevention stops explosions inside claims; for the rest of the world the
mobGriefinggame rule is covered in how to disable mob griefing. - Backups. If something gets destroyed before you set protection up, a backup is the way back.
Protect your server on TheGameHosting
With TheGameHosting the whole setup happens in the panel: switch to Paper or Purpur in Version, add GriefPrevention, WorldEdit or WorldGuard from Plugins, edit server.properties in Files and create restore points in Backups before big changes. Users lets you add trusted moderators to the panel with only the permissions they need, so you do not hand out your password. Your server is ready about 60 seconds after payment and runs 24/7 without your PC.
Servers run on AMD Ryzen 9950X and 7950X3D processors with DDR5 memory and NVMe storage, with DDoS protection included and locations in Dallas and Amsterdam. Plans start at $1.90 a month for 2 GB, with unlimited slots and no setup fee, and support answers 24/7 by chat and tickets. Have a look at our Minecraft server hosting or go straight to plans and pricing, and use the code FULL2026 for 15% off for life.
FAQ
What is the best anti-grief plugin for a Minecraft server?
On survival worlds where players build their own bases, GriefPrevention is the easiest because players claim their own land. For admin-defined areas like spawn or shops, WorldGuard is the usual choice. Many servers use both.
Does GriefPrevention work on Fabric or Forge?
No. GriefPrevention is a Bukkit plugin, so it runs on Paper, Purpur, Spigot and CraftBukkit. Modded servers need a protection mod made for that loader.
Why can operators still break blocks in protected areas?
Operators bypass vanilla spawn protection, and many plugins give OPs bypass permissions. Test protection with a regular account, not an OP account.
Can I protect builds without plugins?
Only partly. Vanilla has spawn-protection for the spawn area and the whitelist to control who joins. Anything beyond spawn needs a plugin like GriefPrevention or WorldGuard.
Hosting for these games
Minecraft server hostingPaper, Purpur and Plugin Installer
Minecraft Bedrock server hostingFor phone and console players
Written by TheGameHosting Team, the people who run our servers in Dallas and Amsterdam and answer your tickets.
All posts
TheGameHosting Team