Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
The Ruler

The Ruler

Set default game rules cross saves

10.3k
2
Management
Utility

Compatibility

Minecraft: Java Edition

1.21.1
1.20.6
1.20.4
1.20.1

Platforms

Fabric
Forge
NeoForge

Supported environments

Server-side
Client and server (optional)

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Links

Report issues View source Join Discord server
Donate on PatreonDonate on Ko-fiDonate

Creators

IAFEnvoy
IAFEnvoy Owner

Details

Licensed LGPL-3.0-or-later
Published 11 months ago
Updated last month
DescriptionChangelogVersions

This mod can lock any game rules in all saves. (Include modded ones)

Fell free to use this mod in your modpack.

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.

Modrinth is open source.

main@4b75cb8

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.