Skip to main content
← All Guides
Server Setup

How to Set Up a Server Spawn in Minecraft

A clean spawn is the first thing players see. Pin it to one safe spot with /setworldspawnthen wrap it in a no-grief radius using spawn-protection in server.properties.

This guide sets a fixed spawn point, forces every player onto the same block, and locks the area so new players cannot dig it apart.

server.properties  ·  console
# server.properties
spawn-protection=16← 16-block no-grief zone
spawn-monsters=true
gamemode=survival
[Server] Setting spawn point at world origin
> /setworldspawn 128 64 -240
[Server] Set the world spawn point to (128, 64, -240)
Steve joined the game
[Steve] spawned at 128, 64, -240 (within protected radius)
How spawn and protection fit together

Two settings work together. /setworldspawn writes the spawn coordinates into level.dat, and spawn-protection in server.properties draws a protected square around them. The protected radius is measured in blocks from the spawn point, so a value of 16 covers a 33x33 area.

By default players spawn somewhere inside a small random radius. To force a single exact block, set /gamerule spawnRadius 0. Combine that with a flat lit platform and spawn-protection, and every newcomer lands on the same square with no risk of falling or griefing.

Remember that operators bypass spawn-protection entirely, so test the result from a normal (non-op) account before you call it done.

Quick answers

+What does /setworldspawn do?
It sets the global world spawn for the overworld. New players and players without a bed or respawn anchor will appear here.
+How is spawn-protection different from setworldspawn?
setworldspawn sets the location. spawn-protection sets a radius around that location where non-operators cannot place or break blocks.
+How do I make everyone spawn on the exact same block?
Run /gamerule spawnRadius 0. With a radius of 0, players spawn on the precise world spawn block instead of scattered nearby.
+Why can operators still build in the protected zone?
spawn-protection only blocks non-operators. Anyone with op (permission level 2+) bypasses it, which is intended for admins.
+Does spawn-protection stop mob griefing or TNT?
No. It only restricts player block edits. Use /gamerule mobGriefing false and keep TNT off near spawn to stop the rest.
+Can I turn spawn protection off?
Yes. Set spawn-protection=0 in server.properties and restart. This removes the protected radius entirely while keeping the spawn point.
Hosting
Managed Hosting
Skip the setup: a managed server online in minutes.
Database
Command Reference
Syntax, arguments and examples for every command.
Database
Item Database
Every item with its stats, IDs, recipes and uses.
Guides
More Server & Admin guides
Run a server: setup, hosting, permissions, worlds and crossplay.