/setworldspawn
Set the shared spawn point new players appear at.
Overview
What is the /setworldspawn command?
The /setworldspawn command sets the global spawn point of the world โ where brand-new players appear and where the compass points. You can use your current position or exact coordinates.
It's different from /spawnpoint, which sets where individual players respawn; setworldspawn moves the world's shared anchor.
When to use it: Use /setworldspawn to move the world's main spawn for new players, the compass and respawns without a global bed.
At a glance
Syntax
/setworldspawn [x] [y] [z]See it
What it does
Anatomy
Every part, explained
- 1
CommandRequired/setworldspawnSets the world's global spawn point.
- 2
CoordinatesOptional[x] [y] [z]Where spawn goes. Defaults to here.
Your turn
Try it yourself
Copy & paste
Examples
/setworldspawn 0 64 0Set spawn to exact coordinates.
/setworldspawn ~ ~ ~Set spawn where you're standing.
/setworldspawnUse your current position as spawn.
Avoid these
Common mistakes
/setworldspawn @s 0 64 0/setworldspawn 0 64 0World spawn takes no target - just coords.
/spawnpoint 0 64 0/setworldspawn 0 64 0/spawnpoint is per-player; this sets the world's.
Good to know
Frequently asked questions
- How do you set the world spawn?
- Run /setworldspawn to use your current spot, or /setworldspawn <x> <y> <z> for exact coordinates.
- Does /setworldspawn change where I respawn?
- Only if you don't have a personal spawn point or bed set. Personal spawn points (and /spawnpoint) take priority.
- Where does the compass point after using it?
- A standard compass always points to the world spawn, so it updates to the new location you set.
Keep going