James's Config Lib

James's Config Lib

A lightweight, extendable, simple config library for forge and fabric

by
2.6K Downloads
fabricforgeneoforgequiltlibrary
Rent Server with this Mod

About this Mod

James's config mod is a lightweight config mod for easily adding extendible configs. There are two built-in "types" of configs: Registry configs and Setting configs. Registry configs are configs which can have any amount of objects, which will all be read into the config. Each non-primitive object in a registry config needs to specify its type. On the other hand, setting configs have a set amount of objects, each of which are a certain type. Because of this, setting configs do not need to specify types.

Developer Docs- Ignore if you are a user

Depending on using maven

Adding The Repository

I am using modrinth maven to host these files (too lazy to set up a proper maven repo lol). To add it, add this to your repositories block in your build.gradle:

repositories {
    maven {
        name = "Modrinth Maven"
        url = "https://api.modrinth.com/maven"
    }
}

Adding the dependency

To add the dependency, add this to the dependencies block in your build.gradle:

dependencies {
    implementation(fg.deobf("maven.modrinth:config-lib:VERSION-MODLOADER"))
}

Version is the version of the lib (e.g 1.2) and loader is the loader (for fabric and quilt, this is fabric, for forge and neoforge, this is forge)

Making Your first config

To make your first config, look at the common/src/main/java/net/vakror/jamesconfig/config/example directory. this is where examples are placed.
There are examples for both registry config and setting configs.

Available Versions

1.4.1-fabricrelease
MC 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4fabric
January 27, 2024
1.4.1-forgerelease
MC 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1forge
January 27, 2024
1.4-forgerelease
MC 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1forge, neoforge
November 5, 2023
1.4-fabricrelease
MC 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2fabric, quilt
November 5, 2023
1.3-forgerelease
MC 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1forge, neoforge
October 22, 2023

How to Install James's Config Lib on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.20.4).

3

Install Mod

Open the mod browser in the dashboard and search for "James's Config Lib". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabricforgeneoforgequilt

Minecraft Versions

1.20.4, 1.20.3, 1.20.2 (+11 more)

Server-side

~ Optional

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

James'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.4). You can switch loaders with one click in the panel.

Is James's Config Lib compatible with fabric and forge and neoforge and quilt?

James's Config Lib officially supports fabric, forge, neoforge, quilt for Minecraft 1.20.4, 1.20.3, 1.20.2. 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 James's Config Lib – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if James'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.

Rent Modded Server

Install James's Config Lib with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Optional

Supported Versions

1.20.41.20.31.20.21.20.11.201.19.41.19.31.19.21.19.11.19+4 more