Set the World Spawn
Change where new players and players with no bed spawn
✅ Verified for Java 26.2 · Bedrock 26.32 — checked June 2026Sets 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
- Java: yes
- Bedrock: yes
- Command block: yes
- Needs cheats / OP: yes
How to use
- Stand at the location you want as the world spawn.
- Open chat (T on Java, / on Bedrock) and paste the command.
- Press Enter — the world spawn is now set.
Related commands
Teleport to Coordinates
Instantly move to a specific X Y Z location
Teleport to Another Player
Instantly move to where another player is standing
Set Your Spawn Point
Set where you respawn after dying to your current location
Teleport All Players to You
Pull every player in the world to your location instantly
Teleport Up 10 Blocks
Jump straight up 10 blocks without flying
Teleport a Mob to You
Pull the nearest mob of a specific type to your location