Gamerule Command Generator
Build a /gamerule command for keepInventory, mobGriefing, randomTickSpeed, and more — exact Java Edition syntax with the right value type per rule.
Most of these need operator permission — run them from an op's chat, a command block, or the server console.
Looking for more Minecraft tools?
A suite of client-side generators, viewers and converters — all free, all in your browser.