@harry_gg
Minecraft Nov 30, 2026

Setting a permanent world spawn on my minecraft server

Running a small server for friends. New players keep spawning out in the middle of nowhere instead of at our hub. Tried a bed but that only fixes it for me. Which command sets it for everyone, and does it survive a restart?
1

Leave A Reply

Log in to post an answer.

1 Answer

kiranr Dec 02, 2026
harry_gg
Stand on the exact block at your hub and run /setworldspawn, as op or from console. That becomes the spawn for everyone without a bed or respawn anchor, and it's saved with the world, so a restart doesn't touch it. What catches people is that new players still get scattered a few blocks around that point, because of the spawn radius gamerule. Set it to 0 and they land on the spot. That rule was renamed in recent versions, so type /gamerule and let tab complete find it.