2013-09-11 22:53:24 +02:00
|
|
|
package mineplex.bungee;
|
|
|
|
|
|
|
|
import mineplex.bungee.bungeeSigns.BungeeSigns;
|
|
|
|
import mineplex.bungee.dynamicServer.DynamicServer;
|
|
|
|
import mineplex.bungee.lobbyBalancer.LobbyBalancer;
|
|
|
|
import mineplex.bungee.playerCount.PlayerCount;
|
|
|
|
import mineplex.bungee.updater.Updater;
|
|
|
|
import net.md_5.bungee.api.plugin.Plugin;
|
|
|
|
|
|
|
|
public class Mineplexer extends Plugin
|
|
|
|
{
|
|
|
|
private DynamicServer _dynamicServers;
|
|
|
|
private LobbyBalancer _lobbyBalancer;
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void onEnable()
|
|
|
|
{
|
|
|
|
new BungeeSigns(this);
|
|
|
|
new Updater(this);
|
|
|
|
|
|
|
|
_dynamicServers = new DynamicServer(this);
|
|
|
|
_lobbyBalancer = new LobbyBalancer(this);
|
2013-09-18 00:50:23 +02:00
|
|
|
new PlayerCount(this);
|
2013-09-11 22:53:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
public void ReloadServerLists()
|
|
|
|
{
|
|
|
|
_dynamicServers.LoadServers();
|
|
|
|
_lobbyBalancer.loadLobbyServers();
|
|
|
|
}
|
|
|
|
}
|