Skip to content

Configurator [v2.0.1-STABLE]

Latest
Compare
Choose a tag to compare
@HyperSkys HyperSkys released this 13 Jul 12:31
· 2 commits to main since this release

API Introduction

Here is an example of making a configuration file for your plugin, it is really this simple.

public static Configuration configFile = new Configuration("config.yml");
public static String @GetValue(file = "config.yml", path = "Settings.prefix") prefix = "Default Value";

@Override
public void onEnable() {
    Configurator.setupConfigurator(this);
    configFile.init();
}

Project Intergration

There are two major different types of ways of integrating this API into your project, below will list the way of integrating while using Maven and Gradle.

Maven

For maven please add these to your repositories and dependencies.

<repository>
  <id>jitpack.io</id>
  <url>https://jitpack.io</url>
</repository>
 <dependency>
    <groupId>com.github.HyperSkys</groupId>
    <artifactId>Configurator</artifactId>
    <version>2.0.1-STABLE</version>
</dependency>

Gradle

For gradle add this to your repositories and dependencies.

maven { url 'https://jitpack.io' }
implementation 'com.github.HyperSkys:Configurator:2.0.1-STABLE'

Discord

You can join my discord using this invite https://discord.gg/Y59DddqZZR please join the server if you have any issues or suggestions that you would like to make do not make random issues when you could just use the discord.

License

This project is licensed under Eclipse Public License