This mod can lock any game rules in all saves. (Include new ones) Also you cannot change it with /gamerule
command unless you remove it from config.
You can use this mod in your modpack without any permission.
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.