WorldJavaBedrock
/setworldspawn
Sets the default spawn for the whole world — where new players appear and where players without a personal spawnpoint respawn. Distinct from /spawnpoint, which sets an individual player's respawn location.
Syntax
Parameters
- posoptional
- coords
- Spawn position (defaults to executor's location).
- angleoptional
- float
- Facing yaw on respawn.
Examples
Set the world spawn to where you're standing.
Set the world spawn to (0, 64, 0).
Permission level
/setworldspawn requires Cheats (op level 2). In single-player you need the world's "Allow Cheats" toggle on. On a multiplayer server you need to be opped — see /op.