The Ruler Mod (1.21.10, 1.20.1) – Lock Any Game Rules In All Saves
351
0
November 10, 2025
The Ruler Mod allows players and modpack creators to set and lock default game rules across all saves, including modded worlds. By editing a single JSON config file in the .minecraft/config folder, you can enforce rules like disabling daylight cycles (doDaylightCycle: false) universally. This eliminates the need to manually adjust gamerules in every new world, making it ideal for modpacks, servers, or players wanting consistent settings.
![]()
Features:
- Forces specified gamerules (vanilla or modded) to apply to all saves upon world load, overriding per-world defaults.
- Edit the_ruler.json with key-value pairs (e.g., “doDaylightCycle”: false), create the file if missing, then /reload (servers) or rejoin the world.
- Minimal overhead, no in-game UI or commands needed beyond standard reload/rejoin.
Screenshots:









How To Use:
For example, you want to force set doDaylightCycle to false
1.Open file .minecraft/config/the_ruler.json. If this file is not existed, create it.
2.Write the following contents:
{
"doDaylightCycle": false
}
3.Run /reload (If you on a server) and rejoin the world.
Crafting Recipes:
Recommend that you should install Just Enough Items (for mods using Forge) or Roughly Enough Items (for mods using Fabric) to view the full recipes included in this mod.
Requires:
How to install:
Click the following link to view details: How to Install Mods for Minecraft Java Edition on PC: A Beginner Guide
The Ruler Mod Download Links
For Minecraft 1.20.1, 1.20
Forge version: Download from Server 1 – Download from Server 2
Fabric version: Download from Server 1 – Download from Server 2
For Minecraft 1.20.4
Fabric version: Download from Server 1 – Download from Server 2
NeoForge version: Download from Server 1 – Download from Server 2
For Minecraft 1.20.6
Fabric version: Download from Server 1 – Download from Server 2
NeoForge version: Download from Server 1 – Download from Server 2
For Minecraft 1.21.1, 1.21
Fabric version: Download from Server 1 – Download from Server 2
NeoForge version: Download from Server 1 – Download from Server 2
For Minecraft 1.21.4
Fabric version: Download from Server 1 – Download from Server 2
NeoForge version: Download from Server 1 – Download from Server 2
For Minecraft 1.21.10, 1.21.9, 1.21.8, 1.21.7, 1.21.6, 1.21.5
Fabric version: Download from Server 1 – Download from Server 2
NeoForge version: Download from Server 1 – Download from Server 2