PandaLib/pandalib-bungee/src/main/java/fr/pandacube/lib/bungee/PandaLibBungee.java

30 lines
613 B
Java
Raw Normal View History

package fr.pandacube.lib.bungee;
import fr.pandacube.lib.bungee.util.DailyLogRotateFileHandler;
import fr.pandacube.lib.bungee.util.PluginMessagePassthrough;
import net.md_5.bungee.api.plugin.Plugin;
public class PandaLibBungee {
private static Plugin plugin;
public static void onLoad(Plugin plugin) {
PandaLibBungee.plugin = plugin;
}
public static void onEnable() {
PluginMessagePassthrough.init(plugin);
DailyLogRotateFileHandler.init(true);
}
public static void disable() {
}
public static Plugin getPlugin() {
return plugin;
}
}