Every Minecraft Game Rule Explained (Full List with New Names)
Game rules are switches that change how your world behaves: whether you keep items on death, whether fire spreads, how many players need to sleep to skip the night. Recent Minecraft versions renamed all of them, so most lists online are out of date. This one covers every rule in Minecraft 26.x, with the old name next to each new one.
/gamerule <rule> <value>, for example /gamerule keep_inventory true. Run a rule with no value to see its current setting. Names are now lowercase with underscores (doDaylightCycle became advance_time). Type /gamerule and press Tab to list every rule your version has.How to use game rules
/gamerule advance_time false
/gamerule players_sleeping_percentage 50
/gamerule random_tick_speed
- You need operator permission (how to OP yourself).
- From the server console, leave out the
/. - Changes apply instantly and are saved with the world.
- Paper, Spigot, Purpur: the Nether and End are separate worlds with their own rules. Use
/execute in minecraft:the_nether run gamerule ...to set them there too.
The most useful ones
If you only change a few, these are the ones server owners use most:
| Rule | Set to | Why |
|---|---|---|
keep_inventory |
true |
Keep items and XP on death (guide) |
players_sleeping_percentage |
1 to 50 |
Skip the night without everyone sleeping |
mob_griefing |
false |
Stop creepers breaking blocks (guide) |
pvp |
false |
Turn off player damage (guide) |
respawn_radius |
0 |
Spawn on the exact spawn block (guide) |
spawn_phantoms |
false |
No more phantoms for players who skip sleep |
show_death_messages |
false |
Hide death messages in chat |
Full list
Booleans take true or false. Numbers take a whole number.
World and time
| New name | Old name | Default | What it does |
|---|---|---|---|
advance_time |
doDaylightCycle | true | Day and night cycle. false freezes the time. |
advance_weather |
doWeatherCycle | true | Weather changes. false locks the current weather. |
random_tick_speed |
randomTickSpeed | 3 | How fast crops grow, leaves decay and so on. Higher is faster. |
fire_spread_radius_around_player |
doFireTick | number | Limits fire spread to areas near players. Use 0 to stop fire spreading. |
spread_vines |
doVinesSpread | true | Whether vines grow and spread. |
water_source_conversion |
waterSourceConversion | true | Two water sources make a new source. |
lava_source_conversion |
lavaSourceConversion | false | Two lava sources make a new source. |
max_snow_accumulation_height |
snowAccumulationHeight | 1 | How many layers of snow can build up while snowing. |
allow_entering_nether_using_portals |
allow-nether (server.properties) | true | Whether Nether portals work. |
spectators_generate_chunks |
spectatorsGenerateChunks | true | Whether players in spectator mode load new terrain. |
Mobs and spawning
| New name | Old name | Default | What it does |
|---|---|---|---|
spawn_mobs |
doMobSpawning | true | Natural mob spawning of all kinds. |
spawn_monsters |
spawn-monsters (server.properties) | true | Natural hostile mob spawning. |
spawn_phantoms |
doInsomnia | true | Phantoms for players who haven't slept. |
spawn_patrols |
doPatrolSpawning | true | Pillager patrols. |
spawn_wandering_traders |
doTraderSpawning | true | Wandering traders. |
spawn_wardens |
doWardenSpawning | true | Wardens from sculk shriekers. |
spawner_blocks_work |
spawnerBlocksEnabled | true | Whether mob spawner blocks spawn mobs. |
raids |
disableRaids (reversed) | true | Whether raids can start. false disables them. |
mob_griefing |
mobGriefing | true | Mobs changing blocks: creepers, endermen, villager farming, sheep eating grass. |
universal_anger |
universalAnger | false | Angered neutral mobs attack any nearby player, not just the one who hit them. |
forgive_dead_players |
forgiveDeadPlayers | true | Angered neutral mobs calm down when their target dies. |
max_entity_cramming |
maxEntityCramming | 24 | Mobs packed in one block before they start taking damage. |
Players
| New name | Old name | Default | What it does |
|---|---|---|---|
keep_inventory |
keepInventory | false | Keep items and XP on death. |
pvp |
pvp (server.properties) | true | Players can damage each other. |
natural_health_regeneration |
naturalRegeneration | true | Health regenerates from a full hunger bar. |
immediate_respawn |
doImmediateRespawn | false | Skip the death screen. |
respawn_radius |
spawnRadius | 10 | How far from world spawn new players can appear. |
players_sleeping_percentage |
playersSleepingPercentage | 100 | Percent of players who must sleep to skip the night. |
fall_damage |
fallDamage | true | Fall damage. |
fire_damage |
fireDamage | true | Fire and lava damage. |
drowning_damage |
drowningDamage | true | Drowning damage. |
freeze_damage |
freezeDamage | true | Powder snow freezing damage. |
ender_pearls_vanish_on_death |
enderPearlsVanishOnDeath | true | Thrown pearls disappear when the thrower dies. |
limited_crafting |
doLimitedCrafting | false | Players can only craft recipes they've unlocked. |
locator_bar |
locatorBar | true | Shows the locator bar pointing to other players. |
players_nether_portal_default_delay |
playersNetherPortalDefaultDelay | 80 | Ticks a survival player stands in a portal before teleporting (80 = 4 seconds). |
players_nether_portal_creative_delay |
playersNetherPortalCreativeDelay | number | Same, for creative mode players. |
player_movement_check |
disablePlayerMovementCheck (reversed) | true | Server checks for players moving too fast. |
elytra_movement_check |
disableElytraMovementCheck (reversed) | true | Same check while flying with elytra. |
reduced_debug_info |
reducedDebugInfo | false | Hides coordinates and other details from the F3 screen. |
Drops and explosions
| New name | Old name | Default | What it does |
|---|---|---|---|
block_drops |
doTileDrops | true | Broken blocks drop items. |
entity_drops |
doEntityDrops | true | Minecarts, boats, item frames and similar drop as items. |
mob_drops |
doMobLoot | true | Mobs drop loot and XP. |
tnt_explodes |
tntExplodes | true | TNT explodes when lit. |
block_explosion_drop_decay |
blockExplosionDropDecay | true | Explosions from blocks like beds and respawn anchors destroy some of the blocks they break instead of dropping them. |
mob_explosion_drop_decay |
mobExplosionDropDecay | true | Same, for creepers and other mob explosions. |
tnt_explosion_drop_decay |
tntExplosionDropDecay | false | Same, for TNT. Off by default, so TNT drops every block it breaks. |
projectiles_can_break_blocks |
projectilesCanBreakBlocks | true | Projectiles can break things like decorated pots and chorus flowers. |
Chat and messages
| New name | Old name | Default | What it does |
|---|---|---|---|
show_death_messages |
showDeathMessages | true | Death messages in chat. |
show_advancement_messages |
announceAdvancements | true | Advancement messages in chat. |
send_command_feedback |
sendCommandFeedback | true | Players see the result of commands they run. |
log_admin_commands |
logAdminCommands | true | Operator commands are shown to other operators and logged. |
global_sound_events |
globalSoundEvents | true | Wither spawn, ender dragon death and similar sounds are heard everywhere. |
Commands and command blocks
| New name | Old name | Default | What it does |
|---|---|---|---|
command_blocks_work |
enable-command-block (server.properties) | see note | Whether command blocks run. (guide) |
command_block_output |
commandBlockOutput | true | Command blocks post results in chat. |
max_command_sequence_length |
maxCommandChainLength | 65536 | Limit on chained commands in one run. |
max_command_forks |
maxCommandForkCount | 65536 | Limit on how many times one command can branch. |
max_block_modifications |
commandModificationBlockLimit | 32768 | Most blocks one /fill or similar command can change. |
max_minecart_speed |
minecartMaxSpeed | number | Top minecart speed (only with experimental minecart changes on). |
Note on command blocks: check your current value with /gamerule command_blocks_work. Servers often ship with it off.
Related
FAQ
Why don't old game rule names like doDaylightCycle work anymore?
Recent versions renamed every game rule to lowercase with underscores, and some got new names entirely. doDaylightCycle is now advance_time, doMobSpawning is spawn_mobs, and doInsomnia is spawn_phantoms. The table below maps old names to new ones.
How do I see every game rule my server has?
Type /gamerule with a space and press Tab. The game lists every rule your version accepts.
Do game rules reset when the server restarts?
No. They're saved with the world. On Paper, Spigot and Purpur each world (including the Nether and End) keeps its own copy.
Want a server that just runs fast?
FreaksMC runs on NVMe hardware with performance-tuned defaults baked in - pre-optimized Paper, sane view distances, and one-click world pre-generation. Set up in 60 seconds.
See plans from $3/mo