Saltar al contenido principal
MC COMMANDS logoMC COMMANDS
Referencia del Comando

Minecraft /gamerule Command

worldEdición JavaEdición Bedrock

Establece o consulta reglas del juego (como keepInventory, mobGriefing, doDaylightCycle).

Compatibilidad de Versiones

Edición Java:1.21.4 (1.13+)
Edición Bedrock:1.21.60

Sintaxis del Comando

Ambas Ediciones/gamerule <rule> [<value>]

Argumentos Explicados

Ejemplos Prácticos

/gamerule keepInventory true

Prevents players from losing their inventory items when they die.

/gamerule doDaylightCycle false

Freezes the daylight cycle at its current time.

/gamerule randomTickSpeed 100

Speeds up block updates (e.g. crop growth, leaf decay) in Java (default is 3).

Advertisement

Notas Importantes

Be aware that some gamerules are exclusive. E.g. Bedrock has `commandBlocksEnabled` and `showCoordinates`, while Java has `playersSleepingPercentage` and `mobGriefing` behaves slightly differently.

¿Listo para crear tu comando?

Usa nuestro generador interactivo para crear comandos /gamerule sin errores con una interfaz visual.

Abrir Generador de Comandos
Advertisement