Constructor /gamerule
Own server
A set of game rules and commands for itLearn more
All 59 game rules on the same screen: change what you want -- commands on the right will be assembled. In two records, new names from 1.21.11 and old ones like keepInventory.
My game select version
We'll remember in this browser and set up where your version is available. Open link settings are more important than this choice; the Vicki versions do not change.
How to use
- To the chat one at a time
Commands are entered one line at a time. You need operator rights, in a single player game - “Allow cheats” when creating a world or “Open for the network”.
- To the server console
Same thing without the leading slash. The rules are saved in the world and apply after a restart.
- Check value
Command without meaning - /gamerule keep_inventory - will write in the chat what it is now.
What you need to know about game rules
- As of 1.21.11, the rules have new names. keepInventory became keep_inventory, doDaylightCycle became advance_time. The new version does not accept old names: the command responds with an error.
- The meaning of two rules has been reversed. DisableRaids true is a raids false, disableElytraMovementCheck treu, or elytra_movement_check false. The generator reverses the value itself.
- Fire has become a number. Fire radius 0 is the old doFireTick false, −1 — fire burns everywhere. Other numbers do not have the old entry.
- The rule lives in the world, not on the server. The rules are stored in the world itself: the new world will start with defaults, and the copied one will take them with it.
- Rules that do not yet exist in your version will be rejected by the game. For example, locator_bar appeared in 1.21.6 - in the old world the command will not work with it.
The default list and values are from Java Edition 26.3. What makes every rule and why they change it -- wiki, section "Game rules".
Frequently asked questions
How to enable keepInventory in Minecraft?
The command is called 1.21.11. In older versions, the rule was called keepInventory. We need the operator's license.
Why doesn't keepInventory work in the new version?
From version 1.21.11, the rules were renamed and the old names of the game are no longer accepted. The new name is keep_inventory, doDaylightCycle now extension_time.
Do game rules remain the same after a restart?
Yes. The rules are stored in the world itself and are valid after the server is restarted; the new world begins with defaults.
