/setworldspawn
Sets the global world spawn point. New players and players without a personal spawn point will respawn here.
Syntax
/setworldspawn [<pos>] [<angle>]Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| pos | block_pos | Optional | The coordinates for the world spawn. Defaults to the executor's position. |
| angle | angle | Optional | The angle players will face when spawning at the world spawn. |
Examples
/setworldspawn 0 64 0Sets the world spawn to coordinates 0, 64, 0.
/setworldspawn ~ ~ ~ 180Sets the world spawn to your position, facing south on spawn.
/setworldspawnSets the world spawn to your current location.
Common Mistakes
- Confusing /setworldspawn with /spawnpoint, /setworldspawn sets the global default, /spawnpoint is per-player.
- Setting world spawn inside blocks, players may suffocate or be displaced.
Notes
The world spawn also determines the center of the spawn chunks (the always-loaded area). Changing the world spawn moves the spawn chunks.
Related Commands
Need a Minecraft server?
Try these commands on Astroworld or host your own server.
Try Astroworld Hosting