The /setworldspawn command
Set the world's default spawn — where new players and the compass point.
What it does
/setworldspawn sets the shared spawn for the whole world. New players start here, and it’s where anyone without a personal spawnpoint respawns — perfect for putting the lobby of a map right where you want it.
Syntax
setworldspawn [x y z] - x y z
- The world spawn position. Omit to use the runner’s current spot.
Examples
setworldspawn Set world spawn to where you’re standing.
setworldspawn 0 70 0 Pin world spawn to exact coordinates.
See it in action
Before and after running /setworldspawn — in MiniBench's 3D preview and in Minecraft.
Command run
setworldspawn
Before
After
Not affiliated with Mojang or Microsoft. Minecraft is a trademark of Mojang Synergies AB.
Watch out for
- · This affects everyone. For one player’s checkpoint, use /spawnpoint.
- · The in-game compass points to the world spawn.
- · Needs cheats enabled.
Write it in MiniBench with autocomplete and live validation, then run it in Minecraft.