Global GameRules lets you set global gamerules that are applied whenever a world is loaded. It also sets a default world difficulty and can lock it; once locked, the difficulty cannot be unlocked again.
Changes to gamerules or difficulty in one world are saved to the config and carried over to every other world on load. Edit them in the config file or an in-game GUI (Configured is recommended on 1.16+). Runs on Forge and NeoForge, Minecraft 1.7.10 - 1.20.1.
Keeping the same rules across every world on your Minecraft server takes a single click to set up from the panel.