Sueta
BU

Bungee Configuration API

2019-07-20

A lightweight one class easy to use bungee configuration api

·Plugin

BungeeConfigAPI

This is a Bungee Configuration API made by me, it's extremely useful & easy to use.

Copy and paste the code below, into a new class called something like 'Config'. Then in your main bungee class that extends Plugin, create a variable like this above your onEnable();

private Config motdConfig;

In your onEnable() initialize the config by doing

motdConfig = new Config("motd.yml", this);

After adding those methods into your code, you need to make the actual 'motd.yml' file or whatever your confiuration is called. You can then access the configuration file, and get coding using configurations in Bungee.

Download: http://github.com/GleemingKnight/BungeeConfigAPI

Similar projects

Plugin →