[Not working, Maintenance] XEMCONFIGS | Configuration Library 2021-01-31

The ultimate configuration library

  1. Xemu
    Native Minecraft Version:
    1.16
    [​IMG]

    XemConfigs is your #1 Configuration Library. Featuring easy to use custom configurations and a 100% optimized solutions.


    [​IMG]
    We are having issues running this as a dependency under Maven, therefore we will be running this as a Java Module. This is very simple to setup and explained a bit down.

    [​IMG]
    XemConfigs is a well orginized & optimized configuraiton library offering both normal and custom configurations. This library is constantly developing!

    [​IMG]
    Depending on which development ide you are using, there is different ways to setup XemConfigsLib for your project.

    For IntelliJ:
    File -> Project Structure -> Modules -> Dependencies -> + -> XemConfigsLib.jar (Installation Location) -> Apply

    For Eclipse:
    Right-click your project -> Configure Build Path -> Libraries -> Add external jars -> XemConfigsLib.jar (Installation Location) -> Save

    Another IDE?
    You can google "Add external libraries to <your ide>" and you will most likely get some results.

    [​IMG]

    Setting the plugin:
    Code (Java):
    @Override public void onEnable()
    {
          XemConfigsLib.setPlugin(this);
    };
    Creating a configuration file:
    Code (Java):
    private static Config config = new Config(<instance of main>, "config.yml");

    @Override public void onEnable()
    {

       config.saveDefaultConfig();
       // To get it from another class, use a getter.
    };
    [​IMG]
    I'll be providing support on site or on Discord - Xemu#9999.

    [​IMG]
    Enjoy it! If you like the library, feel free to leave a review! <3

    Images

    1. e3e46edd25617c4ecdf76e359bfbc3ca.png