The number of blocks around spawn that cannot be broken by players except operators. 0 means no protection; on servers with plugins, this is typically how it's set, and protection is applied to regions.
On this page 6 sections
At a glance
Default is 16
-
Line in a file
spawn-protection=16
Spawn protection radius. By default — 16.
| What | Value |
|---|---|
| Key | spawn-protection |
| By default | 16 |
| Type | integer |
| Without restart | can — through the management protocol |
- Stop the server and open server.properties — it's located next to the server JAR file.
- Find the line
spawn-protection=and enter your value. - Save the file and start the server: settings are read at startup.
This setting can be changed without restarting — via the management server protocol (management-server-enabled). To compile the entire file with ready-made sets — in server.properties editor..
What is spawn-protection in server.properties?
The number of blocks around spawn that cannot be broken by players except operators. 0 means no protection; on servers with plugins, this is typically how it's set, and protection is applied to regions.
What is the default value of spawn-protection?
16 — this line is written by the Minecraft server version 26.3.
Does the server need to be restarted after changing spawn-protection?
The server reads a file on startup — fix the line and restart it. This setting can be changed in real time via the management protocol.
- allow-flight
- difficulty
- force-gamemode
- function-permission-level
- gamemode
- hardcore
- op-permission-level
- player-idle-timeout
All server.properties settings server.properties generator
Data from Minecraft 26.3: Launcher manifest from Mojang, version.json inside each client version, and server.properties, which the server itself creates.