Sueta
[A

[API] Easy config files

1.0

Make a new config file easy!

·Config

ConfigAPI makes it easy for new developers to create config files.

How to start:
- Import ConfigAPI to your project and depend it in your plugin.yml like this:

depend: [ConfigAPI]

Create a new config file:
- Start make this line:

ConfigFile configFile = ConfigFile.createConfigFile(myMainClass,"myAwesomeConf.yml");

the main class is the class that extends JavaPlugin

Save/Reload the config file:
- It's really easy to save and reload the config file
For reload:

configFile.reloadConfig();

For saving:

configFile.saveConfig();


Having some trouble? Give me a private message :)

Similar projects

Config →