Game rules allow server administrators to customize the fundamental mechanics of a Minecraft Bedrock world to suit specific gameplay needs. These settings control a wide variety of environmental and player-based behaviors, determining how the game loop functions on a technical level. While many options are accessible directly through the world creation menu, several advanced configurations can only be adjusted using administrative commands within the console. Modifying these variables allows for the creation of distinct experiences, ranging from high-stakes survival challenges to controlled environments for minigames.
Requirement: Cheats must be enabled in order to set game rules in-game. Learn how to here.
Note: Game rules are case-sensitive.
The settings listed are default as of Minecraft Bedrock version 1.21.9.
How to Set Game Rules on a Minecraft Bedrock Server (Console)
1. Log in to the BisectHosting Starbase panel.
2. Start the server.
3. Go to the Console tab.
4. Run the following command to set a game rule: gamerule [rule] [value]
How to Set Game Rules on a Minecraft Bedrock Server (In-game)
1. Join the server as an OP user.
2. Press T to open the chat.
3. Run the following command to set a game rule: /gamerule [rule] [value]
Minecraft Bedrock Game Rules
| Rule | Description | Default Value | Command Only? |
|---|---|---|---|
commandblockoutput |
Whether command blocks should notify admins when they perform commands. | true |
Yes |
commandblocksenabled |
Whether command blocks should be enabled in-game. | true |
No |
dodaylightcycle |
Whether the daylight cycle and moon phases progress. | true |
No |
doentitydrops |
Whether entities that are not mobs should have drops. | true |
No |
doimmediaterespawn |
Players respawn immediately without showing the death screen. | false |
No |
doinsomnia |
Whether phantoms can spawn in the nighttime. | true |
Yes |
dolimitedcrafting |
Whether players can craft only those recipes that they have unlocked. | false |
Yes |
domobloot |
Whether mobs should drop items and experience orbs. | true |
No |
domobspawning |
Whether mobs should spawn naturally or via global spawning logic. | true |
No |
dotiledrops |
Whether blocks should have drops. | true |
No |
doweathercycle |
Whether the weather can change naturally. | true |
No |
drowningdamage |
Whether the player should take damage when drowning. | true |
Yes |
falldamage |
Whether the player should take fall damage. | true |
Yes |
firedamage |
Whether the player should take damage in fire, lava, campfires, or on magma blocks. | true |
Yes |
freezedamage |
Whether the player should take damage when inside powder snow. | true |
Yes |
functioncommandlimit |
The maximum number of commands that can be executed by /function at once. | 10000 |
Yes |
keepinventory |
Whether the player should keep items and experience in their inventory after death. | false |
No |
locatorbar |
Whether the player's locator bar is enabled, indicating player location. | true |
No |
maxcommandchainlength |
The maximum length of a chain of commands that can be executed during one tick. | 65536 |
Yes |
mobgriefing |
Whether mobs should be able to change blocks or pick up items. | true |
No |
naturalregeneration |
Whether the player can regenerate health naturally if their hunger is full enough. | true |
No |
playerssleepingpercentage |
Percentage of players in the Overworld required to sleep to skip the night. | 100 |
No |
projectilescanbreakblocks |
Whether impact projectiles destroy blocks (chorus flowers, dripstone, pots). | true |
Yes |
pvp |
Whether players can damage other players. | true |
No |
randomtickspeed |
How often a random block tick occurs (plant growth, leaf decay) per chunk section per game tick. | 1 |
No |
recipesunlock |
Whether the player needs to collect items to unlock recipes in the recipe book. | true |
No |
respawnblocksexplode |
Prevents beds/respawn anchors from exploding in other dimensions. | true |
No |
sendcommandfeedback |
Whether the feedback from commands executed by a player should show up in chat. | true |
Yes |
showbordereffect |
Whether the particles of the border block are shown. | true |
Yes |
showcoordinates |
Whether the player's coordinates are displayed on the HUD. | true |
No |
showdaysplayed |
Whether the world's in-game day count is displayed on the HUD. | false |
No |
showdeathmessages |
Whether death messages are put into chat when a player dies. | true |
Yes |
showrecipemessages |
Whether the recipe toasts are displayed. | true |
Yes |
showtags |
Hides the "Can place on" and "Can destroy" block lists from item lore. | true |
Yes |
spawnradius |
The number of blocks outward from the world spawn coordinates that a player spawns in. | 10 |
No |
tntexplodes |
Whether TNT explodes after activation. | true |
No |
tntexplosiondropdecay |
Whether block loot is dropped by all blocks (false) or randomly (true) during TNT explosion.
|
false |
Yes |