Package stawa.vitalstrike.utils
Class UpdateChecker
java.lang.Object
stawa.vitalstrike.utils.UpdateChecker
Checks for updates to the VitalStrike plugin by querying the GitHub API.
-
Constructor Summary
ConstructorsConstructorDescriptionUpdateChecker(org.bukkit.plugin.java.JavaPlugin plugin, Logger logger) Creates a new UpdateChecker instance. -
Method Summary
Modifier and TypeMethodDescriptionvoidAsynchronously checks for updates and logs the result.
-
Constructor Details
-
UpdateChecker
Creates a new UpdateChecker instance.- Parameters:
plugin- The plugin instancelogger- The logger to use for reporting update status
-
-
Method Details
-
checkForUpdates
public void checkForUpdates()Asynchronously checks for updates and logs the result.
-