a flexible, all-in-one configuration API for Fabric mods.

Lortseam 2dbdfe298f Linguistic improvements 4 yıl önce
gradle 46c9e9da2a GSON -> Configurate refactor 4 yıl önce
src 2dbdfe298f Linguistic improvements 4 yıl önce
.gitignore 064b496a76 Update to Minecraft 1.16.2 4 yıl önce
LICENSE 8251e1d119 Added license 5 yıl önce
README.md 9e5a3c37cf Update README 4 yıl önce
build.gradle 56982884d3 Tests 4 yıl önce
gradle.properties 46e4430446 Bump version 4 yıl önce
gradlew 46c9e9da2a GSON -> Configurate refactor 4 yıl önce
gradlew.bat 46c9e9da2a GSON -> Configurate refactor 4 yıl önce
lombok.config fac0ab0c86 Use the Lombok log annotation 4 yıl önce
settings.gradle add061087e Minor changes and fixes 5 yıl önce

README.md

CompleteConfig

CompleteConfig is a flexible, all-in-one configuration API for Fabric mods.
Because of its object-oriented approach and annotation-based system, it's easy to integrate the library into your mod.

Features

  • Creating, grouping and observing config entries
  • Building a customizable GUI (optional)
  • Configurable file saving and loading
  • Extension system

Setup

To use the library, first add the JitPack repository to your build.gradle file:

repositories {
    [...]
    maven { url 'https://jitpack.io' }
}

Then add CompleteConfig to the dependencies:

dependencies {
    [...]

    // Adds CompleteConfig and bundles it within the mod's jar file
    // Replace Tag with the current version you can find above
    modImplementation ("com.gitlab.Lortseam:completeconfig:Tag")
    include("com.gitlab.Lortseam:completeconfig:Tag")
    
    // Bundles Cloth Config within the mod's jar file
    // Only required if you want to display a config GUI and don't provide your own screen builder
    // Replace Version with the current version
    include("me.shedaniel.cloth:config-2:Version")
}

Usage

Usage instructions can be found in the wiki.

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.