Skip to content
/craftcmd

Set the World Spawn

Change where new players and players with no bed spawn

✅ Verified for Java 26.2 · Bedrock 26.32 — checked June 2026

Sets the global world spawn point to your current position — new players joining and players without a bed respawn here. Useful for servers and custom maps to control where players first arrive.

/setworldspawn ~ ~ ~
20 characters

How to use

  1. Stand at the location you want as the world spawn.
  2. Open chat (T on Java, / on Bedrock) and paste the command.
  3. Press Enter — the world spawn is now set.

Related commands

Instantly move to a specific X Y Z location

/tp @s 100 64 -200

Instantly move to where another player is standing

/tp @s PlayerName

Set where you respawn after dying to your current location

/spawnpoint @s ~ ~ ~

Pull every player in the world to your location instantly

/tp @a @s

Jump straight up 10 blocks without flying

/tp @s ~ ~10 ~

Pull the nearest mob of a specific type to your location

/tp @e[type=cow,limit=1,sort=nearest] @s