Interface VersionSupplier

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface VersionSupplier
Used to supply the latest version of your plugin in conjunction with UpdateChecker(JavaPlugin, VersionSupplier)
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the latest version of your plugin.
  • Method Details

    • getLatestVersionString

      String getLatestVersionString() throws IOException
      Returns the latest version of your plugin. Gets called async so do not access any Bukkit API.
      Throws:
      IOException