Simple Config
by Tondoa
Simple Config lets a Fabric mod author define a settings class whose values are read and written as JSON, and it also serves as a configuration library for other mods on Minecraft 1.20.4.
What it does
Simple Config is a Kotlin library for Fabric that handles the configuration of other mods. A developer creates a configuration by writing an object that extends SimpleConfig, and the class is annotated as Serializable so its fields are stored in a JSON file. Values are read and written through a small API, and calling the patch method writes changes back to the file automatically.
Installation needs Fabric API and Fabric Language Kotlin, both required dependencies. The mod is released under the MIT License and is open source, with its source code and issue tracker public. Builds exist only for Fabric and only for 1.20.4, with version 1.0.0 published on 2024-02-09 and the first release on 2024-02-08.
Either side can run it, and neither needs it, so the mod can sit on a client, a server, both, or neither. Simple Config exposes a reload command that rereads the configuration file without a restart, which lets server administrators adjust a running server.
Key features
JSON configuration files
Configuration values are serialized to JSON, so the files can be opened and edited in a plain text editor.
Simple read and write API
A small API reads and writes configuration data, with the patch method saving changes to disk.
Typed configuration classes
Each configuration is a class marked Serializable and extending SimpleConfig, and it must override fileName.
Reload command
A simpleconfig command reloads the configuration files while the game is running.
Gallery
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 2
Use cases
Who it’s for: Fabric mod developers who need a JSON configuration layer in Kotlin, and server owners who edit mod settings by hand.
How it compares
Client Side Data Get is client-side only, open source under the GNU General Public License v3.0 or later, and covers 1.20.4 – 1.21. Allow Editing Player Data is server-side only, open source under the GNU General Public License v3.0 only, and built for 1.20.1 on Fabric and Quilt. Data-DL is client-side only, open source under the MIT License, and covers 1.19 – 1.20.1 on Fabric and Quilt. Simple Config targets 1.20.4 alone, and either side can run it, and neither needs it.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Simple Config | Fabric | 1.20.4 | Client or server, optional | 2024-02-09 |
| Client Side Data Get | Fabric | 1.20.4 – 1.21 | Client-side only | 2024-06-14 |
| Allow Editing Player Data | Fabric and Quilt | 1.20.1 | Server-side only | 2023-09-11 |
| Data-DL | Fabric and Quilt | 1.19 – 1.20.1 | Client-side only | 2023-07-17 |
Questions
Does Simple Config need Fabric Language Kotlin?
Which loaders does Simple Config support?
Where are the configuration values stored?
In the catalog
Simple Config is one of 36,990 Utility mods on ModsFinder, and one of 25,772 Utility mods for Fabric. 13,907 mods support Minecraft 1.20.4.
More from Tondoa
Similar mods
What the author says
Simple Config is a Kotlin Fabric Minecraft mod that allows you to easily manage your mod's configuration. It provides a simple and intuitive API to read and write configuration data. The data will be serialized with the JSONformat. When you write data using the patch method, it will automatically be written to the…
Official listing
- Modrinth page
- modrinth.com/mod/simpleconfig
- Owner
- Tondoa
- Published
- 2024-02-08
- Updated on Modrinth
- 2024-02-09
- Facts verified
- 2026-10-15
