@Override
  public void onDisable() {

    PluginDescriptionFile pdf = getDescription();
    GamesManager.endAll();
    DataManager.saveArenas();
    logger.info("[" + pdf.getName() + "] disabled!");
  }
  @Override
  public void onEnable() {
    plugin = this;

    // Load all YML files
    ConfigManager.loadConfig(this);
    ChestClassManager.loadConfig(this);
    DataManager.loadDatabase(this);
    PlayerDataManager.loadPlayerData(this);

    // Load listeners
    if (ConfigManager.getPvP()) {
      new AntiPvPListener();
    }
    new ArenaProtectionListener();
    new PlayerRespawnListener();

    // Load commands
    CommandHandler.loadCommands(this);

    PluginDescriptionFile pdf = getDescription();
    logger.info("[" + pdf.getName() + "] version " + pdf.getVersion() + " is enabled!");
  }