MidnightLib

Implement configurations easier than ever before!

Just create Java fields, annotate them with @Entry, maybe add some more additional options, and boom!
This example can be found here, and helps you get started (almost) faster than speed of light!

User-friendly config screens

Configuration screens are automatically created from config classes.
Here's one generated from a class similar to the one from above!

Features

Lightweight

Size of the .jar is currently just 50KB.
Everything essential for the config (including GUI) is only 30KB!

JiJ-able

Bundle MidnightLib with your mod with ease. Gone are the days of installing dependencies manually!

Automated

Automatic generation of config screens (and server-side commands) makes adding config options a breeze!

Powerful

Supports booleans, numbers (int, float, double), strings, enums, hex colors and string lists!

User-friendly

Organize your config screen using comments, sliders, colors and tabs.

Universal

MidnightLib is compatible with Quilt, Fabric and (Neo-)Forge, making it ideal for multiplatform mods!

Start using MidnightLib right now!