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

Lortseam 71a214292c Update README il y a 4 ans
gradle 46c9e9da2a GSON -> Configurate refactor il y a 4 ans
src 7d91ead93d Revert "Add Confabricate extension" il y a 4 ans
.gitignore 064b496a76 Update to Minecraft 1.16.2 il y a 4 ans
LICENSE 8251e1d119 Added license il y a 5 ans
README.md 71a214292c Update README il y a 4 ans
build.gradle af3848c136 Update Cloth Config dependency il y a 4 ans
gradle.properties af3848c136 Update Cloth Config dependency il y a 4 ans
gradlew 46c9e9da2a GSON -> Configurate refactor il y a 4 ans
gradlew.bat 46c9e9da2a GSON -> Configurate refactor il y a 4 ans
lombok.config fac0ab0c86 Use the Lombok log annotation il y a 4 ans
settings.gradle add061087e Minor changes and fixes il y a 5 ans

README.md

CompleteConfig

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

Highlights

Beside the basic elements of a config library, CompleteConfig offers the following unique features:

  • Simple integration into existing code
  • Support for multiple configs
  • Nested class resolution - easily create a POJO structure
  • Listeners - observe your config entries
  • User-friendly save format
  • Commentable files - comments are retained permanently
  • Configurable GUI generation
  • Extensible via 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 {
    [...]
    
    // Replace Tag with the current version you can find above
    modImplementation("com.gitlab.Lortseam:completeconfig:Tag")
    // Optional: Bundles the library within the mod's jar file, so users don't have to download it seperately
    include("com.gitlab.Lortseam:completeconfig:Tag")
}

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.