Search

Game Rule Guide

Curated gamerules with defaults, types, and copyable /gamerule commands for Java and Bedrock.

RuleDefaultTypeCommand
Keep Inventory
keepInventory

Players keep items and XP on death instead of dropping them.

falsebool
/gamerule keepInventory true
Daylight Cycle
doDaylightCycle

Advances the day/night clock when true.

truebool
/gamerule doDaylightCycle true
Weather Cycle
doWeatherCycle

Allows rain/thunder to start and stop on their own.

truebool
/gamerule doWeatherCycle true
Mob Spawning
doMobSpawning

Natural mob spawns (not spawners/eggs) when true.

truebool
/gamerule doMobSpawning true
Mob Loot
doMobLoot

Mobs drop items and XP when killed.

truebool
/gamerule doMobLoot true
Block Drops
doTileDrops

Blocks drop items when broken.

truebool
/gamerule doTileDrops true
Entity Drops
doEntityDrops

Non-mob entities (minecarts, item frames, …) drop items when broken.

truebool
/gamerule doEntityDrops true
Fire Spread
doFireTick

Fire spreads and can extinguish over time.

truebool
/gamerule doFireTick true
Mob Griefing
mobGriefing

Mobs may break/place/pick blocks (creeper blast, enderman, …).

truebool
/gamerule mobGriefing true
Natural Regeneration
naturalRegeneration

Players regenerate health when hunger is high enough.

truebool
/gamerule naturalRegeneration true
Immediate Respawn
doImmediateRespawn

Skip the death screen and respawn instantly.

falsebool
/gamerule doImmediateRespawn true
Announce Advancements
announceAdvancements

Broadcasts advancement toasts to chat.

truebool
/gamerule announceAdvancements true
Command Block Output
commandBlockOutput

Command blocks log their output to chat/console.

truebool
/gamerule commandBlockOutput true
Log Admin Commands
logAdminCommands

Logs op commands to the server log.

truebool
/gamerule logAdminCommands true
Send Command Feedback
sendCommandFeedback

Shows command success messages to the player who ran them.

truebool
/gamerule sendCommandFeedback true
Death Messages
showDeathMessages

Prints death messages in chat.

truebool
/gamerule showDeathMessages true
Spectators Generate Chunks
spectatorsGenerateChunks

Spectator-mode players load/generate chunks while moving.

truebool
/gamerule spectatorsGenerateChunks true
Disable Raids
disableRaids

Prevents Bad Omen from starting village raids.

falsebool
/gamerule disableRaids true
Phantoms
doInsomnia

Phantoms can spawn after players skip sleep.

truebool
/gamerule doInsomnia true
Patrol Spawning
doPatrolSpawning

Allows illager patrols to spawn.

truebool
/gamerule doPatrolSpawning true
Wandering Trader
doTraderSpawning

Allows wandering traders to spawn.

truebool
/gamerule doTraderSpawning true
Warden Spawning
doWardenSpawning

Allows wardens to spawn from shriekers.

truebool
/gamerule doWardenSpawning true
Forgive Dead Players
forgiveDeadPlayers

Angry neutral mobs stop targeting a player who dies.

truebool
/gamerule forgiveDeadPlayers true
Universal Anger
universalAnger

Angered neutrals attack all nearby players, not only the provocateur.

falsebool
/gamerule universalAnger true
Limited Crafting
doLimitedCrafting

Players may only craft recipes they have unlocked.

falsebool
/gamerule doLimitedCrafting true
Players Sleeping %
playersSleepingPercentage

Percent of players in bed required to skip the night.

100int
/gamerule playersSleepingPercentage 100
Spawn Radius
spawnRadius

Horizontal radius around world spawn used for respawns.

10int
/gamerule spawnRadius 10
Max Entity Cramming
maxEntityCramming

Entities in one block before cramming damage applies (0 = off).

24int
/gamerule maxEntityCramming 24
Random Tick Speed
randomTickSpeed

How often random block ticks run (crops, leaves, fire, …).

3int
/gamerule randomTickSpeed 3
Max Command Chain Length
maxCommandChainLength

Cap on chained command-block executions per tick.

65536int
/gamerule maxCommandChainLength 65536
Freeze Damage
freezeDamage

Powder snow can deal freeze damage.

truebool
/gamerule freezeDamage true
Fall Damage
fallDamage

Players and mobs take damage from falling.

truebool
/gamerule fallDamage true
Fire Damage
fireDamage

Fire and lava deal damage.

truebool
/gamerule fireDamage true
Drowning Damage
drowningDamage

Running out of air deals drowning damage.

truebool
/gamerule drowningDamage true
Vines Spread
doVinesSpread

Vines can spread to nearby blocks.

truebool
/gamerule doVinesSpread true

Curated catalog — not a Mongo entity. snake_case ids reserved for a later entity promote.

Advertisement