Back to Minecraft Java
Games· Minecraft Java

How to Enable Spawn Protection on Your Minecraft Java Server

Jesse K.
4 min readUpdated Nov 15, 2026

Learn how to set up and adjust spawn protection on your Minecraft Java server using the RiverHosting panel to keep your spawn area safe from unwanted changes.

Spawn protection is a built-in Minecraft feature that prevents players from breaking or placing blocks in a radius around your world's spawn point. It is useful for keeping a lobby, spawn hub, or decorated spawn area safe from accidental or intentional changes by regular players.

You can adjust the size of the protected area, or turn it off completely, directly from the RiverHosting panel without editing any files manually.

Before you start

  • You need an active Minecraft Java server on RiverHosting.
  • Log in to the RiverHosting panel at panel.riverhosting.com and open your server.
  • Spawn protection only applies to players who are not server operators. Operators can always build anywhere.
What does spawn protection actually protect?

Spawn protection creates a square zone around the world's spawn point. Any player who is not an operator cannot break blocks, place blocks, or interact with the environment inside that zone. The default radius is 16 blocks.

1. How to change the spawn protection radius

The spawn protection radius is controlled by a setting in your server configuration. You can change it from the Properties tab in the RiverHosting panel.

  1. Go to panel.riverhosting.com and open your Minecraft Java server.
  2. In the GAME section of the left-hand menu, click Minecraft: Java, then the Properties tab at the top of the page.
    Minecraft: Java in the GAME section of the menu, then the Properties tab
  3. Look for the setting called Spawn Protection in the World Generation card. It will show a number, which is the current radius in blocks.
    The Spawn Protection setting on the Properties page
  4. Change the number to the radius you want. For example, entering 16 protects a 33x33 block area around the spawn point (16 blocks in each direction). Entering 32 doubles that zone.
  5. Click Save Changes to apply your changes.
    The Save Changes button on the Properties page
  6. Restart your server for the new value to take effect.
Choosing a good radius

If your spawn is a small lobby, a value between 10 and 20 is usually enough. If you have a large custom spawn build, increase the value to cover the full area. You can always come back and adjust it later.

2. How to disable spawn protection completely

If you want all players to be able to build anywhere, including at the spawn point, you can turn spawn protection off by setting the radius to zero.

  1. Open the Properties tab for your server in the RiverHosting panel.
  2. Find the Spawn Protection field.
  3. Set the value to 0.
  4. Click Save Changes.
  5. Restart your server to apply the change.
All players can build at spawn when this is set to 0

With spawn protection disabled, any player on your server can modify blocks at and around the spawn point. If you have a decorated spawn area, consider keeping some protection active or using a plugin to manage build permissions instead.

3. How to check whether spawn protection is working

After saving your changes and restarting, you can verify that spawn protection is active by testing it in-game.

  1. Join your server with an account that does not have operator status.
  2. Walk to the spawn area and try to break a block inside the protected radius.
  3. If spawn protection is active, the block will shake but will not break.
  4. If you want to confirm the exact center, you can use the /spawnpoint command while logged in as an operator to check or update the world spawn location.
Operators bypass spawn protection

If you are testing with an operator account, spawn protection will not stop you. Test with a regular non-operator player account to verify that it is working correctly.

Test with a non-operator account

Operators can always build inside the protected area, so test with a player who is not an operator.

Troubleshooting

  • The value resets after I save it. Make sure your server is fully stopped before saving changes in some cases. Try stopping the server first, updating the value, saving, and then starting it again.
  • Players can still break blocks inside the protected area. Check whether those players have been given operator status. Operators are always exempt from spawn protection. You can manage operator status from the Players tab or via the server console.
  • I cannot find the Spawn Protection field in Properties. It sits in the World Generation card near the top of the page. If the field is missing, try reloading the Properties tab or contact support.
  • Spawn protection does not seem to cover the right area. Spawn protection is centered on the world's spawn point, not your current position. Use the /setworldspawn command as an operator to move the world spawn to the correct location, then verify the radius again.
  • The value keeps resetting. This can happen when the server generates a fresh server.properties file. Set the value again, save and restart. If it still does not stick after several restarts, contact RiverHosting support.
  • The Spawn Protection setting is missing from the Properties tab. Check that your server runs Minecraft Java Edition, not Bedrock.

Need help?

If you are having trouble with spawn protection or anything else on your Minecraft Java server, the RiverHosting support team is happy to help.

Contact RiverHosting Support

Visit riverhosting.com/support to open a support ticket. Include your server name and a description of the issue so the team can assist you as quickly as possible.