On my Vanilla Minecraft server I want players to TPed to the center spawn block when they join I know that if you set the world spawn players will spawn within a 20 block radius of that point, I was thinking that if I hook up a command block to tp people within a 20 block radius to the center block I just don't know how to go about it. I need it to be compact because the spawn is a floating airship and I cant have it hanging into the passageway below. Thanks
Minecraft – Tp Players To a Certain Block When They First Spawn
minecraft-commandsminecraft-java-edition
Related Topic
- Minecraft – World Spawn Location
- Minecraft – How to test if all minecraft players on a server are in a radius
- Minecraft – Using Minecraft command blocks to automatically TP players when they join
- Minecraft – How to have players spawn within a range – Minecraft 1.11.2
- Minecraft – How to make command blocks teleport players away from an area when they don’t have a specific item
- Minecraft – How to get back into creative mode from being stuck in adventure mode
- Minecraft – Add players to team if they are within range
Best Answer
You can set the default gamemode to "adventure" and players will spawn at the exact world spawn rather than within a radius.
In 1.9+, the
spawnRadius
gamerule sets how many blocks outward that the player can spawn within without having to change the default gamemode.