Global GameRules
by GoryMoon
Global GameRules lets a server owner set GameRules and a default difficulty that apply whenever a world is loaded, and can lock a world's difficulty.
What it does
Settings are read from the config when a world loads, so a rule or difficulty chosen once applies across worlds without editing each save by hand. Any GameRule or difficulty change made in one world is carried over to every other world on its next load and written to the config.
Locking a world's difficulty is permanent: once locked, the difficulty cannot be changed again, and a locked world keeps its difficulty when loaded. The lock is applied after any difficulty change in that world. Either config file can be edited, and its changes take effect on the next world load. The author recommends the Configured mod for changing configs in-game.
Global GameRules is a Forge mod for 1.18.2 – 1.20.1, with files for 1.18.2, 1.19.2, 1.19.3, 1.19.4, 1.20 and 1.20.1. It is server-side only, so players join without installing it. It is open source under the GNU Lesser General Public License v3.0 or later, and the author allows its use in modpacks.
Key features
Global GameRules
GameRule values defined in the config apply to every world when it loads, instead of being set per save.
Default world difficulty
A default difficulty is applied when a world loads, so new worlds start at the chosen level.
Difficulty locking
A world's difficulty can be locked so it cannot be changed again and keeps its setting on every load.
Shared changes
GameRule and difficulty changes made in one world are applied to all other worlds on load and saved to the config.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Use cases
Server-wide rules
Server owners can keep one GameRule set across every world a server loads, without touching each save.
Modpack settings
Modpack authors can ship a fixed difficulty and rule set, since the author allows use in modpacks.
Who it’s for: Server owners and modpack authors who want the same GameRules and difficulty across several worlds, and who are comfortable editing a config file or using the Configured mod.
How it compares
ModernDifficultyLocker is a Forge mod for 1.7.10 that is client and server and open source under the MIT License, so it targets a much older game version. Expanded Gamerules is server-side only and open source under the MIT License, covering 1.16 – 1.20.6 on both Fabric and Forge, so it reaches more loaders and versions than Global GameRules.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Global GameRules | Forge | 1.18.2 – 1.20.1 | Server-side only | 2025-11-01 |
| ModernDifficultyLocker | Forge | 1.7.10 | Client and server | 2026-09-29 |
| Expanded Gamerules | Fabric and Forge | 1.16 – 1.20.6 | Server-side only | 2025-07-13 |
Questions
Does Global GameRules need to be installed on the client?
Can a locked world's difficulty be changed later?
How are config changes applied?
In the catalog
Global GameRules is one of 29,952 Game mechanics mods on ModsFinder, and one of 13,316 Game mechanics mods for Forge. 34,764 mods support Minecraft 1.20.1.
More from GoryMoon
Similar mods
What the author says
A mod that allows for global GameRules that applies when a world is loaded. Also alows for default world difficulty when loaded and locking of the difficulty
Official listing
- Modrinth page
- modrinth.com/mod/global-gamerules
- Owner
- GoryMoon
- Published
- 2023-06-14
- Updated on Modrinth
- 2025-11-01
- Facts verified
- 2026-10-15
