Gamerule Generator
Search every gamerule, set a value and copy the command.
Commands for changed rules
// Change a rule below to generate its command
All gamerules
| Rule | Value | Default | What it does |
|---|---|---|---|
announceAdvancements | true | Announce advancements in chat. | |
blockExplosionDropDecay | true | Some blocks lose drops in block-caused explosions. | |
commandBlockOutput | true | Command blocks notify admins when they run. | |
commandModificationBlockLimit | 32768 | Max blocks changed by one /fill or /clone. | |
disableElytraMovementCheck | false | Skip the server elytra speed check. | |
disablePlayerMovementCheck | false | Skip player movement speed checks (1.21.2+). | |
disableRaids | false | Turn off village raids. | |
doDaylightCycle | true | Time of day advances. | |
doEntityDrops | true | Non-mob entities (minecarts, boats…) drop items. | |
doFireTick | true | Fire spreads and burns out. | |
doImmediateRespawn | false | Skip the death screen. | |
doInsomnia | true | Phantoms spawn. | |
doLimitedCrafting | false | Only unlocked recipes can be crafted. | |
doMobLoot | true | Mobs drop loot. | |
doMobSpawning | true | Mobs spawn naturally. | |
doPatrolSpawning | true | Pillager patrols spawn. | |
doTileDrops | true | Blocks drop items when broken. | |
doTraderSpawning | true | Wandering traders spawn. | |
doVinesSpread | true | Vines spread. | |
doWardenSpawning | true | Wardens spawn. | |
doWeatherCycle | true | Weather changes. | |
drowningDamage | true | Players take drowning damage. | |
enderPearlsVanishOnDeath | true | Thrown ender pearls vanish when their owner dies. | |
fallDamage | true | Players take fall damage. | |
fireDamage | true | Players take fire damage. | |
forgiveDeadPlayers | true | Angered neutral mobs calm down when the target dies. | |
freezeDamage | true | Players take powder-snow freezing damage. | |
globalSoundEvents | true | Some events (dragon, wither) are heard everywhere. | |
keepInventory | false | Players keep items and XP when they die. | |
lavaSourceConversion | false | Flowing lava can form new source blocks. | |
logAdminCommands | true | Log admin commands to the server log. | |
maxCommandChainLength | 65536 | Max commands in a function/command chain. | |
maxCommandForkCount | 65536 | Max contexts /execute can fork into. | |
maxEntityCramming | 24 | Entities in one block before damage (0 = off). | |
minecartMaxSpeed | 8 | Max minecart speed in blocks/second (experimental). | |
mobExplosionDropDecay | true | Some blocks lose drops in mob-caused explosions. | |
mobGriefing | true | Mobs can break blocks and pick up items (creeper damage, endermen…). | |
naturalRegeneration | true | Players regenerate health from food. | |
playersNetherPortalCreativeDelay | 0 | Seconds creative players wait in a Nether portal. | |
playersNetherPortalDefaultDelay | 80 | Ticks non-creative players wait in a portal. | |
playersSleepingPercentage | 100 | Percent of players that must sleep to skip the night. | |
projectilesCanBreakBlocks | true | Projectiles destroy breakable blocks. | |
randomTickSpeed | 3 | Random block ticks per chunk section (crop growth speed). | |
reducedDebugInfo | false | Hide coordinates in the F3 screen. | |
sendCommandFeedback | true | Show command results in chat. | |
showDeathMessages | true | Show death messages in chat. | |
snowAccumulationHeight | 1 | Max snow layers that form during snowfall. | |
spawnChunkRadius | 2 | Radius of chunks kept loaded around world spawn (1.21.5+). | |
spawnRadius | 10 | How far from spawn players first appear. | |
spectatorsGenerateChunks | true | Spectators generate new chunks. | |
tntExplodes | true | TNT can be ignited and explode (1.21.5+). | |
tntExplosionDropDecay | false | Some blocks lose drops in TNT explosions. | |
universalAnger | false | Angered neutral mobs attack any nearby player. | |
waterSourceConversion | true | Flowing water can form new source blocks. |