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?)
GameRule Manager

GameRule Manager

Mod

Enhance controls for gamerules

Server ManagementUtility

35.0k downloads
5 followers

GameRule Manager

This mod provide new ways to control gamerules.

Features

  • Change default gamerule values. (Via config)
  • Lock specific gamerule. (Via config)
  • Set gamerule standalone for each dimension. (Via command)

How to use

Config

There are 2 config files

Global config

Config file is at .minecraft/config/gamerule_manager/default.json. If this file is not existed, create it. Example:

{
  //Apply to all dimension
  "default": {
    "doDaylightCycle": false,
    "doMobSpawning": {
      "value": false,
      //Lock key is optional
      "lock": true
    },
    "doTraderSpawning": {
      "value": false,
      "lock": false
    }
  },
  "difficulty": "easy"
}

Dimension specific config

Config file is at .minecraft/config/gamerule_manager/specific.json. If this file is not existed, create it. Example:

{
  //Dimension id, NOTE: You need to use "/gamerulemanager" to split out first to apply
  "minecraft:overworld": {
    "gamerules": {
      "keepInventory": {
        "value": true,
        "lock": true
      }
    },
    "difficulty": {
      "value": "hard",
      "lock": true
    }
  }
}

Command

/gamerulemanager <create/remove/list>: Used to control whether specific dimension use standalone gamerules.

Once you split out, you can join that dimension and use /gamerule and /difficulty to change gamerule and difficulty only for that dimension.

External resources


Project members

IAFEnvoy

Owner


Technical information

License
ARR
Client side
unsupported
Server side
required
Project ID