Offer Why us? How it works?
Guide

Minecraft Spawn Protection: How to Change or Disable spawn-protection

On many servers, new players can't place or break a single block near where they first appear – and can't open doors or chests there either. That's not a bug, it's spawn protection: the spawn-protection option in server.properties. This guide explains exactly what area it covers, how to shrink, enlarge or turn it off, why it sometimes doesn't work at all, and what to use instead when your server has a real spawn town.

Updated: 7 min read
Table of contents
  1. What is spawn protection in Minecraft?
  2. How big is the spawn protection area?
  3. How to change or disable spawn protection
  4. Spawn protection on a Spot.gg server
  5. Cracked servers without a login plugin
  6. WorldGuard: better spawn protection
  7. Common spawn protection problems
  8. FAQ
  9. How do I turn off spawn protection in Minecraft?
  10. Why can't I break blocks on a Minecraft server?
  11. What is the default spawn protection radius?
  12. Does spawn protection apply to operators?
  13. Does spawn protection work in the Nether and the End?
  14. Is there spawn protection in Minecraft Bedrock?

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 with spawn-protection=16.
  • Java Edition only. A Bedrock server has no spawn-protection in its server.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:

  1. Stop the server (a running server can overwrite the file).
  2. Open server.properties in the server's main folder.
  3. Change the line spawn-protection=16, for example to spawn-protection=0.
  4. 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".

  1. In your server panel, go to "Configuration" and open the "server.properties" tab.
  2. In the "Search options, e.g. pvp, difficulty, spawn…" field, type spawn-protection.
  3. Enter a number from 0 to 32 – 0 turns protection off.
  4. 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:

  1. If your server runs Vanilla, switch to Paper: "Information" → "Profile" → "Modify" → "Change engine" – your world stays.
  2. In "Addons" → "Available to install", install WorldEdit first, then WorldGuard – each time the version marked "Compatible with your server" – and restart the server.
  3. 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.

  1. Set spawn-protection to 0 under "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.

Other guides

How to Install Paper or Spigot on a Minecraft Server Switch your Minecraft server to Paper, Purpur or Spigot without losing the world: Change engine, where plugins go, Spigot via BuildTools and specific Paper builds. 9 min read How to OP Someone in Minecraft: /op, ops.json and Permission Levels How to op someone on a Minecraft Java server: the op and deop commands, granting OP in the panel, the ops.json file, op-permission-level 1–4 and why OP disappears on offline-mode servers. 9 min read How to Install WorldGuard: Regions, Flags and Commands Install WorldGuard and WorldEdit, protect spawn with //wand and /rg define, set flags like pvp, build and mob-spawning, add members and use priorities. Plus GriefPrevention. 11 min read How to Merge Minecraft Resource Packs for a Server Combine several Minecraft resource packs into one pack for your server: manually or with tools, override order, merging JSON files and the pack.mcmeta format for 26.3. 10 min read How to Install Minecraft Mods: Fabric, Forge, NeoForge and Modpacks How to install Minecraft mods step by step: Fabric, Forge and NeoForge, the mods folder, CurseForge and Modrinth, modpacks and mods on a server. 9 min read How to Use WorldEdit: Install It and Learn the Basic Commands WorldEdit on a Minecraft server: install the plugin or mod, then build with //wand, //set, //replace, //copy, //paste, //undo and schematics. Commands with examples. 10 min read