SpaceServe Config
SpaceServe Config is a Fabric library that lets other mods read and write their settings through a Kotlin-centric config API.
What it does
Mod authors describe their settings as Kotlin data classes, and the API serializes them with kotlinx serialization. Saving, loading and resetting a config are handled by documented method calls, and custom serializers cover Minecraft's more complex types such as blocks, enchantments, identifiers, items and text. The library is a single build for Fabric 1.17, released on 2021-06-18 under the GNU Lesser General Public License v3.0 only, which makes it open source.
Only the mod that depends on the library needs it in order to run. Either side can run the library, so it works on a client alone, a server alone or both. The source code and issue tracker are public.
Key features
Kotlin-centric config API
Settings are defined with a Kotlin-focused API rather than hand-written file parsing.
Data class serialization
Data classes marked to implement the configuration interface are serialized with kotlinx serialization.
Save, load and reset calls
Saving, loading and resetting a config each use a single documented method call.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Questions
Which loader does SpaceServe Config support?
Does SpaceServe Config need to be installed on a server?
In the catalog
SpaceServe Config is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 2,801 mods support Minecraft 1.17.
More from SpaceClouds42
Similar mods
What the author says
A super simple to use api that uses kotlinx serialization and Kotlin data classes. Simply make a data class that implements IConfigure, and all the necessary methods are right there for you. Saving, loading, and resetting the config are simple and documented method calls. Custom serializers are available for…
Official listing
- Modrinth page
- modrinth.com/mod/config
- Owner
- SpaceClouds42
- Published
- 2021-06-16
- Updated on Modrinth
- 2021-06-18
- Facts verified
- 2026-10-15