CurseForge · Minecraft mod
JasonConfig
A replacement for Forge's Config system, powered by JSON
Quick answer
Which JasonConfig release should I use?
JasonConfig jsconf-1.1.1-1.21.1.jar targets 1.21.1 with NeoForge. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.
Where it goes
Is JasonConfig required on the client, server, or both?
The project page does not say whether this file belongs on the client, dedicated server, or both.
The source does not explicitly classify this release as client-only or server-only.
What else does JasonConfig jsconf-1.1.1-1.21.1.jar need?
jsconf-1.1.1-1.21.1.jar. Change the file and its required mods may change too.
This file does not list any required mods. Do not add a library just because a different file uses it.
This file does not list any required or optional mods.
Before you install it
Add JasonConfig without breaking your instance.
Built for JasonConfig jsconf-1.1.1-1.21.1.jar. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use jsconf-1.1.1-1.21.1.jar. It targets 1.21.1 with NeoForge; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
This file does not list any required mods. Do not add a library just because a different file uses it.
- 03
Put it on the correct side
The project page does not say whether this file belongs on the client, dedicated server, or both.
- 04
Pick the file you checked
Use the “Get this file” button beside jsconf-1.1.1-1.21.1.jar. It opens that exact file at the source.
About this project
What does JasonConfig add?
This is a LIBRARY mod, if you are a user just INSTALL it, do not read below!
For Developers ---
Adding the dependancy [
Just use CurseMaven, the repository for that is here, https://www.cursemaven.com/ Add the dependency using the snippet in the needed version in Files
example (not the right mod) implementation "curse.maven:cloth-config-348521:5987045"
] Pros and Cons vs Forge's config
-Pros ----------------------------------
- Uses JSON instead of TOML, making it more reliable (For example, Forge Configs do not easily support empty lists and can break when using them)
- Compatible with reading and writing many more Java / Minecraft classes than Forge configs (For example, Vec3 cannot be written or read to a forge config, JasonConfig has no issues with it because of JSON objects)
- Simpler to write in code while still being similar to how you create Forge config classes (see below)
-Cons ----------------------------------
- Slightly less user readable because its in JSON format
- Experimental, while I havn't found bugs yet I'm sure some will come, I'm only one guy after all
- No sided configs, technically while if you just use a value on one side, it'll take that side's version of the config (so dedicated server and client specific configs should work fine), there are no configs per world like "serverconfigs" work
Example Config (Can also be found in the "api" package of the mod once you add it to your dependencies)
Everything you need in the "api" package is well documented and should be referred to
public class SimpleExampleConfigClass { public static final Config EXAMPLE_CONFIG = new Config(MODID + "-example_config"); ///The following config values are called with the {<code>EXAMPLE_CONFIG</code>} Config passed in, this automatically adds it to the Config public static final ConfigValue<Float> EXAMPLE_FLOAT = new ConfigValue<>(10f, "exampleFloat", EXAMPLE_CONFIG); ///Comments are placed in order of declaration, so this comment will be below {<code>EXAMPLE_FLOAT</code>} and above {<code>EXAMPLE_LIST</code>} public static final ConfigComment EXAMPLE_COMMENT = new ConfigComment("This is a list!", EXAMPLE_CONFIG); public static final ConfigValue<List<String>> EXAMPLE_LIST = new ConfigValue<>(List.of("value1", "value2", "value3", "value4"), "exampleList", EXAMPLE_CONFIG); public static final ConfigComment VEC3_COMMENT = new ConfigComment("This is a Vec3! Many Java classes that don't work in Forge configs will work here!", EXAMPLE_CONFIG); public static final ConfigValue<Vec3> EXAMPLE_VEC3 = new ConfigValue<>(new Vec3(123,123,123), "exampleVec3", EXAMPLE_CONFIG); ///This method must be called in your mod's Main class /// You will need to call the {<code>register()</code>} method on the {<code>Config</code>} you declared /// and add any {<code>ConfigValue<?></></code>} variables you created if you did not assign them in the constructor public static void init()/* This method can be called anything, init(), register(), etc*/ { EXAMPLE_CONFIG.register(); ///EXAMPLES OF GRABBING VALUES //EXPLICIT (Very similar to Forge's Config) SimpleExampleConfigClass.EXAMPLE_FLOAT.get(); }}
Project description from CurseForge.
Pick your setup
JasonConfig by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.20.1
1 loader buildCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
JasonConfig versions and loaders
jsconf-1.1.1-1.21.1.jar
10 May 2025
jsconf-1.1.1.jar
10 May 2025
jsconf-1.1.0-1.21.1.jar
jsconf-1.1.0.jar
1 Feb 2025
jsconf-1.1.0-1.20.1.jar
jsconf-1.1.0.jar
1 Feb 2025
jsconf-1.0.0.jar
25 Jan 2025
Looking for an older file? The official CurseForge project page is in Resources.