All commands
🌍
Admin

/setworldspawn

Set the shared spawn point new players appear at.

Try in Simulator

At a glance

Syntax

Syntax
/setworldspawn [x] [y] [z]
commandtargetcoordsvaluerequiredoptional

See it

What it does

🌍
The world's shared spawn is set

Anatomy

Every part, explained

  1. 1
    /setworldspawnCommandRequired

    Sets the world's global spawn point.

  2. 2
    [x] [y] [z]CoordinatesOptional

    Where spawn goes. Defaults to here.

Your turn

Try it yourself

Playground
4 tokens · press Enter to run

Copy & paste

Examples

/setworldspawn 0 64 0

Set spawn to exact coordinates.

/setworldspawn ~ ~ ~

Set spawn where you're standing.

/setworldspawn

Use your current position as spawn.

Avoid these

Common mistakes

/setworldspawn @s 0 64 0
/setworldspawn 0 64 0

World spawn takes no target — just coords.

/spawnpoint 0 64 0
/setworldspawn 0 64 0

/spawnpoint is per-player; this sets the world's.

Keep going

Related commands