The world spawn is where new players appear, and where players without a bed or respawn anchor go when they die.
/setworldspawn as an op.setworldspawn <x> <y> <z>, for example setworldspawn 0 70 0.Players don't appear exactly on spawn? In Vanilla, players are spread out over a small area around spawn. A game rule controls how far (spawnRadius on older releases and minecraft:respawn_radius since 1.21.11; use gamerule to check your version). Set it to 0 to spawn everyone on the exact block. On Paper, plugins like EssentialsX add a /setspawn command that sends players to an exact point and direction.
Spawn protection stops non-ops from breaking or placing blocks near spawn. It's set by spawn-protection in server.properties.
| Value | Protected area |
|---|---|
16 (default) | A 33 × 33 block square around spawn |
0 | Turned off |
| Any number n | A square (2 × n + 1) blocks wide |
spawn-protection=0 and use WorldGuard or a land claim plugin. They give you full control over what players can do in an area.See Mojang's game-rule rename list for the newer command name.