MC Toolkit / Commands / Player Command Builder / Gamerule Command Generator
Gamerule Command Generator
Build a /gamerule command for keepInventory, mobGriefing, randomTickSpeed, and more — exact Java Edition syntax with the right value type per rule.
236 argument paths · Minecraft 26.2 · from Mojang's own command tree
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.