Promotional Banner


Return to Blog Catalog

All Minecraft Gamerules & How to Use Them

Posted on by amber
Every Minecraft world, both offline and online, has a list of hidden rules players can edit. They range significantly in what they can do and are often added in response to common third-party tools. One-player sleep for servers being a recent example! Today we explore all Minecraft Gamerules & how to use them.

Introduction to Minecraft Gamerules

Gamerules are edited in-game through the use of commands in chat. They apply instantly after clicking enter and require no restarts, but for players on servers, sufficient permissions will be needed for them to work. Most gamerules are true or false, but some, not all, instead require values. Examples of both can be found below:
  • /gamerule <gamerule> <true/false> <value>
  • /gamerule keepInventory true
  • /gamerule playerSleepingPercentage 100

All Minecraft Gamerules

All Minecraft Gamerules as of 1.19 have been listed alphabetically. It is very important to note that not all gamerules work for both Java Edition and Bedrock Edition! Some are, unfortunately, exclusive to their respective versions. announceAdvancements - true/false Whether advancements should be announced in chat. commandBlockEnabled - true/false Whether command blocks should be enabled in-game. commandBlockOutput - true/false Whether command blocks should notify admins when they perform commands. disableElytraMovementCheck - true/false Whether the server should skip checking player speed when the player is wearing elytra. Often helps with jittering due to lag in multiplayer, but may also be used to travel unfairly long distances in survival mode. disableRaids - true/false Whether raids are disabled. doDaylightCycle - true/false Whether the daylight cycle and moon phases progress. doEntityDrops -true/false Whether entities that are not mobs should have drops. doFireTick - true/false Whether fire should spread and naturally extinguish. doInsomnia - true/false Whether phantoms can spawn in the nighttime. doImmediateRespawn - true/false Players respawn immediately without showing the death screen. doLimitedCrafting - true/false Whether players should be able to craft only those recipes that they’ve unlocked first. doMobLoot - true/false Whether mobs should drop items. doMobSpawning - true/false Whether mobs should naturally spawn. Does not affect monster spawners. doPatrolSpawning - true/false Whether patrols can spawn. doTileDrops - true/false Whether blocks should have drops. doTraderSpawning - true/false Whether wandering traders can spawn. doWeatherCycle - true/false Whether the weather can change naturally. The /weather command can still change the weather. doWardenSpawning - true/false Whether wardens can spawn. drowningDamage - true/false Whether the player should take damage when drowning. fallDamage - true/false Whether the player should take fall damage. fireDamage - true/false Whether the player should take fire damage. forgiveDeadPlayers - true/false Makes angered neutral mobs stop being angry when the targeted player dies nearby. freezeDamage - true/false Whether the player should take damage when inside powder snow. functionCommandLimit - Int value (default: 10000) The maximum number of commands that can be executed by /function at once. keepInventory - true/false Whether the player should keep items and experience in their inventory after death. logAdminCommands - true/false Whether to log admin commands to server log. maxCommandChainLength - Int value (default: 65536) Determines the number at which the chain command block acts as a “chain.” maxEntityCramming - Int value (default: 24) The maximum number of other pushable entities a mob or player can push, before taking 3 suffocation damage per half-second. Setting to 0 or lower disables the rule. mobGriefing - true/false Whether mobs should be able to change blocks and pick up items. This will result in disabling bartering and affect the capabilities of zombie-like creatures like zombie pigmen to pathfind to turtle eggs. naturalRegeneration - true/false Whether the player can regenerate health naturally if their hunger is full enough. playersSleepingPercentage - Int value (default: 100) What percentage of players must sleep to skip the night. pvp - true/false Whether the player can fight with other players. randomTickSpeed - Any int value (def: 3) How often a random block tick occurs (such as plant growth) per chunk section per game tick. 0 disables random ticks. reducedDebugInfo - true/false Whether the debug screen shows all or reduced information; and whether the effects of F3+B and F3+G are shown. respawnBlocksExplode - true/false Prevents beds/respawn anchors from exploding in other dimensions. sendCommandFeedback - true/false Whether the feedback from commands executed by a player should show up in chat. Also affects the default behavior of whether command blocks store their output text. showBorderEffect - true/false Whether border blocks effects are shown. showCoordinates - true/false Whether the player’s coordinates are displayed. showDeathMessages - true/false Whether death messages are put into chat when a player dies. Also affects whether a message is sent to the pet’s owner when the pet dies. showTags - true/false Hides the “Can place on” and “Can destroy” block lists from item lore, as well as item lock indicators. spawnRadius - Any int value (def: 10) The number of blocks outward from the world spawn coordinates that a player spawns in when first joining a server or when dying without a personal spawn point. spectatorsGenerateChunks - true/false Whether players in spectator mode can generate chunks. tntExplodes - true/false Whether TNT explodes after activation. universalAnger - true/false Makes angered neutral mobs attack any nearby player, not just the player that angered them.   For further details on each of these commands, we highly recommend checking out the Minecraft wiki. Their full gamerule list can be found here.

A List’s end

Minecraft gamerules are an amazing way to make Minecraft better fit your playstyle. It is funny to think many of these commands once required a plugin or third-party tool to achieve what is now done with so much ease. We can’t wait to see what new gamerules make it into the next Minecraft update! Until Next Time, BisectHosting =)
Get Started with a
Minecraft Server

Looking to create your own gaming server? It only takes a few minutes.

You Might Also Like

blog loading icon
Search our blog

Join our Discord!

20,000+ Members & Growing!

Join our DiscordDISCORD
Share our blog

Start your Minecraft server

Looking to create your own gaming server? It only takes a few minutes.

What do you think?

3 Responses
It's okayIt's Okay
It's okayPerfect
It's okayLoved it!