Class UpdateChecker

java.lang.Object
stawa.vitalstrike.utils.UpdateChecker

public class UpdateChecker extends Object
Checks for updates to the VitalStrike plugin by querying the GitHub API.
  • Constructor Details

    • UpdateChecker

      public UpdateChecker(org.bukkit.plugin.java.JavaPlugin plugin, Logger logger)
      Creates a new UpdateChecker instance.
      Parameters:
      plugin - The plugin instance
      logger - The logger to use for reporting update status
  • Method Details

    • checkForUpdates

      public void checkForUpdates()
      Asynchronously checks for updates and logs the result.