How to set a spawn point — the /spawnpoint command
Generator /spawnpoint
Set the spawn point — adjust the parameters and copy the finished result
The /spawnpoint command sets the respawn point for a player. After death the player will appear at the specified coordinates.
Set spawn for whom
The nearest player to the point where the command runs
Coordinates
Leave ~ for the current position. You can find coordinates by pressing F3 in-game.
Generated command
Paste it into the Minecraft chat (the T key) or a command block
Other commands
/give
Give an item to a player
/summon
Summon a mob or entity
/effect
Apply an effect to a player
/enchant
Enchant the item in hand
/gamemode
Change game mode
/tp
Teleport a player
/time
Change the time of day
/weather
Change the weather
/xp
Give experience to a player
/difficulty
Change world difficulty
/gamerule
Change world rules
/clear
Clear a player's inventory
/setblock
Place a block at coordinates
/fill
Fill an area with blocks
How does /spawnpoint work?
The /spawnpoint command sets the respawn point for a specific player. Syntax: /spawnpoint <player> [x] [y] [z]. Without coordinates — it sets it at the current position. After death the player will appear at this point.
Difference from a bed
A bed also sets a spawn point, but only when used. The /spawnpoint command works without a bed and does not require a block to bind to. However, /spawnpoint is tied to the dimension — a spawn in the Nether will not work from the Overworld.
World spawn
To set a global spawn point (for all new players) use /setworldspawn <x> <y> <z>. This is a separate command from /spawnpoint that affects the default spawn location.
Use on servers
On servers /spawnpoint is useful for creating respawn systems: binding to a base, to a PvP arena, to a lobby. Via command blocks you can automatically set the spawn when entering a certain zone.
Looking for Minecraft server hosting?
Launch your server in a minute — one-click mod and plugin installation, DDoS protection, powerful hardware. Promo code PROMO10 gives 10% off any plan.
