What is spawn protection in Minecraft?
Spawn protection is a square area around the world spawn point where players without operator rights can't place or break blocks. It's controlled by the spawn-protection option in server.properties – the default is 16, which means a 33 × 33 block square.
Inside the protected area, a player without OP:
- can't place or break any block – the game reverts the attempt immediately,
- can't right-click blocks: no opening doors, chests, furnaces or crafting tables, no flipping levers and no pressing buttons (pressure plates still work, because you don't click them).
What spawn protection does not stop: PvP, mobs (including creepers blowing up terrain), TNT, and pistons or dispensers placed just outside the area. For those you need a plugin – more on that below.
A few rules worth knowing:
- Dedicated servers only. Singleplayer worlds and "Open to LAN" have no spawn protection.
- Operators are exempt. Any player with OP builds at spawn normally, whatever their permission level.
- No operators, no protection. If the operator list (
ops.json) is empty, the server switches spawn protection off automatically, even withspawn-protection=16. - Java Edition only. A Bedrock server has no
spawn-protectionin itsserver.properties.
How big is the spawn protection area?
The value is a radius in blocks: the protected square has a side length of 2 × value + 1, centred on the world spawn. Height doesn't matter – the protection covers the whole column from the bottom to the top of the world.
spawn-protection |
Protected area | Good for |
|---|---|---|
0 |
none | Protection off |
1 |
3 × 3 blocks | Just the spawn point |
4 |
9 × 9 blocks | A small starting platform |
16 (default) |
33 × 33 blocks | A small spawn |
32 |
65 × 65 blocks | A large spawn plaza |
50 |
101 × 101 blocks | A whole spawn town |
The centre is the world spawn, not wherever someone last respawned (beds and respawn anchors don't affect it). Move it with /setworldspawn: without arguments it sets the spawn where you stand, with coordinates such as /setworldspawn 100 64 -200 it sets it there. The protected area moves with it.
How to change or disable spawn protection
Set spawn-protection in server.properties to a new number – 0 disables it – and restart the server. The server only reads this file on startup.
On your own server:
- Stop the server (a running server can overwrite the file).
- Open
server.propertiesin the server's main folder. - Change the line
spawn-protection=16, for example tospawn-protection=0. - Save the file and start the server.
If the line is missing, add it yourself – in a fresh file it only appears after the first player has joined.
When to use 0: on a server for friends where everyone builds together from the first minute, and always once a plugin like WorldGuard protects your spawn – otherwise the vanilla protection blocks building even where the plugin allows it.
When to keep or raise it: on a public server anyone can join, when there's something at spawn nobody should tear down in their first minute.
Spawn protection on a Spot.gg server
Open "Configuration" → "server.properties", search for spawn, change the spawn-protection field, click "Save changes" and then "Restart now".
- In your server panel, go to "Configuration" and open the "server.properties" tab.
- In the "Search options, e.g. pvp, difficulty, spawn…" field, type
spawn-protection. - Enter a number from
0to32–0turns protection off. - Click "Save changes". The change takes effect after a restart, so use the "Restart now" button.
The panel field accepts values up to 32 (a 65 × 65 area). For a bigger radius, edit the file by hand: in the "Files" tab open server.properties, change the spawn-protection= line, save, and restart the server. For a large spawn, though, WorldGuard (below) is usually the better choice – you protect exactly the buildings that need it instead of a huge square.
Remember the operators: protection only works when the server has at least one OP. Add one in "Console" under "Operators" with "Add an operator", or type op PlayerName in the console (no slash). More commands are in Minecraft server commands.
Cracked servers without a login plugin
If your server lets players in without a Microsoft account and has no login plugin, the panel shows a warning in "Console" that anyone can join under someone else's name. On such a server Spot.gg clears the operator list whenever the operators are offline, so nobody can take over their accounts. The side effect: while no OP is on the operator list, vanilla spawn protection is off too. On a cracked server, protect spawn with WorldGuard or secure the server with a login plugin – see Minecraft cracked servers.
WorldGuard: better spawn protection
WorldGuard protects any number of areas in any shape, works without operators, and lets you control PvP, mobs, explosions, doors and chests separately. Vanilla spawn protection can't: it's always one square and always blocks everything at once.
spawn-protection |
WorldGuard | |
|---|---|---|
| Area shape | Square around the world spawn | Any cuboids and polygons, many regions |
| Who can build | Operators only | Region members, permission groups |
| PvP, mobs, explosions | Not covered | Flags pvp, mob-spawning, tnt, creeper-explosion |
| Doors, buttons, chests | Blocked for everyone without OP | Your choice, e.g. doors yes, chests no |
| No operators on the server | Doesn't work | Works |
| Engine needed | Any Java server | Paper, Purpur or Spigot |
On Spot.gg:
- If your server runs Vanilla, switch to Paper: "Information" → "Profile" → "Modify" → "Change engine" – your world stays.
- In "Addons" → "Available to install", install WorldEdit first, then WorldGuard – each time the version marked "Compatible with your server" – and restart the server.
- In game, select the spawn with the wand (
//wand, left- and right-click opposite corners), stretch the selection to full height (//expand vert) and create the region:
/rg define spawn
/rg flag spawn pvp deny
/rg flag spawn mob-spawning deny
/rg flag spawn use allow
use allow lets everyone open doors and press buttons at spawn while building stays blocked. The full walkthrough is in how to install WorldGuard.
- Set
spawn-protectionto0under "Configuration" → "server.properties" and restart – from now on, only WorldGuard protects spawn.
WorldGuard doesn't run on modded servers (Fabric, Forge, NeoForge). There you keep spawn-protection or use a claims mod such as Open Parties and Claims, which lets admins claim the spawn as server land.
Common spawn protection problems
| Symptom | Cause | Fix |
|---|---|---|
| Players can't build or break blocks near spawn | Default spawn-protection=16 |
Set it to 0 or lower and restart |
| Players can't open doors or chests at spawn | Spawn protection blocks right-clicking blocks | Lower the radius, or use WorldGuard with use allow |
| Protection doesn't work, anyone can grief spawn | No operators on the server | Add at least one OP |
| The new value has no effect | No restart | Restart after saving |
| Protection is in the wrong place | The world spawn isn't at your spawn plaza | /setworldspawn in the middle of the plaza |
| Spawn destroyed despite protection | Creepers, TNT, pistons from outside | WorldGuard with creeper-explosion deny and tnt deny |
Before any big change at spawn, make a copy in "Backup" – if something goes wrong, you can bring the world back.
FAQ
How do I turn off spawn protection in Minecraft?
Set spawn-protection=0 in server.properties and restart the server. On Spot.gg, that's under "Configuration" → "server.properties".
Why can't I break blocks on a Minecraft server?
Usually you're inside spawn protection – by default 16 blocks in every direction from the world spawn. Walk further away, get OP, or ask the admin to lower spawn-protection. If the block is somewhere else, it's usually a region from a plugin like WorldGuard.
What is the default spawn protection radius?
16, which is a 33 × 33 block square around the world spawn, covering the full height of the world.
Does spawn protection apply to operators?
No. Operators build at spawn without limits. But when the server has no operators at all, protection is off for everyone.
Does spawn protection work in the Nether and the End?
Only in the dimension where the world spawn is – normally the Overworld. The Nether and the End have no spawn protection of their own; use WorldGuard there.
Is there spawn protection in Minecraft Bedrock?
No. A Bedrock server has no spawn-protection option in its server.properties – this guide is for Minecraft Java.