Interface GCNTUpdater


public interface GCNTUpdater
The official GCNT Updater that links to My GCNT Plugins to check if the plugin is up-to-date.
Author:
GCNT Development
  • Method Details

    • getUpdateURL

      String getUpdateURL()
      Get the URL of the newer version.
      Returns:
      URL that links to the update page.
    • checkForUpdate

      boolean checkForUpdate()
      Check for a new update.
      Returns:
      True when succeeded, false otherwise.
    • getUpdateStatus

      int getUpdateStatus()
      Get the update status.
      Returns:
      -1 on error
      0 when up-to-date
      1 when newer version found.
    • getLatestVersion

      String getLatestVersion()
      Get the latest version (including betas) that was released on My GCNT.
      Returns:
      Latest (beta) version of this plugin.
    • getLatestOfficialVersion

      String getLatestOfficialVersion()
      Get the latest official version (non-beta) that was released on My GCNT.
      Returns:
      The latest official version of this plugin.
    • getPluginName

      String getPluginName()
      Get the name of this plugin.
      Returns:
      Name of this plugin.
    • getCurrentVersion

      String getCurrentVersion()
      Get the current version of this plugin.
      Returns:
      Current plugin version.