| Modifier and Type | Method and Description |
|---|---|
UpdateChecker |
UpdateChecker.checkEveryXHours(double hours)
Starts to check every X hours for updates.
|
UpdateChecker |
UpdateChecker.checkEveryXHours(double hours)
Starts to check every X hours for updates.
|
UpdateChecker |
UpdateChecker.checkNow()
Checks for updates now and sends the result to the console when
notifyRequesters is set to true (default)
|
UpdateChecker |
UpdateChecker.checkNow()
Checks for updates now and sends the result to the console when
notifyRequesters is set to true (default)
|
UpdateChecker |
UpdateChecker.checkNow(org.bukkit.command.CommandSender... requesters)
Checks for updates now and sends the result to the given list of
CommandSenders.
|
UpdateChecker |
UpdateChecker.checkNow(org.bukkit.command.CommandSender... requesters)
Checks for updates now and sends the result to the given list of
CommandSenders.
|
static UpdateChecker |
UpdateChecker.getInstance()
Deprecated.
As of SpigotUpdateChecker 1.4.0, more than one instance can exist at the same time. Keep track of the instances you created yourself.
|
static UpdateChecker |
UpdateChecker.getInstance()
Deprecated.
As of SpigotUpdateChecker 1.4.0, more than one instance can exist at the same time. Keep track of the instances you created yourself.
|
static UpdateChecker |
UpdateChecker.init(org.bukkit.plugin.java.JavaPlugin plugin,
int spigotResourceId)
Deprecated.
Use
UpdateChecker(JavaPlugin, UpdateCheckSource, String) instead. |
static UpdateChecker |
UpdateChecker.init(org.bukkit.plugin.java.JavaPlugin plugin,
int spigotResourceId)
Deprecated.
Use
UpdateChecker(JavaPlugin, UpdateCheckSource, String) instead. |
static UpdateChecker |
UpdateChecker.init(org.bukkit.plugin.java.JavaPlugin plugin,
String apiLink)
Deprecated.
Use
UpdateChecker(JavaPlugin, UpdateCheckSource, String) instead. |
static UpdateChecker |
UpdateChecker.init(org.bukkit.plugin.java.JavaPlugin plugin,
String apiLink)
Deprecated.
Use
UpdateChecker(JavaPlugin, UpdateCheckSource, String) instead. |
UpdateChecker |
UpdateChecker.onFail(BiConsumer<org.bukkit.command.CommandSender[],Exception> onFail)
Sets a task that will run when/after the update check has failed.
|
UpdateChecker |
UpdateChecker.onFail(BiConsumer<org.bukkit.command.CommandSender[],Exception> onFail)
Sets a task that will run when/after the update check has failed.
|
UpdateChecker |
UpdateChecker.onSuccess(BiConsumer<org.bukkit.command.CommandSender[],String> onSuccess)
Sets a task that will run when/after the update check has succeeded.
|
UpdateChecker |
UpdateChecker.onSuccess(BiConsumer<org.bukkit.command.CommandSender[],String> onSuccess)
Sets a task that will run when/after the update check has succeeded.
|
UpdateChecker |
UpdateChecker.setChangelogLink(int resourceId)
Sets a link to your plugin's changelog generated from your plugin's SpigotMC/Polymart
Resource ID
|
UpdateChecker |
UpdateChecker.setChangelogLink(int resourceId)
Sets a link to your plugin's changelog generated from your plugin's SpigotMC/Polymart
Resource ID
|
UpdateChecker |
UpdateChecker.setChangelogLink(String link)
Sets a link to your plugin's changelog.
|
UpdateChecker |
UpdateChecker.setChangelogLink(String link)
Sets a link to your plugin's changelog.
|
UpdateChecker |
UpdateChecker.setColoredConsoleOutput(boolean coloredConsoleOutput)
Sets whether or not the used and latest version will be displayed in color in the console
|
UpdateChecker |
UpdateChecker.setColoredConsoleOutput(boolean coloredConsoleOutput)
Sets whether or not the used and latest version will be displayed in color in the console
|
UpdateChecker |
UpdateChecker.setDonationLink(String donationLink)
Sets a link to your plugin's donation website
|
UpdateChecker |
UpdateChecker.setDonationLink(String donationLink)
Sets a link to your plugin's donation website
|
UpdateChecker |
UpdateChecker.setDownloadLink(int resourceId)
Sets the download link for your plugin generated from your plugin's SpigotMC/Polymart
Resource ID.
|
UpdateChecker |
UpdateChecker.setDownloadLink(int resourceId)
Sets the download link for your plugin generated from your plugin's SpigotMC/Polymart
Resource ID.
|
UpdateChecker |
UpdateChecker.setDownloadLink(String downloadLink)
Sets the download link for your plugin.
|
UpdateChecker |
UpdateChecker.setDownloadLink(String downloadLink)
Sets the download link for your plugin.
|
UpdateChecker |
UpdateChecker.setFreeDownloadLink(int resourceId)
Sets the download link for the free version of your plugin generated from
your plugin's SpigotMC/Polymart Resource ID.
|
UpdateChecker |
UpdateChecker.setFreeDownloadLink(int resourceId)
Sets the download link for the free version of your plugin generated from
your plugin's SpigotMC/Polymart Resource ID.
|
UpdateChecker |
UpdateChecker.setFreeDownloadLink(String freeDownloadLink)
Sets the download link for the free version of your plugin.
|
UpdateChecker |
UpdateChecker.setFreeDownloadLink(String freeDownloadLink)
Sets the download link for the free version of your plugin.
|
UpdateChecker |
UpdateChecker.setNameFreeVersion(String nameFreeVersion)
Sets the name/suffix for the free version's name.
|
UpdateChecker |
UpdateChecker.setNameFreeVersion(String nameFreeVersion)
Sets the name/suffix for the free version's name.
|
UpdateChecker |
UpdateChecker.setNamePaidVersion(String namePaidVersion)
Sets the name/suffix for the paid version's name.
|
UpdateChecker |
UpdateChecker.setNamePaidVersion(String namePaidVersion)
Sets the name/suffix for the paid version's name.
|
UpdateChecker |
UpdateChecker.setNotifyByPermissionOnJoin(String permission)
Sets the permission needed to be informed about UpdateChecker results on join.
|
UpdateChecker |
UpdateChecker.setNotifyByPermissionOnJoin(String permission)
Sets the permission needed to be informed about UpdateChecker results on join.
|
UpdateChecker |
UpdateChecker.setNotifyOpsOnJoin(boolean notifyOpsOnJoin)
Whether or not to inform OPs on join when there is a new version available.
|
UpdateChecker |
UpdateChecker.setNotifyOpsOnJoin(boolean notifyOpsOnJoin)
Whether or not to inform OPs on join when there is a new version available.
|
UpdateChecker |
UpdateChecker.setNotifyRequesters(boolean notify)
Whether or not CommandSenders who request an update check will be notified of the result.
|
UpdateChecker |
UpdateChecker.setNotifyRequesters(boolean notify)
Whether or not CommandSenders who request an update check will be notified of the result.
|
UpdateChecker |
UpdateChecker.setPaidDownloadLink(int resourceId)
Sets the download link for the paid version of your plugin generated from
your plugin's SpigotMC/Polymart Resource ID.
|
UpdateChecker |
UpdateChecker.setPaidDownloadLink(int resourceId)
Sets the download link for the paid version of your plugin generated from
your plugin's SpigotMC/Polymart Resource ID.
|
UpdateChecker |
UpdateChecker.setPaidDownloadLink(String link)
Sets the download link for the paid version of your plugin.
|
UpdateChecker |
UpdateChecker.setPaidDownloadLink(String link)
Sets the download link for the paid version of your plugin.
|
UpdateChecker |
UpdateChecker.setSupportLink(String link)
Sets a link to your plugin's support channel.
|
UpdateChecker |
UpdateChecker.setSupportLink(String link)
Sets a link to your plugin's support channel.
|
UpdateChecker |
UpdateChecker.setTimeout(int timeout)
Sets the timeout for the HTTP(S) connection in milliseconds. 0 = use Java's
default value
|
UpdateChecker |
UpdateChecker.setTimeout(int timeout)
Sets the timeout for the HTTP(S) connection in milliseconds. 0 = use Java's
default value
|
UpdateChecker |
UpdateChecker.setUsedVersion(String usedVersion)
Sets the version string of the currently used plugin version.
|
UpdateChecker |
UpdateChecker.setUsedVersion(String usedVersion)
Sets the version string of the currently used plugin version.
|
UpdateChecker |
UpdateChecker.setUserAgent(String userAgent)
Sets the UserAgent string using plain text
|
UpdateChecker |
UpdateChecker.setUserAgent(String userAgent)
Sets the UserAgent string using plain text
|
UpdateChecker |
UpdateChecker.setUserAgent(UserAgentBuilder userAgentBuilder)
Sets the UserAgent string using a UserAgentBuilder
|
UpdateChecker |
UpdateChecker.setUserAgent(UserAgentBuilder userAgentBuilder)
Sets the UserAgent string using a UserAgentBuilder
|
UpdateChecker |
UpdateChecker.setUsingPaidVersion(boolean paidVersion)
Tells the UpdateChecker whether the server already uses the paid version of
your plugin.
|
UpdateChecker |
UpdateChecker.setUsingPaidVersion(boolean paidVersion)
Tells the UpdateChecker whether the server already uses the paid version of
your plugin.
|
UpdateChecker |
UpdateChecker.stop()
Stops the scheduled update checks.
|
UpdateChecker |
UpdateChecker.stop()
Stops the scheduled update checks.
|
UpdateChecker |
UpdateChecker.suppressUpToDateMessage(boolean suppress)
Sets whether the message "You are using the latest version of
|
UpdateChecker |
UpdateChecker.suppressUpToDateMessage(boolean suppress)
Sets whether the message "You are using the latest version of
|
Copyright © 2021–2025 JEFF Media GbR. All rights reserved.