promotional bannermobile promotional banner

Better Config

Extension to Forge's annotation-based config system.

Better Config

BetterConfig extends Forge's annotation-based config system to support nested arrays, collections, arrays/collections/maps of objects, and much more.

Usage

BetterConfig is hosted on Maven Central. To get started, add the following to your dependencies in your build script:

implementation fg.deobf('io.github.meldexun:betterconfig:1.12.2-1.0.0')

To then migrate from Forge to BetterConfig, you only have to

  • annotate your config class with @BetterConfig instead of @Config and
  • replace all invocations of ConfigManager.sync(String, Type) with BetterConfigManager.sync(String).

That's it! Now your config will be processed by BetterConfig.

Features

For more information, check out the wiki at https://github.com/Meldexun/BetterConfig/blob/main/README.md

discord ko-fi

The Better Config Team

GrandArtisan tier frameprofile avatar
  • 51
    Followers
  • 17
    Projects
  • 85.8M
    Downloads

More from meldexunView all