Class GuizhanUpdater

java.lang.Object
net.guizhanss.minecraft.guizhanlib.updater.GuizhanUpdater

public final class GuizhanUpdater extends Object
The universal updater wrapper.
  • Method Details

    • start

      @ParametersAreNonnullByDefault public static void start(org.bukkit.plugin.Plugin plugin, File file, String githubUser, String githubRepo, String githubBranch)
      Call the corresponding updater.
      Parameters:
      plugin - The Plugin instance
      file - The File of plugin
      githubUser - GitHub user
      githubRepo - GitHub repository
      githubBranch - GitHub branch
    • start

      @ParametersAreNonnullByDefault public static void start(org.bukkit.plugin.Plugin plugin, File file, String githubUser, String githubRepo, String githubBranch, net.guizhanss.guizhanlib.updater.UpdaterConfig config)
      Call the corresponding updater.
      Parameters:
      plugin - The Plugin instance
      file - The File of plugin
      githubUser - GitHub user
      githubRepo - GitHub repository
      githubBranch - GitHub branch
      config - The UpdaterConfig