34 lines
834 B
Java
34 lines
834 B
Java
|
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;
|
||
|
private PlayerCount _playerCount;
|
||
|
|
||
|
@Override
|
||
|
public void onEnable()
|
||
|
{
|
||
|
new BungeeSigns(this);
|
||
|
new Updater(this);
|
||
|
|
||
|
_dynamicServers = new DynamicServer(this);
|
||
|
_lobbyBalancer = new LobbyBalancer(this);
|
||
|
_playerCount = new PlayerCount(this);
|
||
|
}
|
||
|
|
||
|
public void ReloadServerLists()
|
||
|
{
|
||
|
_dynamicServers.LoadServers();
|
||
|
_lobbyBalancer.loadLobbyServers();
|
||
|
_playerCount.LoadBungeeServers();
|
||
|
}
|
||
|
}
|