Class SkriptUpdater

java.lang.Object
ch.njol.skript.update.Updater
ch.njol.skript.SkriptUpdater

public class SkriptUpdater extends Updater
Skript's update checker.
  • Field Details

    • m_not_started

      public static final Message m_not_started
    • m_checking

      public static final Message m_checking
    • m_check_in_progress

      public static final Message m_check_in_progress
    • m_updater_disabled

      public static final Message m_updater_disabled
    • m_check_error

      public static final ArgsMessage m_check_error
    • m_running_latest_version

      public static final Message m_running_latest_version
    • m_running_latest_version_beta

      public static final Message m_running_latest_version_beta
    • m_update_available

      public static final ArgsMessage m_update_available
    • m_downloading

      public static final ArgsMessage m_downloading
    • m_download_in_progress

      public static final Message m_download_in_progress
    • m_download_error

      public static final ArgsMessage m_download_error
    • m_downloaded

      public static final ArgsMessage m_downloaded
    • m_internal_error

      public static final Message m_internal_error
    • m_custom_version

      public static final Message m_custom_version
    • m_nightly

      public static final Message m_nightly
  • Method Details

    • updateCheck

      public CompletableFuture<Void> updateCheck(org.bukkit.command.CommandSender sender)
      Checks for updates and messages the sender.
      Parameters:
      sender - Who should we message.
      Returns:
      Future that completes when we're done.
    • changesCheck

      public CompletableFuture<Void> changesCheck(org.bukkit.command.CommandSender sender)
      Checks for update change log and messages the sender.
      Parameters:
      sender - Who should we message
      Returns:
      Future that completes when we're done.