nineMinecraft is a joke site.
nineMinecraft is in no way affiliated with Modrinth or 9minecraft. (And frankly, who wants to be affiliated with the latter?)
Global GameRule [Fabric]

Global GameRule [Fabric]

Mod

Set default game rules cross saves

Server ManagementUtility

2,267 downloads
1 follower
Global GameRule [Fabric] has been archived. Global GameRule [Fabric] will not receive any further updates unless the author decides to unarchive the project.

This mod can lock any game rules in all saves. (Include new 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/global_game_rule.json. If this file is not existed, create it.

2.Write the following contents:

{
  "doDaylightCycle": true
}

3.Run /reload (If you on a server) and rejoin the world.

External resources


Project members

IAFEnvoy

Owner


Technical information

License
LGPL-3.0-or-later
Client side
unsupported
Server side
required
Project ID