> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.skynode.pro/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Minecraft | All about Gamerules Commands

# Minecraft | All about Gamerules Commands

## Gamerules
Gamerules can control various aspects of the gameplay, and provide a lot of customisation for server owners.

## How to Edit Gamerules

**/gamerule <gamerule> <true/false> <value>**
(Example: "/gamerule keepInventory false")

## List of Gamerules

**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.

**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.

**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 - Any int value (def: 65536)**
Determines the number at which the chain command block acts as a "chain."

**maxEntityCramming - Any int value (def: 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.

**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.

**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.

**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.

**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.

**showTags - true/false**
Hides the "Can place on" and "Can destroy" blocklists from item lore.

**It is better to leave these things as default if you do not understood them that much since that's where you are used to with! Use these commands with care and understanding!**