2022-12-21 16:31:21 +01:00
|
|
|
package fr.pandacube.lib.bungee;
|
|
|
|
|
2023-05-10 10:26:02 +02:00
|
|
|
import fr.pandacube.lib.bungee.util.BungeeDailyLogRotateFileHandler;
|
2022-12-21 16:31:21 +01:00
|
|
|
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);
|
2023-05-10 10:26:02 +02:00
|
|
|
BungeeDailyLogRotateFileHandler.init(true);
|
2022-12-21 16:31:21 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static void disable() {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
public static Plugin getPlugin() {
|
|
|
|
return plugin;
|
|
|
|
}
|
|
|
|
}
|