ModsFinder

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.

FabricClient or server, optionalMIT LicenseOpen source1.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

  1. JSON configuration files

    Configuration values are serialized to JSON, so the files can be opened and edited in a plain text editor.

  2. Simple read and write API

    A small API reads and writes configuration data, with the patch method saving changes to disk.

  3. Typed configuration classes

    Each configuration is a class marked Serializable and extending SimpleConfig, and it must override fileName.

  4. Reload command

    A simpleconfig command reloads the configuration files while the game is running.

Compatibility

Latest build for each game version and loader.

1.20.41.0.0
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Requirements

Dependencies declared by the latest file for each loader.

Required 2

Fabric APILightweight and modular API providing common hooks and intercompatibility measures utilized by mods using the Fabric toolchain.
Required
Fabric Language KotlinThis is a mod that enables usage of the Kotlin programming language for Fabric mods.
Required

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

Full comparison

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.

ModLoadersGame versionsEnvironmentUpdated
Simple ConfigFabric1.20.4Client or server, optional2024-02-09
Client Side Data GetFabric1.20.4 – 1.21Client-side only2024-06-14
Allow Editing Player DataFabric and Quilt1.20.1Server-side only2023-09-11
Data-DLFabric and Quilt1.19 – 1.20.1Client-side only2023-07-17

Questions

Does Simple Config need Fabric Language Kotlin?

Yes. Fabric Language Kotlin is a required dependency, and Fabric API is required as well. Both must be installed next to Simple Config.

Which loaders does Simple Config support?

Only Fabric. The latest file, 1.0.0, is published for 1.20.4, and no Forge, NeoForge or Quilt file is listed.

Where are the configuration values stored?

Values are stored in JSON files, and the patch method writes changes to them automatically after a configuration is edited.

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

All projects

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…
Tondoa, on the Modrinth page

Official listing

Owner
Tondoa
Published
2024-02-08
Updated on Modrinth
2024-02-09
Facts verified
2026-10-15

Tags