promotional bannermobile promotional banner

Konfig

Ergonomic multiloader configuration library with sync support.

Konfig

Konfig is a multiloader config library for Minecraft mods.

It gives you a typed API, side-aware config scopes (CLIENT, COMMON, SERVER), and built-in server to client sync for shared values.

What You Get

  • Typed config values in common code
  • Category-based builder API (push / pop)
  • Runtime validation and fallback to defaults
  • Built-in sync modes (NONE, LOGIN, LOGIN_AND_RELOAD)
  • Commented TOML config files at config/<modid>/<name>.toml
  • Built-in config screen generation for registered handles with auto-save status
  • Rich generated editors for string lists and RGB/ARGB color values
  • Registry-backed autocomplete for string and string-list entries
  • Fabric ModMenu integration (modmenu entrypoint)
  • Forge and NeoForge config button integration in the mod list
  • Fabric + Forge support across old and new versions
  • NeoForge support on modern versions

Pics

konfig1.png

konfig2.png

konfig3.png

konfig4.png

Supported Versions

Minecraft Fabric Forge NeoForge
1.21.11 yes yes yes
1.21.10 yes yes yes
1.21.1 yes yes yes
1.20.1 yes yes no
1.19.2 yes yes no
1.18.2 yes yes no
1.16.5 yes yes no

Quick Example

import com.iamkaf.konfig.api.v1.*;

public final class ExampleConfig {
    public static final ConfigHandle HANDLE;
    public static final ConfigValue<Boolean> ENABLED;
    public static final ConfigValue<Integer> RANGE;

    static {
        ConfigBuilder builder = Konfig.builder("examplemod", "common")
                .scope(ConfigScope.COMMON)
                .syncMode(SyncMode.LOGIN)
                .comment("Example mod config");

        builder.push("general");
        builder.categoryComment("General gameplay tuning");
        ENABLED = builder.bool("enabled", true)
                .comment("Master toggle")
                .sync(true)
                .build();

        RANGE = builder.intRange("range", 8, 1, 64)
                .comment("Effect radius")
                .sync(true)
                .restart(RestartRequirement.WORLD)
                .build();
        builder.pop();

        HANDLE = builder.build();
    }
}

Help Translate Konfig

Want to help translate this mod into your language? Join the community translation project:

Contribute translations

πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ πŸ‡§πŸ‡· πŸ‡«πŸ‡· πŸ‡©πŸ‡ͺ πŸ‡·πŸ‡Ί πŸ‡ΉπŸ‡· πŸ‡―πŸ‡΅ πŸ‡°πŸ‡· πŸ‡¨πŸ‡³

Q&A

Q: Where can I ask something that is not listed here?

A: Make an issue here or join the Discord and shoot me a message.

Q: Can you port it to [MC version/Mod loader]?

A: If enough people request it I'll give it some time, but this really is a 1-man team so it might take a while.

Q: Can I include it in my modpack?

A: Yes, no need to give credit or ask.

Join our Discord

More mods by me

Bonded
Bonded
Kaf's Valentine Special
Kaf's Valentine Special
Liteminer
Liteminer
Mochila
Mochila
Torch Toss
Torch Toss

The Konfig Team

profile avatar
Owner
  • 29
    Followers
  • 19
    Projects
  • 1.0M
    Downloads
Donate

More from iamkafView all

  • Amber Lib project image

    Amber Lib

    • 565.4K
    • Mods

    A library of commonly used functionality for iamkaf mods.

    • 565.4K
    • May 11, 2026
    • Mods
  • Happy Ghast Improvements project image

    Happy Ghast Improvements

    • 1.1K
    • Mods

    Makes Happy Ghasts quieter and allows you to boost their speed by feeding them different items

    • 1.1K
    • April 13, 2026
    • Mods
    • +1
  • Kaf's Valentine Special project image

    Kaf's Valentine Special

    • 13.5K
    • Mods

    Kaf's Valentine Special adds a bunch of special cookies to Minecraft, made originally to celebrate Valentine's day.

    • 13.5K
    • April 13, 2026
    • Mods
    • +1
  • Torch Toss project image

    Torch Toss

    • 11.2K
    • Mods

    With Torch Toss, you can throw torches ahead of you, lighting up caves, tunnels, and dark paths with ease!

    • 11.2K
    • April 13, 2026
    • Mods
  • Amber Lib project image

    Amber Lib

    • 565.4K
    • Mods

    A library of commonly used functionality for iamkaf mods.

    • 565.4K
    • May 11, 2026
    • Mods
  • Happy Ghast Improvements project image

    Happy Ghast Improvements

    • 1.1K
    • Mods

    Makes Happy Ghasts quieter and allows you to boost their speed by feeding them different items

    • 1.1K
    • April 13, 2026
    • Mods
    • +1
  • Kaf's Valentine Special project image

    Kaf's Valentine Special

    • 13.5K
    • Mods

    Kaf's Valentine Special adds a bunch of special cookies to Minecraft, made originally to celebrate Valentine's day.

    • 13.5K
    • April 13, 2026
    • Mods
    • +1
  • Torch Toss project image

    Torch Toss

    • 11.2K
    • Mods

    With Torch Toss, you can throw torches ahead of you, lighting up caves, tunnels, and dark paths with ease!

    • 11.2K
    • April 13, 2026
    • Mods