Updated:
Respawn location radius game rule (respawn_radius)
The "Respawn location radius" rule is called respawn_radius in Java 1.21.11 and later, and spawnRadius in 1.21.10 and earlier. Sets how far from the world spawn point players can appear, in blocks.
Basic data
| Name | Respawn location radius |
|---|---|
| Rule name (Java 1.21.11+) | respawn_radius |
| Old name (Java 1.21.10 and earlier) | spawnRadius |
| Bedrock name | spawnradius |
| Value type | Integer |
| Default | 10 |
Commands you can copy
Set to 0
/gamerule respawn_radius 0Reset to the default (10)
/gamerule respawn_radius 10Check the current value
/gamerule respawn_radiusJava 1.21.10 and earlier
/gamerule spawnRadius 0Bedrock Edition
/gamerule spawnradius 0Notes
- Java 1.21.11 renamed game rules to lower case with underscores. If an older command or a map description uses the old name, rewrite it for your version.
- Game rules are saved per world. On a server, a new world starts with the default values again.
Questions
Typing spawnRadius gives an error
In Java 1.21.11 and later the rule is called respawn_radius. Write /gamerule respawn_radius … instead. Worlds on 1.21.10 and earlier keep the old name.
How do I check the current value?
Run /gamerule respawn_radius without a value. The current value is shown in chat.