
Rules4Worlds
A library mod for fabric mod developers that enables you to easily create world-specific gamerules.
About this Mod
About
Have you ever found yourself struggling with adding gamerules in your Fabric mod? Rules4Worlds aims to solve this problem by allowing you to easily create world-specific gamerules using your own configuration command, while still providing the flexibility to utilize custom setting types. It also supports categories and the use of a configuration file (currently only supports JSON).
How to use
To learn how to use this mod, please refer to the instructions provided in the wiki of my repository.
Note
This mod is still in early development, so you may encounter bugs. Please note that both features and code are subject to change. If you discover any bugs or have ideas for improvements regarding the code, documentation, or features, feel free to share them with me through the repository's issue tracker.
Explore
Are you in search of an easy-to-use, fully customizable and versatile quality of life teleportation mod? Whether you've been looking for one or not, check out my other mod: WarpUtils
Available Versions
How to Install Rules4Worlds on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.1).
Install Mod
Open the mod browser in the dashboard and search for "Rules4Worlds". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.1, 1.21, 1.20.6 (+11 more)
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Rules4Worlds server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.1). You can switch loaders with one click in the panel.
Is Rules4Worlds compatible with fabric?
Rules4Worlds officially supports fabric for Minecraft 1.21.1, 1.21, 1.20.6. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Rules4Worlds – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Rules4Worlds consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install Rules4Worlds with just one click on your server.