O comando gamerule te permite ajustar as características do jogo, sendo cada uma individualmente aplicada por um operador (OP) via comando de texto.
Não sabe como ativar OP? Leia nosso tutorial: Como ativar os cheats e OP no Minecraft Bedrock Edition
O uso do comando é o seguinte: /gamerule <rule> <value>
Por exemplo, o comando /gamerule freezeDamage false irá desativar o dano de congelamento do bloco de neve em pó.
Você também pode executar os comandos através do Web Console disponível no Painel de Controle.
Tabela de Comandos "Game Rules"
| Rule name | Descrição da função | Valor padão | Tipo | Compatível | |
|---|---|---|---|---|---|
| Java | Bedrock | ||||
announceAdvancements |
Whether advancements should be announced in chat | true |
Bool | Sim | Não |
commandBlocksEnabled |
Whether command blocks should be enabled in-game | true |
Bool | Não | Sim |
commandBlockOutput |
Whether command blocks should notify admins when they perform commands | true |
Bool | Sim | Sim |
disableElytraMovementCheck |
Whether the server should skip checking player speed when the player is wearing elytra. Often helps with jittering due to lag in multiplayer. | false |
Bool | Sim | Não |
disableRaids |
Whether raids are disabled. | false |
Bool | Sim | Não |
doDaylightCycle |
Whether the daylight cycle and moon phases progress | true |
Bool | Sim | Sim |
doEntityDrops |
Whether entities that are not mobs should have drops | true |
Bool | Sim | Sim |
doFireTick |
Whether fire should spread and naturally extinguish | true |
Bool | Sim | Sim |
doInsomnia |
Whether phantoms can spawn in the nighttime | true |
Bool | Sim | Sim |
doImmediateRespawn |
Players respawn immediately without showing the death screen | false |
Bool | Sim | Sim |
doLimitedCrafting |
Whether players should be able to craft only those recipes that they've unlocked first | false |
Bool | Sim | Não |
doMobLoot |
Whether mobs should drop items | true |
Bool | Sim | Sim |
doMobSpawning |
Whether mobs should naturally spawn. Does not affect monster spawners. | true |
Bool | Sim | Sim |
doPatrolSpawning |
Whether patrols can spawn | true |
Bool | Sim | Não |
doTileDrops |
Whether blocks should have drops | true |
Bool | Sim | Sim |
doTraderSpawning |
Whether wandering traders can spawn | true |
Bool | Sim | Não |
doWeatherCycle |
Whether the weather can change naturally. The /weather command can still change weather. |
true |
Bool | Sim | Sim |
drowningDamage |
Whether the player should take damage when drowning | true |
Bool | Sim | Sim |
fallDamage |
Whether the player should take fall damage | true |
Bool | Sim | Sim |
fireDamage |
Whether the player should take damage in fire, lava, campfires, or on magma blocks[Java Edition only][1]. | true |
Bool | Sim | Sim |
forgiveDeadPlayers |
Makes angered neutral mobs stop being angry when the targeted player dies nearby | true |
Bool | Sim | Não |
freezeDamage[upcoming: JE 1.17 & BE 1.17] |
Whether the player should take damage when inside powder snow | true |
Bool | Sim | Sim |
functionCommandLimit |
The maximum number of commands that can be executed by /function at once |
10000 |
Int | Não | Sim |
keepInventory |
Whether the player should keep items and experience in their inventory after death | false |
Bool | Sim | Sim |
logAdminCommands |
Whether to log admin commands to server log | true |
Bool | Sim | Não |
maxCommandChainLength |
The maximum length of a chain of commands that can be executed during one tick. Applies to command blocks and functions. | 65536 |
Int | Sim | Sim |
maxEntityCramming |
The maximum number of pushable entities a mob or player can push, before taking 3 suffocation damage per half-second. Setting to 0 or lower disables the rule. Damage affects survival-mode or adventure-mode players, and all mobs but bats. Pushable entities include non-spectator-mode players, any mob except bats, as well as boats and minecarts. | 24 |
Int | Sim | Não |
mobGriefing |
Whether creepers, zombies, endermen, ghasts, withers, ender dragons, rabbits, sheep, villagers, silverfish, snow golems, and end crystals should be able to change blocks and whether mobs can pick up items, which also disables bartering. This also affects the capability of zombie-like creatures like zombie pigmen and drowned to pathfind to turtle eggs. | true |
Bool | Sim | Sim |
naturalRegeneration |
Whether the player can regenerate health naturally if their hunger is full enough (doesn't affect external healing, such as golden apples, the Regeneration effect, etc.) | true |
Bool | Sim | Sim |
playersSleepingPercentage[upcoming: JE 1.17] |
What percentage of players must sleep to skip the night. | 100 |
Int | Sim | Não |
pvp |
Whether the player can fight with other players | true |
Bool | Não | Sim |
randomTickSpeed |
How often a random block tick occurs (such as plant growth, leaf decay, etc.) per chunk section per game tick. 0 and negative values disables random ticks, higher numbers increase random ticks. Setting to a high integer results in high speeds of decay and growth. Numbers over 4096 make plant growth or leaf decay instantaneous. | 3[JE only]1[BE only] |
Int | Sim | Sim |
reducedDebugInfo |
Whether the debug screen shows all or reduced information; and whether the effects of F3 + B (entity hitboxes) and F3 + G (chunk boundaries) are shown. | false |
Bool | Sim | Não |
sendCommandFeedback |
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 | true |
Bool | Sim | Sim |
showCoordinates |
Whether the player's coordinates are displayed | true |
Bool | Não | Sim |
showDeathMessages |
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. | true |
Bool | Sim | Sim |
spawnRadius |
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 spawnpoint. | 10[JE only]5[BE only] |
Int | Sim | Sim |
spectatorsGenerateChunks |
Whether players in spectator mode can generate chunks | true |
Bool | Sim | Não |
tntExplodes |
Whether TNT explodes after activation | true |
Bool | Não | Sim |
universalAnger |
Makes angered neutral mobs attack any nearby player, not just the player that angered them. Works best if forgiveDeadPlayers is disabled. |
false |
Bool | Sim | Não |
showTags |
Hides the "Can place on" and "Can destroy" block lists from item lore. | true |
Bool | Não | Sim |