20% OFF Your first order with SAVE20
Background image of the page

Help Article

Video tutorial

How To Enable/Disable Different Gamerules?

This article shows you step-by-step on how to enable/disable different gamerules on your Minecraft server.

Last updated on  May 28, 2026

Gamerules are server-wide settings that let you control core gameplay behaviours, from whether fire spreads to whether players keep their inventory on death. They are managed through in-game commands and take effect immediately without a server restart.

This guide covers how to use the /gamerule command and includes a full reference of all gamerule names as updated in Minecraft 1.21.11.

⚠️
IMPORTANT: Gamerule names were fully renamed in version 1.21.11. If your server is running 1.21.11 or later, you must use the new minecraft: prefixed names listed below. Old names will no longer work.

How to Change Gamerules?

Gamerules are changed directly from the in-game console or your server console, no file edits required.

  1. Connect to your server and make sure you have OP permissions.
  2. Type the following command to change a gamerule:
/gamerule <gamerule_name> <value>
  1. Replace <gamerule_name> with the gamerule you want to change (see the reference list below).
  2. Replace <value> with true to enable or false to disable it. For numeric gamerules, enter a number instead.
💡
TIP: You can also change these gamerules in the game panel's console. However, it's important to note that, for example, if you set the keep_inventory gamerule to false via console, it will only affect the overworld.

To make sure the same gamerule applies to other dimensions, you must run the gamerule in those dimensions in-game.

Gamerule Reference (Minecraft 1.21.11+)

Mob and Entity Behavior

Old Name New Name (1.21.11+) Description
mobGriefing minecraft:mob_griefing Controls whether mobs can destroy or alter blocks.
doMobSpawning minecraft:spawn_mobs Toggles natural mob spawning.
spawnMonsters minecraft:spawn_monsters Toggles monster spawning specifically.
doMobLoot minecraft:mob_drops Controls whether mobs drop loot on death.
doEntityDrops minecraft:entity_drops Controls whether entities drop items on death.
maxEntityCramming minecraft:max_entity_cramming Sets the max number of entities that can occupy the same space.
forgiveDeadPlayers minecraft:forgive_dead_players Controls whether angered mobs stop targeting dead players.
universalAnger minecraft:universal_anger Controls whether angered neutral mobs target all players.
doInsomnia minecraft:spawn_phantoms Toggles whether phantoms spawn when players skip sleep.
doPatrolSpawning minecraft:spawn_patrols Toggles patrol spawning.
doTraderSpawning minecraft:spawn_wandering_traders Toggles wandering trader spawning.
doWardenSpawning minecraft:spawn_wardens Toggles warden spawning.

Player Mechanics

Old Name New Name (1.21.11+) Description
keepInventory minecraft:keep_inventory Players keep their inventory on death when set to true.
naturalRegeneration minecraft:natural_health_regeneration Controls passive health regeneration.
doImmediateRespawn minecraft:immediate_respawn Skips the respawn screen when set to true.
pvp minecraft:pvp Enables or disables player versus player damage.
playersSleepingPercentage minecraft:players_sleeping_percentage Sets the percentage of players required to skip the night.
spawnRadius minecraft:respawn_radius Sets the radius around the spawn point where players respawn.
disablePlayerMovementCheck minecraft:player_movement_check Toggles server-side movement validation for players.
disableElytraMovementCheck minecraft:elytra_movement_check Toggles server-side elytra movement validation.
playersNetherPortalDefaultDelay minecraft:players_nether_portal_default_delay Sets the portal teleport delay for survival players.
playersNetherPortalCreativeDelay minecraft:players_nether_portal_creative_delay Sets the portal teleport delay for creative players.
allowEnteringNetherUsingPortals minecraft:allow_entering_nether_using_portals Toggles whether players can use nether portals.
locatorBar minecraft:locator_bar Toggles the locator bar display.
enderPearlsVanishOnDeath minecraft:ender_pearls_vanish_on_death Controls whether ender pearls disappear when a player dies.

Damage Types

Old Name New Name (1.21.11+) Description
drowningDamage minecraft:drowning_damage Toggles drowning damage.
fallDamage minecraft:fall_damage Toggles fall damage.
fireDamage minecraft:fire_damage Toggles fire damage.
freezeDamage minecraft:freeze_damage Toggles freeze damage from powder snow.

World and Environment

Old Name New Name (1.21.11+) Description
doFireTick / allowFireTicksAwayFromPlayer minecraft:fire_spread_radius_around_player Controls fire spread behaviour.
doDaylightCycle minecraft:advance_time Toggles the day/night cycle.
doWeatherCycle minecraft:advance_weather Toggles weather changes.
randomTickSpeed minecraft:random_tick_speed Sets the speed of random block ticks.
doTileDrops minecraft:block_drops Controls whether broken blocks drop items.
blockExplosionDropDecay minecraft:block_explosion_drop_decay Controls drop decay from block explosions.
mobExplosionDropDecay minecraft:mob_explosion_drop_decay Controls drop decay from mob explosions.
tntExplosionDropDecay minecraft:tnt_explosion_drop_decay Controls drop decay from TNT explosions.
tntExplodes minecraft:tnt_explodes Toggles whether TNT explodes.
snowAccumulationHeight minecraft:max_snow_accumulation_height Sets the max height snow can accumulate.
waterSourceConversion minecraft:water_source_conversion Toggles infinite water source creation.
lavaSourceConversion minecraft:lava_source_conversion Toggles infinite lava source creation.
doVinesSpread minecraft:spread_vines Toggles vine spreading.
disableRaids minecraft:raids Toggles raid events.
projectilesCanBreakBlocks minecraft:projectiles_can_break_blocks Controls whether projectiles can break blocks.
globalSoundEvents minecraft:global_sound_events Toggles whether certain sounds are heard globally.

Crafting and Items

Old Name New Name (1.21.11+) Description
doLimitedCrafting minecraft:limited_crafting Restricts crafting to recipes the player has unlocked.

Transport

Old Name New Name (1.21.11+) Description
minecartMaxSpeed minecraft:max_minecart_speed Sets the maximum speed for minecarts.

Admin and Commands

Old Name New Name (1.21.11+) Description
commandBlockOutput minecraft:command_block_output Toggles chat output from command blocks.
logAdminCommands minecraft:log_admin_commands Toggles logging of admin commands.
sendCommandFeedback minecraft:send_command_feedback Toggles feedback messages from commands.
reducedDebugInfo minecraft:reduced_debug_info Reduces debug info shown on the F3 screen.
showDeathMessages minecraft:show_death_messages Toggles death messages in chat.
announceAdvancements minecraft:show_advancement_messages Toggles advancement announcements in chat.
spectatorsGenerateChunks minecraft:spectators_generate_chunks Controls whether spectators cause chunk generation.
maxCommandChainLength minecraft:max_command_sequence_length Sets the max length of a command chain.
maxCommandForkCount minecraft:max_command_forks Sets the max number of command forks.
commandModificationBlockLimit minecraft:max_block_modifications Sets the max block modifications per command.
commandBlocksEnabled minecraft:command_blocks_work Toggles whether command blocks function.
spawnerBlocksEnabled minecraft:spawner_blocks_work Toggles whether spawner blocks function.

🧑‍💻
If you still require assistance, please get in touch with our support team by opening a ticket or by joining our community Discord server.