How to setup and use Gamerules

This guide will show you how to setup and use minecraft Gamerules

Hey there MinecraftGamers! 👋 This guide will show you how to setup and use Gamerules in a minecraft server

Rule

Descriptions

Possible Values

Default Values

commandBlockOutput

Whether command blocks notify admins when commands are executed

true or false

true

disableElytraMovementCheck

Disables the check in a server whether a player is moving too fast

true or false

false

disableRaids

Disables Raids (added in 1.14.3)

true or false

false

doDaylightCycle

Whether time advances in the day/night cycle. If set to false, time will stop at the current moment.

true or false

true

doEntityDrops

Whether entities should have drops

true or false

true

doFireTick

Whether fire should naturally spread and then extinguish

true or false

true

doImmediateRespawn

Whether player immediately respawns without seeing the respawn menu (the respawn menu displays the message that you died with the options to respawn or go to the main menu) (added in 1.15)

true or false

false

doInsomnia

Whether phantoms will spawn at night if a player hasn't slept (added in 1.15)

true or false

true

doLimitedCrafting

Limit crafting to recipes that are unlocked

true or false

false

doMobLoot

Whether mobs should have drops

true or false

true

doMobSpawning

Whether mobs should spawn naturally

true or false

true

doPatrolSpawning

Whether patrols should spawn (added in 1.15.2)

true or false

true

doTileDrops

Whether blocks should have drops

true or false

true

doTraderSpawning

Whether wandering traders should spawn (added in 1.15.2)

true or false

true

doWeatherCycle

Whether weather changes. If set to false, weather will stop at current cycle.

true or false

true

drowningDamage

Whether drowning causes damage (added in 1.15)

true or false

true

fallDamage

Whether falls cause damage (added in 1.15)

true or false

true

fireDamage

Whether fire causes damage (added in 1.15)

true or false

true

KeepInventory

Whether players keep their inventory after dying

true or false

false

logAdminCommands

Whether admin commands are added to the server log

true or false

true

maxCommandChainLength

Maximum length of command chain

65536

maxEntityCramming

Maximum number of entities that can be crammed

24

mobGriefing

Whether mobs can pick up items or change blocks

true or false

true

naturalRegeneration

Whether players can regenerate health naturally through their hunger bar

true or false

true

randomTickSpeed

Sets the speed of how fast things grow or decay (such as the growth of a sapling into a tree).

0 disables the random tick. The higher the value, the faster the random tick.

3

reducedDebugInfo

Whether debug screen hides some information

true or false

false

sendCommandFeedback

Whether feedback from player commands appears in the chat

true or false

true

showDeathMessages

Whether a message appears in the chat when a player dies

true or false

true

spawnRadius

Controls how far from the world spawn point you can spawn

10

spectatorsGenerateChunks

Whether spectators can generate chunks in the game

true or false

true

Last updated