2014-11-12 14:13:16 +01:00
|
|
|
package mineplex.game.clans;
|
|
|
|
|
2017-03-20 00:07:28 +01:00
|
|
|
import mineplex.core.aprilfools.AprilFoolsManager;
|
2016-12-21 22:07:07 +01:00
|
|
|
import net.minecraft.server.v1_8_R3.MinecraftServer;
|
|
|
|
|
|
|
|
import org.bukkit.Bukkit;
|
|
|
|
import org.bukkit.Location;
|
|
|
|
import org.bukkit.Material;
|
|
|
|
import org.bukkit.World;
|
|
|
|
import org.bukkit.craftbukkit.v1_8_R3.CraftWorld;
|
|
|
|
import org.bukkit.plugin.java.JavaPlugin;
|
|
|
|
import org.spigotmc.SpigotConfig;
|
|
|
|
|
2017-01-11 22:10:06 +01:00
|
|
|
import mineplex.core.common.Constants;
|
2015-11-26 01:08:13 +01:00
|
|
|
import mineplex.core.CustomTagFix;
|
2015-10-02 04:57:39 +02:00
|
|
|
import mineplex.core.FoodDupeFix;
|
2016-09-17 06:18:05 +02:00
|
|
|
import mineplex.core.TimingsFix;
|
2014-11-12 14:13:16 +01:00
|
|
|
import mineplex.core.account.CoreClientManager;
|
2015-08-29 05:58:58 +02:00
|
|
|
import mineplex.core.achievement.AchievementManager;
|
2014-11-12 14:13:16 +01:00
|
|
|
import mineplex.core.antihack.AntiHack;
|
2016-09-29 05:03:02 +02:00
|
|
|
import mineplex.core.antihack.guardians.AntiHackGuardian;
|
|
|
|
import mineplex.core.antihack.guardians.GuardianManager;
|
2014-11-12 14:13:16 +01:00
|
|
|
import mineplex.core.blockrestore.BlockRestore;
|
2015-05-02 01:02:06 +02:00
|
|
|
import mineplex.core.chat.Chat;
|
2016-05-04 16:24:29 +02:00
|
|
|
import mineplex.core.chatsnap.SnapshotManager;
|
|
|
|
import mineplex.core.chatsnap.SnapshotPlugin;
|
2016-06-23 01:38:24 +02:00
|
|
|
import mineplex.core.chatsnap.SnapshotRepository;
|
2014-11-12 14:13:16 +01:00
|
|
|
import mineplex.core.command.CommandCenter;
|
2016-04-04 20:46:00 +02:00
|
|
|
import mineplex.core.common.MinecraftVersion;
|
|
|
|
import mineplex.core.common.Pair;
|
2016-01-07 20:36:52 +01:00
|
|
|
import mineplex.core.common.events.ServerShutdownEvent;
|
2016-08-23 10:12:36 +02:00
|
|
|
import mineplex.core.creature.Creature;
|
2015-12-18 12:13:38 +01:00
|
|
|
import mineplex.core.delayedtask.DelayedTask;
|
2016-08-23 10:12:36 +02:00
|
|
|
import mineplex.core.disguise.DisguiseManager;
|
2014-11-12 14:13:16 +01:00
|
|
|
import mineplex.core.donation.DonationManager;
|
2016-04-28 05:12:38 +02:00
|
|
|
import mineplex.core.elo.EloManager;
|
2014-12-08 09:55:20 +01:00
|
|
|
import mineplex.core.explosion.Explosion;
|
2016-03-24 20:11:05 +01:00
|
|
|
import mineplex.core.fallingblock.FallingBlocks;
|
2014-11-12 14:13:16 +01:00
|
|
|
import mineplex.core.friend.FriendManager;
|
2015-07-14 08:57:53 +02:00
|
|
|
import mineplex.core.give.Give;
|
2015-10-02 04:57:39 +02:00
|
|
|
import mineplex.core.hologram.HologramManager;
|
2015-02-11 03:15:44 +01:00
|
|
|
import mineplex.core.ignore.IgnoreManager;
|
2016-03-09 02:53:01 +01:00
|
|
|
import mineplex.core.incognito.IncognitoManager;
|
2014-11-12 14:13:16 +01:00
|
|
|
import mineplex.core.inventory.InventoryManager;
|
|
|
|
import mineplex.core.itemstack.ItemStackFactory;
|
|
|
|
import mineplex.core.memory.MemoryFix;
|
|
|
|
import mineplex.core.message.MessageManager;
|
|
|
|
import mineplex.core.monitor.LagMeter;
|
2015-05-25 20:22:06 +02:00
|
|
|
import mineplex.core.packethandler.PacketHandler;
|
2017-02-25 07:35:46 +01:00
|
|
|
import mineplex.core.portal.GenericServer;
|
2014-11-12 14:13:16 +01:00
|
|
|
import mineplex.core.portal.Portal;
|
|
|
|
import mineplex.core.preferences.PreferencesManager;
|
|
|
|
import mineplex.core.punish.Punish;
|
2016-11-18 03:01:43 +01:00
|
|
|
import mineplex.core.rankGiveaway.eternal.EternalGiveawayManager;
|
2014-11-12 14:13:16 +01:00
|
|
|
import mineplex.core.recharge.Recharge;
|
2016-08-27 23:21:56 +02:00
|
|
|
import mineplex.core.report.ReportManager;
|
|
|
|
import mineplex.core.report.ReportPlugin;
|
2015-12-23 19:40:49 +01:00
|
|
|
import mineplex.core.resourcepack.ResourcePackManager;
|
2014-11-12 14:13:16 +01:00
|
|
|
import mineplex.core.serverConfig.ServerConfiguration;
|
|
|
|
import mineplex.core.spawn.Spawn;
|
2015-08-29 05:58:58 +02:00
|
|
|
import mineplex.core.stats.StatsManager;
|
2014-11-12 14:13:16 +01:00
|
|
|
import mineplex.core.status.ServerStatusManager;
|
|
|
|
import mineplex.core.teleport.Teleport;
|
2016-12-21 22:07:07 +01:00
|
|
|
import mineplex.core.twofactor.TwoFactorAuth;
|
2014-11-12 14:13:16 +01:00
|
|
|
import mineplex.core.updater.FileUpdater;
|
|
|
|
import mineplex.core.updater.Updater;
|
2015-06-24 00:05:47 +02:00
|
|
|
import mineplex.core.visibility.VisibilityManager;
|
2014-11-28 07:34:20 +01:00
|
|
|
import mineplex.game.clans.clans.ClansManager;
|
2016-05-10 11:28:45 +02:00
|
|
|
import mineplex.game.clans.clans.ban.ClansBanManager;
|
2015-10-26 13:21:33 +01:00
|
|
|
import mineplex.game.clans.items.GearManager;
|
2014-12-29 12:44:00 +01:00
|
|
|
import mineplex.game.clans.shop.building.BuildingShop;
|
2015-08-25 05:03:26 +02:00
|
|
|
import mineplex.game.clans.shop.farming.FarmingShop;
|
|
|
|
import mineplex.game.clans.shop.mining.MiningShop;
|
2014-12-29 12:44:00 +01:00
|
|
|
import mineplex.game.clans.shop.pvp.PvpShop;
|
2015-08-25 05:03:26 +02:00
|
|
|
import mineplex.game.clans.spawn.travel.TravelShop;
|
2015-11-27 14:23:18 +01:00
|
|
|
import mineplex.game.clans.world.WorldManager;
|
2014-11-12 14:13:16 +01:00
|
|
|
|
2016-06-08 01:33:03 +02:00
|
|
|
import static mineplex.core.Managers.require;
|
|
|
|
|
2014-11-12 14:13:16 +01:00
|
|
|
public class Clans extends JavaPlugin
|
2015-11-23 21:57:13 +01:00
|
|
|
{
|
2016-11-12 02:52:18 +01:00
|
|
|
public static final String MAP = "Season 2";
|
2015-11-25 22:45:04 +01:00
|
|
|
|
2015-11-25 17:46:53 +01:00
|
|
|
// Modules
|
2014-11-12 14:13:16 +01:00
|
|
|
private CoreClientManager _clientManager;
|
2015-06-23 03:34:13 +02:00
|
|
|
private DonationManager _donationManager;
|
|
|
|
private ClansManager _clansManager;
|
2016-05-04 16:24:29 +02:00
|
|
|
|
2015-11-25 17:46:53 +01:00
|
|
|
@Override
|
|
|
|
public void onEnable()
|
2014-11-12 14:13:16 +01:00
|
|
|
{
|
2016-08-19 03:44:01 +02:00
|
|
|
Bukkit.setSpawnRadius(0);
|
|
|
|
|
2015-11-25 17:46:53 +01:00
|
|
|
// Configs
|
2017-01-07 03:05:09 +01:00
|
|
|
getConfig().addDefault(Constants.WEB_CONFIG_KEY, Constants.WEB_ADDRESS);
|
|
|
|
getConfig().set(Constants.WEB_CONFIG_KEY, getConfig().getString(Constants.WEB_CONFIG_KEY));
|
2014-11-12 14:13:16 +01:00
|
|
|
saveConfig();
|
2016-06-08 01:33:03 +02:00
|
|
|
|
2015-11-25 17:46:53 +01:00
|
|
|
// Logger.initialize(this);
|
2014-11-12 14:13:16 +01:00
|
|
|
|
2015-11-25 17:46:53 +01:00
|
|
|
// Static Modules
|
|
|
|
CommandCenter.Initialize(this);
|
2017-01-07 03:05:09 +01:00
|
|
|
_clientManager = new CoreClientManager(this);
|
2014-11-12 14:13:16 +01:00
|
|
|
CommandCenter.Instance.setClientManager(_clientManager);
|
|
|
|
|
2016-09-17 06:18:05 +02:00
|
|
|
require(TimingsFix.class);
|
|
|
|
|
2015-11-25 17:46:53 +01:00
|
|
|
ItemStackFactory.Initialize(this, false);
|
2016-05-04 16:24:29 +02:00
|
|
|
|
2015-12-18 12:13:38 +01:00
|
|
|
DelayedTask.Initialize(this);
|
2016-05-04 16:24:29 +02:00
|
|
|
|
2015-06-24 00:05:47 +02:00
|
|
|
Recharge.Initialize(this);
|
|
|
|
VisibilityManager.Initialize(this);
|
2015-11-25 17:46:53 +01:00
|
|
|
// new ProfileCacheManager(this);
|
2014-11-12 14:13:16 +01:00
|
|
|
|
2016-10-28 04:35:27 +02:00
|
|
|
_donationManager = require(DonationManager.class);
|
2016-05-04 16:24:29 +02:00
|
|
|
|
2016-03-24 20:11:05 +01:00
|
|
|
new FallingBlocks(this);
|
2016-05-04 16:24:29 +02:00
|
|
|
|
2015-03-02 21:33:04 +01:00
|
|
|
new ServerConfiguration(this, _clientManager);
|
2016-06-08 01:33:03 +02:00
|
|
|
|
|
|
|
PacketHandler packetHandler = require(PacketHandler.class);
|
2016-04-08 21:18:56 +02:00
|
|
|
IncognitoManager incognito = new IncognitoManager(this, _clientManager, packetHandler);
|
2016-08-23 10:12:36 +02:00
|
|
|
PreferencesManager preferenceManager = new PreferencesManager(this, incognito, _clientManager);
|
2016-05-04 16:24:29 +02:00
|
|
|
|
2016-04-08 21:18:56 +02:00
|
|
|
incognito.setPreferencesManager(preferenceManager);
|
2016-05-04 16:24:29 +02:00
|
|
|
|
2014-12-14 08:30:39 +01:00
|
|
|
ServerStatusManager serverStatusManager = new ServerStatusManager(this, _clientManager, new LagMeter(this, _clientManager));
|
2016-05-04 16:24:29 +02:00
|
|
|
|
2015-06-01 21:51:22 +02:00
|
|
|
// TODO: Add spawn locations to a configuration file of some sort?
|
2014-11-29 12:16:37 +01:00
|
|
|
new Spawn(this, serverStatusManager.getCurrentServerName());
|
2015-07-14 08:57:53 +02:00
|
|
|
Give.Initialize(this);
|
2015-11-25 22:45:04 +01:00
|
|
|
|
2015-11-27 11:53:57 +01:00
|
|
|
Teleport teleport = new Teleport(this, _clientManager);
|
2016-12-03 16:50:29 +01:00
|
|
|
Portal portal = new Portal();
|
2017-02-25 07:35:46 +01:00
|
|
|
new FileUpdater(this, portal, serverStatusManager.getCurrentServerName(), serverStatusManager.getRegion(), GenericServer.CLANS_HUB);
|
2016-06-08 01:33:03 +02:00
|
|
|
|
2016-05-10 11:28:45 +02:00
|
|
|
ClansBanManager clansBans = new ClansBanManager(this, _clientManager, _donationManager);
|
2016-06-08 01:33:03 +02:00
|
|
|
|
2017-01-07 03:05:09 +01:00
|
|
|
Punish punish = new Punish(this, _clientManager);
|
2016-06-08 01:33:03 +02:00
|
|
|
|
|
|
|
DisguiseManager disguiseManager = require(DisguiseManager.class);
|
|
|
|
Creature creature = new Creature(this);
|
|
|
|
|
|
|
|
AntiHack antiHack = require(AntiHack.class);
|
2016-09-29 05:03:02 +02:00
|
|
|
GuardianManager guardianManager = require(GuardianManager.class);
|
2016-09-29 03:22:27 +02:00
|
|
|
|
2016-09-29 05:03:02 +02:00
|
|
|
Bukkit.getScheduler().runTask(this, antiHack::enableAnticheat);
|
2016-06-08 01:33:03 +02:00
|
|
|
|
2016-11-18 03:01:43 +01:00
|
|
|
new EternalGiveawayManager(this, _clientManager, serverStatusManager);
|
|
|
|
|
2016-06-08 01:33:03 +02:00
|
|
|
{
|
|
|
|
// West Shop
|
|
|
|
int maxX = -385;
|
|
|
|
int minX = -462;
|
|
|
|
int maxY = 100;
|
|
|
|
int minY = 90;
|
|
|
|
int maxZ = 46;
|
|
|
|
int minZ = -30;
|
|
|
|
Location spawn = new Location(Bukkit.getWorld("world"), -422, 95, 8);
|
|
|
|
for (int i = 0; i < 10; i++)
|
|
|
|
{
|
2016-09-29 05:03:02 +02:00
|
|
|
guardianManager.registerGuardian(new AntiHackGuardian(spawn.clone(), maxX, minX, maxY, minY, maxZ, minZ));
|
2016-06-08 01:33:03 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
{
|
|
|
|
// East Shop
|
|
|
|
int maxX = 385;
|
|
|
|
int minX = -463;
|
|
|
|
int maxY = 100;
|
|
|
|
int minY = 90;
|
|
|
|
int maxZ = 31;
|
|
|
|
int minZ = -46;
|
|
|
|
Location spawn = new Location(Bukkit.getWorld("world"), 424, 95, -8);
|
|
|
|
for (int i = 0; i < 10; i++)
|
|
|
|
{
|
2016-09-29 05:03:02 +02:00
|
|
|
guardianManager.registerGuardian(new AntiHackGuardian(spawn.clone(), maxX, minX, maxY, minY, maxZ, minZ));
|
2016-06-08 01:33:03 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
{
|
|
|
|
// North Spawn
|
|
|
|
int maxX = 25;
|
|
|
|
int minX = -8;
|
|
|
|
int maxY = 215;
|
|
|
|
int minY = 205;
|
|
|
|
int maxZ = -376;
|
|
|
|
int minZ = -410;
|
|
|
|
Location spawn = new Location(Bukkit.getWorld("world"), 9, 210, -393);
|
|
|
|
for (int i = 0; i < 10; i++)
|
|
|
|
{
|
2016-09-29 05:03:02 +02:00
|
|
|
guardianManager.registerGuardian(new AntiHackGuardian(spawn.clone(), maxX, minX, maxY, minY, maxZ, minZ));
|
2016-06-08 01:33:03 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
{
|
|
|
|
// South Spawn
|
|
|
|
int maxX = 25;
|
|
|
|
int minX = -8;
|
|
|
|
int maxY = 215;
|
|
|
|
int minY = 205;
|
|
|
|
int maxZ = 407;
|
|
|
|
int minZ = 373;
|
|
|
|
Location spawn = new Location(Bukkit.getWorld("world"), 8, 210, 390);
|
|
|
|
for (int i = 0; i < 10; i++)
|
|
|
|
{
|
2016-09-29 05:03:02 +02:00
|
|
|
guardianManager.registerGuardian(new AntiHackGuardian(spawn.clone(), maxX, minX, maxY, minY, maxZ, minZ));
|
2016-06-08 01:33:03 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
{
|
|
|
|
// Fields
|
|
|
|
int maxX = 50;
|
|
|
|
int minX = -60;
|
|
|
|
int maxY = 110;
|
|
|
|
int minY = 100;
|
|
|
|
int maxZ = 70;
|
|
|
|
int minZ = -70;
|
|
|
|
Location spawn = new Location(Bukkit.getWorld("world"), 0, 100, 0);
|
|
|
|
for (int i = 0; i < 40; i++)
|
|
|
|
{
|
2016-09-29 05:03:02 +02:00
|
|
|
guardianManager.registerGuardian(new AntiHackGuardian(spawn.clone(), maxX, minX, maxY, minY, maxZ, minZ));
|
2016-06-08 01:33:03 +02:00
|
|
|
}
|
|
|
|
}
|
2015-02-11 03:15:44 +01:00
|
|
|
|
2017-01-08 16:44:04 +01:00
|
|
|
BlockRestore blockRestore = require(BlockRestore.class);
|
2015-11-25 22:45:04 +01:00
|
|
|
|
2015-02-11 03:15:44 +01:00
|
|
|
IgnoreManager ignoreManager = new IgnoreManager(this, _clientManager, preferenceManager, portal);
|
2016-05-04 16:24:29 +02:00
|
|
|
|
2015-11-22 15:23:17 +01:00
|
|
|
StatsManager statsManager = new StatsManager(this, _clientManager);
|
2016-04-28 05:12:38 +02:00
|
|
|
EloManager eloManager = new EloManager(this, _clientManager);
|
2016-05-10 10:50:44 +02:00
|
|
|
AchievementManager achievementManager = new AchievementManager(statsManager, _clientManager, _donationManager, incognito, eloManager);
|
2016-04-05 01:38:27 +02:00
|
|
|
Chat chat = new Chat(this, incognito, _clientManager, preferenceManager, achievementManager, serverStatusManager.getCurrentServerName());
|
|
|
|
new MessageManager(this, incognito, _clientManager, preferenceManager, ignoreManager, punish, new FriendManager(this, _clientManager, preferenceManager, portal), chat);
|
2015-02-11 03:15:44 +01:00
|
|
|
|
2014-11-12 14:13:16 +01:00
|
|
|
new MemoryFix(this);
|
2015-10-02 04:57:39 +02:00
|
|
|
new FoodDupeFix(this);
|
2014-12-08 09:55:20 +01:00
|
|
|
new Explosion(this, blockRestore);
|
2016-07-21 19:20:45 +02:00
|
|
|
InventoryManager inventory = new InventoryManager(this, _clientManager);
|
2015-12-23 19:47:05 +01:00
|
|
|
ResourcePackManager resourcePackManager = new ResourcePackManager(this, portal);
|
2016-05-04 16:24:29 +02:00
|
|
|
resourcePackManager.setResourcePack(new Pair[]
|
2016-04-04 20:46:00 +02:00
|
|
|
{
|
2016-05-01 01:53:57 +02:00
|
|
|
Pair.create(MinecraftVersion.Version1_8, "http://file.mineplex.com/ResClans.zip"),
|
|
|
|
Pair.create(MinecraftVersion.Version1_9, "http://file.mineplex.com/ResClans19.zip")
|
2016-04-04 20:46:00 +02:00
|
|
|
}, true);
|
2015-12-23 19:40:49 +01:00
|
|
|
|
2016-08-27 23:21:56 +02:00
|
|
|
SnapshotManager snapshotManager = new SnapshotManager(this, new SnapshotRepository(serverStatusManager.getCurrentServerName(), getLogger()));
|
2016-06-23 02:18:16 +02:00
|
|
|
new SnapshotPlugin(this, snapshotManager, _clientManager);
|
2016-10-22 16:06:18 +02:00
|
|
|
new ReportPlugin(this, new ReportManager(this, snapshotManager, _clientManager, incognito, punish, serverStatusManager.getRegion(), serverStatusManager.getCurrentServerName(), 1));
|
2016-05-04 16:24:29 +02:00
|
|
|
|
2015-06-30 05:32:40 +02:00
|
|
|
// Enable custom-gear related managers
|
2015-11-26 01:08:13 +01:00
|
|
|
new CustomTagFix(this, packetHandler);
|
2015-10-24 08:16:13 +02:00
|
|
|
GearManager customGear = new GearManager(this, packetHandler, _clientManager, _donationManager);
|
2015-11-25 22:45:04 +01:00
|
|
|
|
2015-11-27 09:22:17 +01:00
|
|
|
HologramManager hologram = new HologramManager(this, packetHandler);
|
2017-01-07 03:05:09 +01:00
|
|
|
_clansManager = new ClansManager(this, clansBans, serverStatusManager.getCurrentServerName(), incognito, packetHandler, punish, _clientManager, _donationManager, preferenceManager, blockRestore, statsManager, teleport, chat, customGear, hologram, inventory);
|
2014-12-04 14:05:27 +01:00
|
|
|
new Recipes(this);
|
|
|
|
new Farming(this);
|
2015-06-23 03:34:13 +02:00
|
|
|
new BuildingShop(_clansManager, _clientManager, _donationManager);
|
|
|
|
new PvpShop(_clansManager, _clientManager, _donationManager);
|
2015-08-25 05:03:26 +02:00
|
|
|
new FarmingShop(_clansManager, _clientManager, _donationManager);
|
|
|
|
new TravelShop(_clansManager, _clientManager, _donationManager);
|
|
|
|
new MiningShop(_clansManager, _clientManager, _donationManager);
|
2015-11-27 14:23:18 +01:00
|
|
|
new WorldManager(this);
|
2016-05-04 16:24:29 +02:00
|
|
|
|
2016-12-21 22:07:07 +01:00
|
|
|
require(TwoFactorAuth.class);
|
|
|
|
|
2017-03-20 00:07:28 +01:00
|
|
|
AprilFoolsManager.getInstance();
|
|
|
|
|
2015-06-15 00:30:02 +02:00
|
|
|
// Disable spigot item merging
|
|
|
|
for (World world : getServer().getWorlds())
|
|
|
|
{
|
|
|
|
// Disable item merging
|
|
|
|
((CraftWorld) world).getHandle().spigotConfig.itemMerge = 0;
|
|
|
|
}
|
2016-06-08 01:33:03 +02:00
|
|
|
|
2014-11-12 14:13:16 +01:00
|
|
|
//Updates
|
2015-11-25 22:45:04 +01:00
|
|
|
new Updater(this);
|
2016-06-08 01:33:03 +02:00
|
|
|
|
2016-10-04 04:06:36 +02:00
|
|
|
MinecraftServer.getServer().getPropertyManager().setProperty("debug", false);
|
|
|
|
SpigotConfig.debug = false;
|
2014-11-12 14:13:16 +01:00
|
|
|
}
|
2015-11-25 22:45:04 +01:00
|
|
|
|
2015-06-22 22:20:20 +02:00
|
|
|
public static String prettifyName(Material material)
|
|
|
|
{
|
|
|
|
String name = "";
|
|
|
|
String[] words = material.toString().split("_");
|
2016-05-04 16:24:29 +02:00
|
|
|
|
2015-06-22 22:20:20 +02:00
|
|
|
for (String word : words)
|
|
|
|
{
|
|
|
|
word = word.toLowerCase();
|
|
|
|
name += word.substring(0, 1).toUpperCase() + word.substring(1) + " ";
|
|
|
|
}
|
2016-05-04 16:24:29 +02:00
|
|
|
|
2015-06-22 22:20:20 +02:00
|
|
|
return name;
|
|
|
|
}
|
2015-11-25 22:45:04 +01:00
|
|
|
|
2015-06-23 03:34:13 +02:00
|
|
|
@Override
|
|
|
|
public void onDisable()
|
|
|
|
{
|
2015-11-25 17:46:53 +01:00
|
|
|
// Need to notify WorldEventManager of server shutdown, this seemed like
|
|
|
|
// the only decent way to do it
|
2015-06-23 03:34:13 +02:00
|
|
|
_clansManager.onDisable();
|
2016-05-04 16:24:29 +02:00
|
|
|
|
2016-01-07 20:36:52 +01:00
|
|
|
getServer().getPluginManager().callEvent(new ServerShutdownEvent(this));
|
2014-11-12 14:13:16 +01:00
|
|
|
}
|
2016-02-04 17:10:08 +01:00
|
|
|
|
2016-07-25 16:59:03 +02:00
|
|
|
public static String getMap()
|
2016-02-04 17:10:08 +01:00
|
|
|
{
|
2016-07-25 16:59:03 +02:00
|
|
|
return MAP;
|
2016-02-04 17:10:08 +01:00
|
|
|
}
|
2014-11-12 14:13:16 +01:00
|
|
|
}
|