Minecraft Bedrock: the gamerules worth knowing (/gamerule)

by GG Guides ·

About Minecraft

Syntax: /gamerule, the rule name, then true or false for a boolean rule, or a number for an integer rule. /gamerule on its own shows the current value.

Example: /gamerule keepinventory true — you keep your inventory when you die.

Boolean rules (true = on): keepinventory — players keep their inventory when they die dodaylightcycle — the day cycle moves doweathercycle — the weather is enabled mobgriefing — mob griefing can happen pvp — players can damage each other showcoordinates — coordinates are displayed naturalregeneration — players regenerate health falldamage — falling deals damage dofiretick — fire spreads tntexplodes — TNT can explode domobspawning — mobs spawn doimmediaterespawn — players respawn immediately doinsomnia — not sleeping has effects (such as phantoms) commandblockoutput — command blocks write to chat sendcommandfeedback — command feedback is displayed

Integer rules: randomtickspeed, spawnradius, functioncommandlimit, maxcommandchainlength.