/

/spawnpoint

op 2Entities

/spawnpoint sets where one player respawns, as if they had slept in a bed there. For the whole world’s default spawn, use /setworldspawn instead.

Commandready
20
/spawnpoint @p ~ ~ ~
Press C to copy
optional
Nearest player
@p

Who or what the command applies to

optional
x
y
z

~ ~ ~whole blocks

~ is relative to where the command runs from

optional

Examples

  • Respawn here
    /spawnpoint @s ~ ~ ~

Common questions about /spawnpoint

What is the difference between /spawnpoint and /setworldspawn?

/spawnpoint is per player and overrides the world spawn for them. /setworldspawn changes the world default, which applies to players who have no personal spawn point.

Does this respawn point survive the bed being destroyed?

Yes. /spawnpoint is not attached to a bed or respawn anchor, so nothing in the world can invalidate it. It lasts until you set another one.