How to Change the Spawn Protection on a Minecraft Java Server
What is spawn protection?
Spawn protection prevents players without OP rights from breaking or placing blocks in the area around the world spawn point. The value specifies the radius in blocks around the spawn point.
How do I change the spawn protection?
Connect via SFTP
Connect to your server via SFTP and open the fileserver.properties.Find the entry
Search for the following entry:
spawn-protection=16spawn-protection=16Change the value
Change the value as desired.Restart the server
Save the changes and restart the server.
| Value | Description |
|---|---|
0 | Spawn protection disabled (all players can build at spawn) |
16 | Default setting (16 block radius) |
Note
A value of 0 is recommended if you use plugins like WorldGuard for area protection.