Gamerule Command Generator

Builds /gamerule commands for every Java Edition game rule, like keep_inventory or mob_griefing (keepInventory, mobGriefing before 1.21.11), with the right name and value type for the version you pick.

Part of Player Command Builder — all tabs in one tool.

Most of these need operator permission — run them from an op's chat, a command block, or the server console.

Quick guides

How to use this tool, and the questions players ask most.

You May Also Like

Other tools on 9Minecraft you may find useful.