Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.

๐ŸŒ Granular Gamerules

Grants you more control over the vanilla game rule system by:

  • Breaking up some of Minecraft's most overloaded game rules, such as mobGriefing, doMobSpawning or universalAnger, into deferrable sub-rules.
  • Adding smaller utility rules such as turning off thunder or removing underground players from the sleep vote.
  • On dedicated servers, allowing some common properties in server.properties to be changed via fake game rules, such as pvp or enableCommandBlock.

These are all done in a way that doesn't break datapacks, mods or server plugins that change game rules, while letting you 'pin' features on or off.

๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆ Sub-Rules

When you install the mod, nothing will change right away. That's because most rules are deferred to their parent.

For example, the new rule mobGriefing/creepersDestroyBlocks by default will just check mobGriefing, but can be overridden to turn on or off Creeper destruction regardless.

There are 33 new sub-rules; for a full overview see the Wiki.

๐Ÿ›Œ New Miscellaneous Rules

Granular Gamerules adds a couple new rules you might find yourself wanting:

  • Removing underground players from the sleep vote - no longer prevented from sleeping due to miners.
  • Disabling thunder from the weather cycle.

These are disabled by default, and are available on the wiki for details.

๐Ÿ–ฅ๏ธ Dedicated Server Rules

You may have setup a dedicated server and realised you forgot to change some settings in server.properties. Granular Gamerules lets you change several of these in-game via fake game rules:

  • pvp
  • allowFlight
  • enableCommandBlock
  • maxPlayers
  • spawnProtection
  • viewDistance
  • simulationDistance
  • entityBroadcastRangePercentage

These are backed by the actual server.properties file, and will update the file on change.

๐Ÿ› ๏ธ Install & Requirements

Can work server-side only, in the case of dedicated servers.

Granular Gamerules requires Fabric API and YACL, and should be good to add or remove to an existing world.


Project members

JackFred

Member

Details

Licensed ARR
Published a month ago
Updated 5 days ago