To change spawn on a Minecraft server, stand where you want new players to appear and type /setworldspawn in chat (you need OP), or run setworldspawn x y z in the console with the coordinates. Then set gamerule respawn_radius 0 so players land on that exact block instead of a random spot around it. This guide covers both steps, per-player spawns, spawn plugins and why players sometimes still appear somewhere else.
These steps are for Java Edition servers on Vanilla, Paper, Purpur, Fabric or Forge.
How world spawn works
The world spawn is the point where new players appear the first time they join and where players without a bed or respawn anchor come back after dying. Two things control where exactly they land:
- The world spawn point, set with
/setworldspawn. - The respawn radius. By default players are placed at a random safe spot within a radius around the point. On Java the game rule is
respawn_radius(calledspawnRadiusbefore 1.21.11), and the Minecraft Wiki lists 10 as its Java default.
In Adventure mode players always appear on the exact point. In Survival and Creative the radius applies.
Change spawn on a Minecraft server, step by step
- Make a copy of the world in Backups before you build or move anything big.
- Join the server as an operator and go to the spot you want as spawn. Press F3 to see your coordinates (the
XYZline). - Stand on the block and type
/setworldspawn. The chat confirms the new spawn point with its coordinates. - Type
/gamerule respawn_radius 0so everyone lands on that exact block. On 1.21.10 or older, use/gamerule spawnRadius 0. - Test it: use another account or ask a friend who has no bed set to die once and check where they come back.
From the console you cannot "stand" anywhere, so give the coordinates. On TheGameHosting open Console and type:
setworldspawn 120 72 -340
gamerule respawn_radius 0
/setworldspawn needs permission level 2. If the command is not available to you in chat, see how to OP yourself on a Minecraft server.
Make players face the right way
The command also takes an angle after the coordinates, so players look toward your gate or welcome sign when they arrive: setworldspawn 120 72 -340 90. The angle is the yaw in degrees; F3 shows your current facing, so stand looking the right way and copy it.
Spawn commands and settings
| Command or setting | What it does |
|---|---|
setworldspawn [x y z] [angle] | Sets the world spawn point |
gamerule respawn_radius 0 | Players appear on the exact block (spawnRadius before 1.21.11) |
spawnpoint Name x y z | Sets the respawn point of one player |
spawn-protection=16 | Stops non-OPs from building near the world spawn (in server.properties) |
tp Name x y z | Moves a player to any point, for example to the new spawn |
Set a spawn point for one player
/spawnpoint changes where one player respawns after dying, like an invisible bed. For example, spawnpoint Steve 120 72 -340 sends Steve back to the new spawn the next time he dies. Beds and respawn anchors update a player's spawn when used, so this setting changes again if that player sleeps in a bed.
/setworldspawn does not move players who already joined. If you moved spawn far away, teleport them once with tp @a 120 72 -340 from the console.
Spawn plugins on Paper servers
Vanilla has no /spawn command for players. On Paper and Purpur, a plugin such as EssentialsX with its Spawn module adds /setspawn for admins and /spawn for players, and it can send players to spawn when they join. Install it from the Plugins tab, restart, and use /setspawn where you are standing. Even with a plugin, it is worth running setworldspawn at the same spot, so vanilla behavior (new players, compasses) matches.
On Paper the Nether and End are separate worlds with their own rules, so respawn_radius set in the console applies to the main world, which is where players respawn.
Players still spawning in the wrong place?
- They appear a few blocks off. The respawn radius is still above 0. Run
gamerule respawn_radiusto read it and set it to 0. - A player always returns to their old base. They have a bed or a respawn anchor. That takes priority over world spawn. Use
/spawnpointor ask them to break the bed. - New players land on the roof or inside a wall. The spawn point is inside a block or under a roof. Set it on an open block with two blocks of air above.
- Players cannot build near spawn. That is
spawn-protectioninserver.properties, which counts from the world spawn. See Minecraft spawn protection radius. - Farms at spawn stopped working after an update. Since Java 1.21.9 spawn chunks are no longer kept loaded, so farms there run only while a player is nearby.
- The gamerule name gives an error. You are on an older version. Use
spawnRadiusinstead ofrespawn_radius.
A spawn your players see first, every time
A good spawn is the first thing new players see, so it matters that the server is online when they try to join. On TheGameHosting the world runs 24/7 on AMD 9950X or 7950X3D CPUs with NVMe storage in Dallas or Amsterdam, with DDoS protection on every plan. You set spawn from Console, install EssentialsX from Plugins and save your spawn build in Backups before every big change.
Java plans start at 2 GB for $1.90 USD per month, ready about 60 seconds after payment. Choose a size on Pricing or read more about our Minecraft server hosting. Planning a community? Our guide on how to start a Minecraft SMP server covers the rest.
FAQ
How do I change the spawn point on my Minecraft server?
Stand on the spot as an operator and type /setworldspawn, or run setworldspawn x y z in the console. Then set gamerule respawn_radius 0 so players land on that exact block.
Why do players spawn randomly around the spawn point?
The respawn radius places them at a random safe spot near the point. Set gamerule respawn_radius 0 (or spawnRadius 0 on older versions).
How do I set spawn for just one player?
Use spawnpoint Name x y z. It works like a bed for that player and changes again if they sleep in a bed.
Is there a /spawn command in vanilla Minecraft?
No. Players need a plugin such as EssentialsX Spawn for /spawn. In vanilla, an operator can send players to spawn with tp.
Hosting for this game
Written by TheGameHosting Team, the people who run our servers in Dallas and Amsterdam and answer your tickets.
All posts
TheGameHosting Team
