Minecraft /gamerule Command
Imposta o verifica regole del gioco (come keepInventory, mobGriefing, doDaylightCycle).
Compatibilità Versioni
Sintassi del Comando
/gamerule <rule> [<value>]Argomenti Spiegati
ruleGamerule StringObbligatorioThe name of the gamerule (e.g., keepInventory, doDaylightCycle). Case sensitive!
valueBoolean / IntegerThe setting to apply. Boolean rules take true/false, integer rules take numbers.
Esempi Pratici
/gamerule keepInventory truePrevents players from losing their inventory items when they die.
/gamerule doDaylightCycle falseFreezes the daylight cycle at its current time.
/gamerule randomTickSpeed 100Speeds up block updates (e.g. crop growth, leaf decay) in Java (default is 3).
Note Importanti
Be aware that some gamerules are exclusive. E.g. Bedrock has `commandBlocksEnabled` and `showCoordinates`, while Java has `playersSleepingPercentage` and `mobGriefing` behaves slightly differently.
Pronto a creare il tuo comando?
Usa il nostro generatore interattivo per creare comandi /gamerule senza errori con un'interfaccia visuale.
Apri il Generatore di Comandi