Game Rule Guide
Curated gamerules with defaults, types, and copyable /gamerule commands for Java and Bedrock.
| Rule | Default | Type | Command |
|---|---|---|---|
Keep Inventory keepInventory Players keep items and XP on death instead of dropping them. | false | bool | /gamerule keepInventory true |
Daylight Cycle doDaylightCycle Advances the day/night clock when true. | true | bool | /gamerule doDaylightCycle true |
Weather Cycle doWeatherCycle Allows rain/thunder to start and stop on their own. | true | bool | /gamerule doWeatherCycle true |
Mob Spawning doMobSpawning Natural mob spawns (not spawners/eggs) when true. | true | bool | /gamerule doMobSpawning true |
Mob Loot doMobLoot Mobs drop items and XP when killed. | true | bool | /gamerule doMobLoot true |
Block Drops doTileDrops Blocks drop items when broken. | true | bool | /gamerule doTileDrops true |
Entity Drops doEntityDrops Non-mob entities (minecarts, item frames, …) drop items when broken. | true | bool | /gamerule doEntityDrops true |
Fire Spread doFireTick Fire spreads and can extinguish over time. | true | bool | /gamerule doFireTick true |
Mob Griefing mobGriefing Mobs may break/place/pick blocks (creeper blast, enderman, …). | true | bool | /gamerule mobGriefing true |
Natural Regeneration naturalRegeneration Players regenerate health when hunger is high enough. | true | bool | /gamerule naturalRegeneration true |
Immediate Respawn doImmediateRespawn Skip the death screen and respawn instantly. | false | bool | /gamerule doImmediateRespawn true |
Announce Advancements announceAdvancements Broadcasts advancement toasts to chat. | true | bool | /gamerule announceAdvancements true |
Command Block Output commandBlockOutput Command blocks log their output to chat/console. | true | bool | /gamerule commandBlockOutput true |
Log Admin Commands logAdminCommands Logs op commands to the server log. | true | bool | /gamerule logAdminCommands true |
Send Command Feedback sendCommandFeedback Shows command success messages to the player who ran them. | true | bool | /gamerule sendCommandFeedback true |
Death Messages showDeathMessages Prints death messages in chat. | true | bool | /gamerule showDeathMessages true |
Spectators Generate Chunks spectatorsGenerateChunks Spectator-mode players load/generate chunks while moving. | true | bool | /gamerule spectatorsGenerateChunks true |
Disable Raids disableRaids Prevents Bad Omen from starting village raids. | false | bool | /gamerule disableRaids true |
Phantoms doInsomnia Phantoms can spawn after players skip sleep. | true | bool | /gamerule doInsomnia true |
Patrol Spawning doPatrolSpawning Allows illager patrols to spawn. | true | bool | /gamerule doPatrolSpawning true |
Wandering Trader doTraderSpawning Allows wandering traders to spawn. | true | bool | /gamerule doTraderSpawning true |
Warden Spawning doWardenSpawning Allows wardens to spawn from shriekers. | true | bool | /gamerule doWardenSpawning true |
Forgive Dead Players forgiveDeadPlayers Angry neutral mobs stop targeting a player who dies. | true | bool | /gamerule forgiveDeadPlayers true |
Universal Anger universalAnger Angered neutrals attack all nearby players, not only the provocateur. | false | bool | /gamerule universalAnger true |
Limited Crafting doLimitedCrafting Players may only craft recipes they have unlocked. | false | bool | /gamerule doLimitedCrafting true |
Players Sleeping % playersSleepingPercentage Percent of players in bed required to skip the night. | 100 | int | /gamerule playersSleepingPercentage 100 |
Spawn Radius spawnRadius Horizontal radius around world spawn used for respawns. | 10 | int | /gamerule spawnRadius 10 |
Max Entity Cramming maxEntityCramming Entities in one block before cramming damage applies (0 = off). | 24 | int | /gamerule maxEntityCramming 24 |
Random Tick Speed randomTickSpeed How often random block ticks run (crops, leaves, fire, …). | 3 | int | /gamerule randomTickSpeed 3 |
Max Command Chain Length maxCommandChainLength Cap on chained command-block executions per tick. | 65536 | int | /gamerule maxCommandChainLength 65536 |
Freeze Damage freezeDamage Powder snow can deal freeze damage. | true | bool | /gamerule freezeDamage true |
Fall Damage fallDamage Players and mobs take damage from falling. | true | bool | /gamerule fallDamage true |
Fire Damage fireDamage Fire and lava deal damage. | true | bool | /gamerule fireDamage true |
Drowning Damage drowningDamage Running out of air deals drowning damage. | true | bool | /gamerule drowningDamage true |
Vines Spread doVinesSpread Vines can spread to nearby blocks. | true | bool | /gamerule doVinesSpread true |
Curated catalog — not a Mongo entity. snake_case ids reserved for a later entity promote.