Index

A C D F G I N O R S U V 
All Classes|All Packages

A

addBukkitVersion() - Method in class de.jeff_media.updatechecker.UserAgentBuilder
Adds the Bukkit version.
addKeyValue(String, String) - Method in class de.jeff_media.updatechecker.UserAgentBuilder
Adds a custom Key/Value string.
addPlaintext(String) - Method in class de.jeff_media.updatechecker.UserAgentBuilder
Adds a custom string.
addPluginNameAndVersion() - Method in class de.jeff_media.updatechecker.UserAgentBuilder
Adds the plugin and version.
addServerVersion() - Method in class de.jeff_media.updatechecker.UserAgentBuilder
Adds the Server version.
addSpigotUserId() - Method in class de.jeff_media.updatechecker.UserAgentBuilder
Returns the Spigot User ID of the user who downloaded the plugin.
addUsingPaidVersion() - Method in class de.jeff_media.updatechecker.UserAgentBuilder
Returns whether this copy of the .jar is a paid plugin downloaded from SpigotMC.org.

C

checkEveryXHours(double) - Method in class de.jeff_media.updatechecker.UpdateChecker
Starts to check every X hours for updates.
checkNow() - Method in class de.jeff_media.updatechecker.UpdateChecker
Checks for updates now and sends the result to the console when notifyRequesters is set to true (default)
checkNow(CommandSender...) - Method in class de.jeff_media.updatechecker.UpdateChecker
Checks for updates now and sends the result to the given list of CommandSenders.

D

de.jeff_media.updatechecker - package de.jeff_media.updatechecker
 

F

FAIL - Enum constant in enum class de.jeff_media.updatechecker.UpdateCheckSuccess
 

G

getAppropriateDownloadLinks() - Method in class de.jeff_media.updatechecker.UpdateChecker
Returns a list of applicable Download links.
getChangelogLink() - Method in class de.jeff_media.updatechecker.UpdateChecker
Returns the changelog link
getDefaultUserAgent() - Static method in class de.jeff_media.updatechecker.UserAgentBuilder
Returns the default User-Agent, consisting of Plugin name and version, Server version and Bukkit version
getDonationLink() - Method in class de.jeff_media.updatechecker.UpdateChecker
Returns the donation link
getHandlerList() - Static method in class de.jeff_media.updatechecker.UpdateCheckEvent
 
getHandlers() - Method in class de.jeff_media.updatechecker.UpdateCheckEvent
 
getInstance() - Static method in class de.jeff_media.updatechecker.UpdateChecker
Gets the current UpdateChecker singleton
getLastCheckResult() - Method in class de.jeff_media.updatechecker.UpdateChecker
Returns the last successful UpdateCheckResult
getLatestVersion() - Method in class de.jeff_media.updatechecker.UpdateChecker
Returns the latest version string found by the UpdateChecker, or null if all checks until yet have failed.
getLatestVersion() - Method in class de.jeff_media.updatechecker.UpdateCheckEvent
Returns the latest version string found by the UpdateChecker, or null if all previous checks have failed.
getNameFreeVersion() - Method in class de.jeff_media.updatechecker.UpdateChecker
Returns the name/suffix of the free plugin version
getNamePaidVersion() - Method in class de.jeff_media.updatechecker.UpdateChecker
Returns the name/suffix of the paid plugin version
getNotifyPermission() - Method in class de.jeff_media.updatechecker.UpdateChecker
Returns the permission required to receive UpdateChecker messages on join
getOnFail() - Method in class de.jeff_media.updatechecker.UpdateChecker
Gets the task that will run when/after the update check fails.
getOnSuccess() - Method in class de.jeff_media.updatechecker.UpdateChecker
Gets the task that will run when/after the update check succeeds.
getRequesters() - Method in class de.jeff_media.updatechecker.UpdateCheckEvent
Gets an array of all CommandSenders who have requested this update check.
getResult() - Method in class de.jeff_media.updatechecker.UpdateCheckEvent
Gets the result, i.e. whether a new version is available or not.
getSpigotUserId() - Method in class de.jeff_media.updatechecker.UpdateChecker
Gets the Spigot User ID of the user who downloaded the plugin if it's a premium plugin, otherwise "%%__USER__%%"
getSuccess() - Method in class de.jeff_media.updatechecker.UpdateCheckEvent
Checks whether the update checking attempt was successful or failed.
getUsedVersion() - Method in class de.jeff_media.updatechecker.UpdateChecker
Gets the version string of the currently used plugin version
getUsedVersion() - Method in class de.jeff_media.updatechecker.UpdateCheckEvent
Gets the version string of the currently used plugin version.

I

init(Plugin, int) - Static method in class de.jeff_media.updatechecker.UpdateChecker
Initializes the UpdateChecker instance.
init(Plugin, String) - Static method in class de.jeff_media.updatechecker.UpdateChecker
Initializes the UpdateChecker instance.
isCheckedAtLeastOnce() - Method in class de.jeff_media.updatechecker.UpdateChecker
 
isColoredConsoleOutput() - Method in class de.jeff_media.updatechecker.UpdateChecker
Returns whether colored console output is enabled
isNotifyOpsOnJoin() - Method in class de.jeff_media.updatechecker.UpdateChecker
Returns whether OPs will be notified on join when a new version is available
isNotifyRequesters() - Method in class de.jeff_media.updatechecker.UpdateChecker
Gets whether the given CommandSenders will be informed about UpdateChecker results
isOtherVersionNewer(String, String) - Static method in class de.jeff_media.updatechecker.UpdateChecker
Checks whether one version is really newer than another according to the semantic versioning scheme, including letters.
isSuppressUpToDateMessage() - Method in class de.jeff_media.updatechecker.UpdateChecker
Returns whether the message "You are using the latest version of " will be suppressed.
isUsingLatestVersion() - Method in class de.jeff_media.updatechecker.UpdateChecker
Checks whether the latest found version of the plugin is being used.
isUsingPaidVersion() - Method in class de.jeff_media.updatechecker.UpdateChecker
Returns whether the paid version of the plugin is installed.

N

NEW_VERSION_AVAILABLE - Enum constant in enum class de.jeff_media.updatechecker.UpdateCheckResult
 

O

onFail(BiConsumer<CommandSender[], Exception>) - Method in class de.jeff_media.updatechecker.UpdateChecker
Sets a task that will run when/after the update check has failed.
onSuccess(BiConsumer<CommandSender[], String>) - Method in class de.jeff_media.updatechecker.UpdateChecker
Sets a task that will run when/after the update check has succeeded.

R

RUNNING_LATEST_VERSION - Enum constant in enum class de.jeff_media.updatechecker.UpdateCheckResult
 

S

setChangelogLink(int) - Method in class de.jeff_media.updatechecker.UpdateChecker
Sets a link to your plugin's changelog generated from your plugin's SpigotMC Resource ID
setChangelogLink(String) - Method in class de.jeff_media.updatechecker.UpdateChecker
Sets a link to your plugin's changelog.
setColoredConsoleOutput(boolean) - Method in class de.jeff_media.updatechecker.UpdateChecker
Sets whether or not the used and latest version will be displayed in color in the console
setDonationLink(String) - Method in class de.jeff_media.updatechecker.UpdateChecker
Sets a link to your plugin's donation website
setDownloadLink(int) - Method in class de.jeff_media.updatechecker.UpdateChecker
Sets the download link for your plugin generated from your plugin's SpigotMC Resource ID.
setDownloadLink(String) - Method in class de.jeff_media.updatechecker.UpdateChecker
Sets the download link for your plugin.
setFreeDownloadLink(int) - Method in class de.jeff_media.updatechecker.UpdateChecker
Sets the download link for the free version of your plugin generated from your plugin's SpigotMC Resource ID.
setFreeDownloadLink(String) - Method in class de.jeff_media.updatechecker.UpdateChecker
Sets the download link for the free version of your plugin.
setNameFreeVersion(String) - Method in class de.jeff_media.updatechecker.UpdateChecker
Sets the name/suffix for the free version's name.
setNamePaidVersion(String) - Method in class de.jeff_media.updatechecker.UpdateChecker
Sets the name/suffix for the paid version's name.
setNotifyByPermissionOnJoin(String) - Method in class de.jeff_media.updatechecker.UpdateChecker
Sets the permission needed to be informed about UpdateChecker results on join.
setNotifyOpsOnJoin(boolean) - Method in class de.jeff_media.updatechecker.UpdateChecker
Whether or not to inform OPs on join when there is a new version available.
setNotifyRequesters(boolean) - Method in class de.jeff_media.updatechecker.UpdateChecker
Whether or not CommandSenders who request an update check will be notified of the result.
setPaidDownloadLink(int) - Method in class de.jeff_media.updatechecker.UpdateChecker
Sets the download link for the paid version of your plugin generated from your plugin's SpigotMC Resource ID.
setPaidDownloadLink(String) - Method in class de.jeff_media.updatechecker.UpdateChecker
Sets the download link for the paid version of your plugin.
setTimeout(int) - Method in class de.jeff_media.updatechecker.UpdateChecker
Sets the timeout for the HTTP(S) connection in milliseconds. 0 = use Java's default value
setUserAgent(UserAgentBuilder) - Method in class de.jeff_media.updatechecker.UpdateChecker
Sets the UserAgent string using a UserAgentBuilder
setUserAgent(String) - Method in class de.jeff_media.updatechecker.UpdateChecker
Sets the UserAgent string using plain text
setUsingPaidVersion(boolean) - Method in class de.jeff_media.updatechecker.UpdateChecker
Tells the UpdateChecker whether the server already uses the paid version of your plugin.
stop() - Method in class de.jeff_media.updatechecker.UpdateChecker
Stops the scheduled update checks.
SUCCESS - Enum constant in enum class de.jeff_media.updatechecker.UpdateCheckSuccess
 
suppressUpToDateMessage(boolean) - Method in class de.jeff_media.updatechecker.UpdateChecker
Sets whether the message "You are using the latest version of " should be suppressed.

U

UNKNOWN - Enum constant in enum class de.jeff_media.updatechecker.UpdateCheckResult
 
UpdateChecker - Class in de.jeff_media.updatechecker
Automatically checks for updates
UpdateCheckEvent - Class in de.jeff_media.updatechecker
This event is called whenever an update check is finished.
UpdateCheckResult - Enum Class in de.jeff_media.updatechecker
Represents whether a new version is available or not
UpdateCheckSuccess - Enum Class in de.jeff_media.updatechecker
Represents whether the update check was successful
UserAgentBuilder - Class in de.jeff_media.updatechecker
Creates a User-Agent string.
UserAgentBuilder() - Constructor for class de.jeff_media.updatechecker.UserAgentBuilder
 

V

valueOf(String) - Static method in enum class de.jeff_media.updatechecker.UpdateCheckResult
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class de.jeff_media.updatechecker.UpdateCheckSuccess
Returns the enum constant of this class with the specified name.
values() - Static method in enum class de.jeff_media.updatechecker.UpdateCheckResult
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class de.jeff_media.updatechecker.UpdateCheckSuccess
Returns an array containing the constants of this enum class, in the order they are declared.
A C D F G I N O R S U V 
All Classes|All Packages