How to Change the Spawn Protection of Your Minecraft Server
Spawn protection protects the area surrounding the world spawn point of your Minecraft server. Players without OP permissions cannot place or break blocks within this area. This prevents the area where players spawn from being damaged. In this guide, we explain how to increase, reduce, or completely disable spawn protection on your Minecraft server.
Note The built-in spawn protection is only active in the Overworld and when at least one player has been granted OP permissions. Players with OP permissions can always modify the protected area.
Determine the size of the spawn protection
The value after spawn-protection= determines the radius of the protected area. You can calculate its full width and length using the formula 2 × value + 1.
|
Value |
Protected area |
|---|---|
|
|
Disabled |
|
|
3 × 3 blocks |
|
|
33 × 33 blocks |
|
|
65 × 65 blocks |
|
|
101 × 101 blocks |
On a standard installation, this value is usually set to 16.
Change the spawn protection
- Log in to the game panel and go to your Minecraft server.
- Stop the Minecraft server if it is currently running.
- Open the Files page.
- Open the
server.propertiesfile by clicking its filename. - Find the following line:
spawn-protection=16Tip UseCtrl+Fon Windows and Linux orCmd+Fon macOS to find the setting more quickly.
- Replace the number with the desired radius. For example, use the following value for a protected area of 65 × 65 blocks:
spawn-protection=32- Save the file.
- Start the Minecraft server using the green start button. The updated spawn protection will become active once the server has fully started.
Disable the spawn protection
Would you like players without OP permissions to be able to build and break blocks around the spawn as well? Change the setting to:
spawn-protection=0Save the file and start the Minecraft server again. The built-in spawn protection will then be completely disabled.
Tip Are players still unable to place or break blocks near the spawn after disabling spawn protection? Check whether a plugin or mod is protecting the area. Protection provided by plugins such as WorldGuard is separate from the setting in server.properties.