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

NameRespawn location radius
Rule name (Java 1.21.11+)respawn_radius
Old name (Java 1.21.10 and earlier)spawnRadius
Bedrock namespawnradius
Value typeInteger
Default10

Commands you can copy

Set to 0

/gamerule respawn_radius 0

Reset to the default (10)

/gamerule respawn_radius 10

Check the current value

/gamerule respawn_radius

Java 1.21.10 and earlier

/gamerule spawnRadius 0

Bedrock Edition

/gamerule spawnradius 0

Notes

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.

Other game rules