Class GuizhanUpdater
java.lang.Object
net.guizhanss.minecraft.guizhanlib.updater.GuizhanUpdater
The universal updater wrapper.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidstart(org.bukkit.plugin.Plugin plugin, File file, String githubUser, String githubRepo, String githubBranch) Call the corresponding updater.static voidstart(org.bukkit.plugin.Plugin plugin, File file, String githubUser, String githubRepo, String githubBranch, net.guizhanss.guizhanlib.updater.UpdaterConfig config) Call the corresponding updater.
-
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- ThePlugininstancefile- TheFileof plugingithubUser- GitHub usergithubRepo- GitHub repositorygithubBranch- 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- ThePlugininstancefile- TheFileof plugingithubUser- GitHub usergithubRepo- GitHub repositorygithubBranch- GitHub branchconfig- TheUpdaterConfig
-