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 via SFTP
    Connect to your server via SFTP and open the file server.properties.

  2. Find the entry
    Search for the following entry:

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

  2. Restart the server
    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.