This library provides an easy to use configuration API that maps class fields to readable configurations. It is possible to use any format, however by default the YAML format is provided with the library.
Features:
Source: GitHub
- path and default value for every configuration entry is defined in code: Example
- comments on every field in the configuration: Example
- custom converter for your own data types: Example
- Type safety (due to 1.)
How to use the library
Check Maven Central for the latest version.
To see this library in action take a look at the CubeEngine project.
If you have any suggestions or problems feel free to create an issue on GitHub.
Want a better Minecraft server?
Read about SpigotMC here!