NEWUse coupon code SMX20 to get 20% OFF your first billing cycle on any game server or VPS!Explore Store

Gamerule Generator

Search every gamerule, set a value and copy the command.

Commands for changed rules

Output
// Change a rule below to generate its command

All gamerules

RuleValueDefaultWhat it does
announceAdvancementstrueAnnounce advancements in chat.
blockExplosionDropDecaytrueSome blocks lose drops in block-caused explosions.
commandBlockOutputtrueCommand blocks notify admins when they run.
commandModificationBlockLimit32768Max blocks changed by one /fill or /clone.
disableElytraMovementCheckfalseSkip the server elytra speed check.
disablePlayerMovementCheckfalseSkip player movement speed checks (1.21.2+).
disableRaidsfalseTurn off village raids.
doDaylightCycletrueTime of day advances.
doEntityDropstrueNon-mob entities (minecarts, boats…) drop items.
doFireTicktrueFire spreads and burns out.
doImmediateRespawnfalseSkip the death screen.
doInsomniatruePhantoms spawn.
doLimitedCraftingfalseOnly unlocked recipes can be crafted.
doMobLoottrueMobs drop loot.
doMobSpawningtrueMobs spawn naturally.
doPatrolSpawningtruePillager patrols spawn.
doTileDropstrueBlocks drop items when broken.
doTraderSpawningtrueWandering traders spawn.
doVinesSpreadtrueVines spread.
doWardenSpawningtrueWardens spawn.
doWeatherCycletrueWeather changes.
drowningDamagetruePlayers take drowning damage.
enderPearlsVanishOnDeathtrueThrown ender pearls vanish when their owner dies.
fallDamagetruePlayers take fall damage.
fireDamagetruePlayers take fire damage.
forgiveDeadPlayerstrueAngered neutral mobs calm down when the target dies.
freezeDamagetruePlayers take powder-snow freezing damage.
globalSoundEventstrueSome events (dragon, wither) are heard everywhere.
keepInventoryfalsePlayers keep items and XP when they die.
lavaSourceConversionfalseFlowing lava can form new source blocks.
logAdminCommandstrueLog admin commands to the server log.
maxCommandChainLength65536Max commands in a function/command chain.
maxCommandForkCount65536Max contexts /execute can fork into.
maxEntityCramming24Entities in one block before damage (0 = off).
minecartMaxSpeed8Max minecart speed in blocks/second (experimental).
mobExplosionDropDecaytrueSome blocks lose drops in mob-caused explosions.
mobGriefingtrueMobs can break blocks and pick up items (creeper damage, endermen…).
naturalRegenerationtruePlayers regenerate health from food.
playersNetherPortalCreativeDelay0Seconds creative players wait in a Nether portal.
playersNetherPortalDefaultDelay80Ticks non-creative players wait in a portal.
playersSleepingPercentage100Percent of players that must sleep to skip the night.
projectilesCanBreakBlockstrueProjectiles destroy breakable blocks.
randomTickSpeed3Random block ticks per chunk section (crop growth speed).
reducedDebugInfofalseHide coordinates in the F3 screen.
sendCommandFeedbacktrueShow command results in chat.
showDeathMessagestrueShow death messages in chat.
snowAccumulationHeight1Max snow layers that form during snowfall.
spawnChunkRadius2Radius of chunks kept loaded around world spawn (1.21.5+).
spawnRadius10How far from spawn players first appear.
spectatorsGenerateChunkstrueSpectators generate new chunks.
tntExplodestrueTNT can be ignited and explode (1.21.5+).
tntExplosionDropDecayfalseSome blocks lose drops in TNT explosions.
universalAngerfalseAngered neutral mobs attack any nearby player.
waterSourceConversiontrueFlowing water can form new source blocks.