Articles on: Minecraft

How to Change Game Rules in Minecraft

Learn how to quickly change game rules in Minecraft to suit your play style. This guide walks you through easy steps to customize settings like mob griefing, spawn rates, and more. Whether you’re a beginner or a seasoned player, these simple commands and tips can help you tweak the rules on your Minecraft server.

In order to change gamerules, you must have OP access. Check out our guide on how to give someone OP on your Minecraft server for more information.

Changing Game Rules



To change game rules in Minecraft, type "/gamerule <rule> <value>"

Replace <rule> with the specific rule you want to adjust, and <value> with your desired setting. To view all available game rules, just enter /gamerule without any additional arguments.

Key points:

Command Format: /gamerule <rule> <value>

Accessing Rules: Type /gamerule to list all available rules.

Boolean Values: Use true or false to enable or disable features.

Integer Values: Some rules require numerical values. Check the table below to see those rules.

Examples:

Disable mob griefing (prevent mobs from destroying blocks):\
/gamerule mobGriefing false

Speed up the day cycle:\
/gamerule randomTickSpeed 10

List of Minecraft Game Rules



Below is a list of every important Game Rule in Minecraft:

GameruleDescriptionDefault ValueValue TypeWorks on JavaWorks on Bedrock
announceAdvancementsAn added game rule that determines if player achievements are broadcast in chat.trueBoolYesNo
blockExplosionDropDecayControls whether block loot is dropped by all blocks or randomly – depending on how far the explosion center is – when a block explosion occurs (block loot is dropped).trueBoolYesNo
commandBlockOutputDetermines if command blocks store their output text and notify admins when executing commands (no yes commandblockoutput).trueBoolYesYes
commandBlocksEnabledSpecifies whether command blocks are enabled in game; note this is a Bedrock Edition game rule.trueBoolNoYes
commandModificationBlockLimitSets the maximum number of blocks that can be modified using command blocks with commands executed in a single game tick (maximum number of blocks modified).32768IntYesNo
disableElytraMovementCheckSkips checking player speed while wearing elytra – the server should skip checking player speed – to reduce lag-related jitter.falseBoolYesNo
disablePlayerMovementCheckSkips checking player speed for all players.falseBoolYesNo
disableRaidsPrevents raids from being triggered (yes no disableraids).falseBoolYesNo
doDaylightCycleEnables the natural progression of day, night, and moon phases so that weather can change naturally (yes no doweathercycle).trueBoolYesYes
doEntityDropsControls if non-mob entities drop items when destroyed.trueBoolYesYes
doFireTickAllows fire to spread naturally and extinguish on its own.trueBoolYesYes
doInsomniaDetermines if phantoms can spawn during the night.trueBoolYesYes
doImmediateRespawnEnables doimmediaterespawn so that players respawn immediately without showing the death screen.falseBoolYesYes
doLimitedCraftingRestricts players to crafting only those recipes they have unlocked – recipesunlock controls only those recipes.falseBoolYesYes
doMobLootControls whether mobs drop items and experience orbs upon defeat.trueBoolYesYes
doMobSpawningEnables natural mob spawning (excluding effects from spawner blocks) according to the list of game rules.trueBoolYesYes
doPatrolSpawningAllows natural spawning of mob patrols.trueBoolYesNo
doTileDropsSpecifies if blocks drop items when broken (yes no dotiledrops).trueBoolYesYes
doTraderSpawningControls whether wandering traders spawn naturally.trueBoolYesNo
doVinesSpreadDetermines if vines can spread to adjacent blocks (excluding certain vine types).trueBoolYesNo
doWardenSpawningControls whether wardens can spawn naturally.trueBoolYesNo
doWeatherCycleEnables natural weather changes so that weather can change naturally (yes no doweathercycle).trueBoolYesYes
drowningDamageDetermines if players take damage when drowning.trueBoolYesYes
enderPearlsVanishOnDeathSpecifies whether thrown ender pearls vanish when the player dies.trueBoolYesNo
fallDamageDetermines if players receive fall damage (fall damage).trueBoolYesYes
fireDamageControls if players take damage from fire sources like lava, campfires, or magma blocks.trueBoolYesYes
forgiveDeadPlayersMakes angered neutral mobs stop attacking the targeted player when that player dies (targeted player).trueBoolYesNo
freezeDamageSpecifies if players take damage when in contact with powder snow.trueBoolYesYes
globalSoundEventsEnsures that certain sound events are audible to all players regardless of location.trueBoolYesNo
functionCommandLimitSets the maximum number of commands executed by a /function at once (commands executed).10000IntNoYes
keepInventoryDetermines if players retain their items and experience after death – default behavior is no on Bedrock and yes on Java (no yes keepinventory).falseBoolYesYes
lavaSourceConversionControls whether new lava source blocks are allowed to form (allowed value).falseBoolYesNo
logAdminCommandsDetermines if admin commands are recorded in the server log (log admin commands).trueBoolYesNo
maxCommandChainLengthSpecifies the maximum length of a chain of commands executed in one game tick for command blocks and functions (yes no maxcommandchainlength; maximum length).65536IntYesYes
maxCommandForkCountSets the upper limit for the number of command forks allowed during command execution.65536IntYesNo
maxEntityCrammingLimits how many pushable entities non spectator mode players can push before incurring cramming damage – damage affects survival mode players every half second.24IntYesNo
minecartMaxSpeedSpecifies the maximum speed permitted for minecarts.8IntYesNo
mobExplosionDropDecayControls if block loot is dropped by all blocks or varies based on distance from the explosion center during mob explosions (block loot is dropped).trueBoolYesNo
mobGriefingDetermines if mobs, including zombie like creatures, can change blocks or pick up items.trueBoolYesYes
naturalRegenerationAllows players to regenerate health naturally when hunger is sufficient, though it does not affect external healing (regenerate health naturally; affect external healing).trueBoolYesYes
playersNetherPortalCreativeDelaySets the tick delay for Creative mode players using Nether portals.1IntYesNo
playersNetherPortalDefaultDelaySets the tick delay for Survival and adventure mode players using Nether portals.80IntYesNo
playersSleepingPercentageSpecifies the percentage of players required to sleep to skip the night.100IntYesYes
projectilesCanBreakBlocksDetermines if projectiles, such as tridents, can break blocks.trueBoolYesNo
pvpControls whether players can engage in combat with one another.trueBoolNoYes
randomTickSpeedDefines how often random ticks occur for plant growth and leaf decay; negative values disable random ticks, and numbers over 4096 result in plant growth leaf decay and even leaf decay instantaneous (random ticks occur; negative values disables random ticks; growth leaf decay etc).3 (JE) / 1 (BE)IntYesYes
recipesUnlockControls whether players must collect items to unlock only those recipes in the recipe book, recipesunlock controls only those recipes.trueBoolNoYes
reducedDebugInfoDetermines if the debug screen shows less detailed information, including chunk boundaries, compared to full detail.falseBoolYesNo
respawnBlocksExplodePrevents beds and respawn anchors from exploding in dimensions where they aren’t native.trueBoolNoYes

Still have some questions?



Feel free to reach out to our support team. Just open a ticket!

By: Mason B.

Updated on: 04/03/2025

Was this article helpful?

Share your feedback

Cancel

Thank you!