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

Lortseam 0013f3d256 Add more null checks 4 年之前
example 962acfd05c Replace Enum annotation with Dropdown annotation 4 年之前
gradle 5ba8984b17 Update dependencies 4 年之前
lib 0013f3d256 Add more null checks 4 年之前
.gitignore 8b02034674 Ignore default run directory 4 年之前
LICENSE 8251e1d119 Added license 5 年之前
README.md 2814ca6998 Add missing repositories to README 4 年之前
build.gradle 5ba8984b17 Update dependencies 4 年之前
gradle.properties 90b4565c12 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 and fast integration into existing code
  • Multiple configs support
  • Nested class resolution
  • Listeners
  • User-friendly save format
  • Permanently retained comments
  • Customizable config screen (GUI) generation
  • Automatic Mod Menu integration
  • Fully extensible via extension system

Setup

To use the library, first add the required repositories to your build.gradle file:

repositories {
    [...]
    maven {
        url 'https://jitpack.io'
    }
    maven {
        url "https://maven.shedaniel.me/"
    }
    maven {
        url "https://maven.terraformersmc.com/"
    }
}

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.