Package dev.plex.util
Class UpdateChecker
java.lang.Object
dev.plex.util.UpdateChecker
- All Implemented Interfaces:
PlexBase
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate int
fetchDistanceFromGitHub
(String repo, String branch, String hash) boolean
getUpdateStatusMessage
(org.bukkit.command.CommandSender sender, boolean cached, int verbosity) void
updateJar
(org.bukkit.command.CommandSender sender)
-
Field Details
-
DOWNLOAD_PAGE
- See Also:
-
branch
-
distance
private int distance
-
-
Constructor Details
-
UpdateChecker
public UpdateChecker()
-
-
Method Details
-
fetchDistanceFromGitHub
-
getUpdateStatusMessage
public boolean getUpdateStatusMessage(org.bukkit.command.CommandSender sender, boolean cached, int verbosity) -
updateJar
public void updateJar(org.bukkit.command.CommandSender sender)
-