Skip to content

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? ​

  1. Connect to your server via SFTP and open the file server.properties.

  2. Search for the following entry:

spawn-protection=16
spawn-protection=16
  1. Change the value as desired.

  2. Save the changes and restart the server.

ValueDescription
0Spawn protection disabled (all players can build at spawn)
16Default setting (16 block radius)

Note

A value of 0 is recommended if you use plugins like WorldGuard for area protection.