How to set spawn protection in minecraft server
Jessica Burns
Published Mar 25, 2026

Go to your server on our Web App. Click settings in the server navigation bar. Click world on the left menu. Change spawn protection to your desired value – …
There are other answers below:
Locate the server.properties file and click on the “Edit” option on its right. Locate the option called spawn-protection and change the value to the number of blocks you would like to be protected (e.g. spawn-protection=20 ). Changing the value to 0 ( spawn-protection=0) will completely disable the spawn protection.
Spawn protection does not apply in singleplayer. The spawn-protection field in server.properties determines the side length of the square spawn protection area as 2x+1. Setting this to 0 or a negative value disables the spawn protection. A value of 1 protects a 3×3 square centered on the spawn point, 2 protects 5×5, 3 protects 7×7, etc. The area that it protects is (spawn …
Click “Configuration Files”. Click “Configuration Editor” next to server.properties file. Identify the option called spawn-protection and change the value to the number of blocks you would like to be protected. For example: spawn-protection=20. Changing the value to 0 will completely disable the spawn protection.
Spawn protection sets a radius to stop building and mining around spawn. To change this, go to the server.properties file where you will find spawn-protection=0 . If you’re playing a custom map, or don’t want players to do that for one reason or another, then consider enabling this option and customizing the radius to your preferences.
open up your server. open up your server properties. you should see this spawn-protection=10. change those numbers to a higher number so for example if my spawn is about 90 wide 90 length you do spawn-protection=90. or if yours are just like 87 wide 64 length just add it up than set that numbers next to spawn-protect=.
You can use a program like NBTEdit or NBTExplorer (or NEINedit if on a Mac) to open your level.dat file inside your world folder. Then change the values for SpawnX, SpawnY, and SpawnZ to the coordinates you’d like for your new spawn. Note that moving the spawn will also move the protected block radius, so keep that in mind.
Command: /spawnpoint. This command sets an individual player’s spawn point. This may not be available to players depending on how permissions are set up. Using this command with a player name will set the current location of the command issuer as that specified player’s spawn point. Example: /spawnpoint Steve
Use CTRL + F to locate a setting. spawn-protection= Determines the length of spawn protection on your server from the spawn point. The minimum value is 0 and the maximum is 16. Setting it to 0 will disable it completely. max-tick-time= The maximum number of milliseconds a single tick may take before the server watchdog stops the server.
Set a default limit for region size or claim limit protection for each player or group using permissions. Automatic backups, and save. Even if your server crashes, people will retain their protections.
Related Questions
How do I disable spawn protection on a Minecraft server?
Locate the server.properties file and click on the “Edit” option on its right. Locate the option called spawn-protection and change the value to the number of blocks you would like to be protected (e.g. spawn-protection=20). Changing the value to 0 (spawn-protection=0) will completely disable the spawn protection.
What is the use of spawn-protection?
spawn-protection= Determines the length of spawn protection on your server from the spawn point. The minimum value is 0 and the maximum is 16. Setting it to 0 will disable it completely.
How to set spawn point in Minecraft server?
A lot of servers, through the use of mods or plugins, have a /spawn command which allows a player to teleport back to the world’s spawn point. Command: /setworldspawn. This command will set a Minecraft world’s spawn point to the current location of the player who issued the command. This must be used in-game and can only be done by a server …
How much area does spawn protection protect?
A value of 1 protects a 3×3 square centered on the spawn point, 2 protects 5×5, 3 protects 7×7, etc. The area that it protects is (spawn-protectionx2 + 1)x (spawn-protectionx2 + 1). ? Added spawn protection. The radius is always 16 (protecting a 33×33 area).