public void run(File pluginfile) {
    if (!ClassManager.manager.getSettings().getUpdaterEnabled()) {
      return;
    }

    BossShop plugin = ClassManager.manager.getPlugin();

    boolean auto_download_update =
        false; // ClassManager.manager.getSettings().getAutoDownloadUpdateEnabled();
    Updater updater =
        new Updater(
            plugin,
            65031,
            pluginfile,
            auto_download_update ? UpdateType.DEFAULT : UpdateType.NO_DOWNLOAD,
            true) {
          @Override
          public boolean shouldUpdate(String localVersion, String remoteVersion) {
            if (getWorth(remoteVersion) > getWorth(localVersion)) {
              Bukkit.getLogger()
                  .info(
                      "Found BossShop '"
                          + remoteVersion
                          + "'. You currently are using '"
                          + localVersion
                          + "'.");
              return true;
            }
            return false;
          }
        };
    update =
        updater.getResult()
            == Updater.UpdateResult
                .UPDATE_AVAILABLE; // Determine if there is an update ready for us
    name = updater.getLatestName(); // Get the latest name
    version = updater.getLatestGameVersion(); // Get the latest game version
    type = updater.getLatestType(); // Get the latest file's ty
    if (update == true) {
      ClassManager.manager
          .getBugFinder()
          .warn("Update was found: " + name + ". You can download it here: " + link + ".");
      ClassManager.manager.setUpdaterManager(this);
      if (plugin.getPlayerJoinListener() != null) {
        plugin.getPlayerJoinListener().setEnabled(true);
      }
    }
  }