Class GuizhanBuildsUpdater

java.lang.Object
net.guizhanss.guizhanlib.updater.GuizhanBuildsUpdater

public final class GuizhanBuildsUpdater extends Object
The Guizhan Builds Updater is responsible to auto-update the plugin from Guizhan Builds.
  • Method Details

    • start

      @ParametersAreNonnullByDefault public static void start(org.bukkit.plugin.Plugin plugin, File file, String owner, String repository, String branch)
      This is the helper method to start the updater.
      Parameters:
      plugin - The plugin instance.
      file - The plugin file.
      owner - The project owner.
      repository - The project repository.
      branch - The project branch.
    • start

      @ParametersAreNonnullByDefault public static void start(org.bukkit.plugin.Plugin plugin, File file, String owner, String repository, String branch, UpdaterConfig updaterConfig)
      This is the helper method to start the updater.
      Parameters:
      plugin - The plugin instance.
      file - The plugin file.
      owner - The project owner.
      repository - The project repository.
      branch - The project branch.
      updaterConfig - The updater config.