
Fly's config lib
Simplest JSON config lib to not repeat yourself :P
Screenshots

About this Mod
Fly's Config Lib
A shared configuration library for Fly's Minecraft mods providing JSON config management, registry helpers, and NBT pattern matching.
Features
- Load and save mod settings from a JSON file
- Automatically creates a default config file if none exists
- Detects when the config file is edited on disk and reloads it without restarting
- Backs up broken/corrupted config files with a timestamp before resetting to defaults
- Look up items, blocks, and entities by their in-game I
- Caches registry lookups so repeated lookups don't slow things down
- Match items by their NBT data (enchantments, custom names, written book authors, etc.)
- Partial NBT matching — only the tags you specify need to match, the rest are ignored
- Exact NBT matching — the item must have exactly the tags specified, nothing more
- List NBT matching — check if an item has at least one of the specified enchantments/tags
- Strict list matching — check if an item has all of the specified enchantments/tags
- Numeric NBT values match regardless of internal type
- Map config keys to values using either exact strings or regex patterns
- Extract parts of a matched string via capture groups and reuse them in the mapped value
Available Versions
How to Install Fly's config lib 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.20.6).
Install Mod
Open the mod browser in the dashboard and search for "Fly's config lib". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.20.6, 1.20.5, 1.20.4 (+9 more)
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Fly's config lib 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.20.6). You can switch loaders with one click in the panel.
Is Fly's config lib compatible with fabric and forge?
Fly's config lib officially supports fabric, forge for Minecraft 1.20.6, 1.20.5, 1.20.4. Note: Forge and Fabric mods are NOT cross-compatible – pick one loader and stick with it. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Fly's config lib – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Fly's config lib 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 Fly's config lib with just one click on your server.