30 lines
613 B
Java
30 lines
613 B
Java
|
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;
|
||
|
}
|
||
|
}
|