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

Lortseam 065562e680 Prevent multiple resolving of static field 4 سال پیش
example 62018f62f4 Add color to example 4 سال پیش
gradle 46c9e9da2a GSON -> Configurate refactor 4 سال پیش
lib 065562e680 Prevent multiple resolving of static field 4 سال پیش
.gitignore 8b02034674 Ignore default run directory 4 سال پیش
LICENSE 8251e1d119 Added license 5 سال پیش
README.md a217fc5f06 Revert "Improve README" 4 سال پیش
build.gradle 32640d7b3a Automatic Mod Menu integration 4 سال پیش
gradle.properties 5438d86fb9 Bump version 4 سال پیش
gradlew 46c9e9da2a GSON -> Configurate refactor 4 سال پیش
gradlew.bat 46c9e9da2a GSON -> Configurate refactor 4 سال پیش
lombok.config fac0ab0c86 Use the Lombok log annotation 4 سال پیش
settings.gradle b5757c0d72 Create multi-project structure 4 سال پیش

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 grouped structure
  • Listeners — observe your config entries
  • User-friendly save format
  • Commentable files — comments are retained permanently
  • Customizable config screen (GUI) generation
  • Fully 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.