/spawnpoint
Sets the spawn point for one or more players. When a player dies, they respawn at their spawn point.
Syntax
/spawnpoint [<targets>] [<pos>] [<angle>]Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| targets | entity | Optional | The player(s) whose spawn point to set. Defaults to self. |
| pos | block_pos | Optional | The coordinates for the spawn point. Defaults to the executor's position. |
| angle | angle | Optional | The angle the player faces on respawn. |
Examples
/spawnpoint @sSets your spawn point to your current location.
/spawnpoint @a 0 64 0Sets all players' spawn points to coordinates 0, 64, 0.
/spawnpoint @p ~ ~ ~ 90Sets the nearest player's spawn point to their current location, facing east on respawn.
Common Mistakes
- Setting a spawn point inside a solid block, the player may suffocate or be displaced on respawn.
- Confusing /spawnpoint (per-player) with /setworldspawn (global default).
Notes
Each player has an individual spawn point. If the spawn point block becomes obstructed, the player respawns at the world spawn instead.
Related Commands
Need a Minecraft server?
Try these commands on Astroworld or host your own server.
Try Astroworld Hosting