Uses of Class
com.jeff_media.updatechecker.UserAgentBuilder
-
Uses of UserAgentBuilder in com.jeff_media.updatechecker
Methods in com.jeff_media.updatechecker that return UserAgentBuilderModifier and TypeMethodDescriptionUserAgentBuilder.addBukkitVersion()
Adds the Bukkit version.UserAgentBuilder.addKeyValue
(String key, String value) Adds a custom Key/Value string.UserAgentBuilder.addPlaintext
(String text) Adds a custom string.UserAgentBuilder.addPluginNameAndVersion()
Adds the plugin and version.UserAgentBuilder.addServerVersion()
Adds the Server version.UserAgentBuilder.addSpigotUserId()
Returns the Spigot User ID of the user who downloaded the plugin.UserAgentBuilder.addUsingPaidVersion()
Returns whether this copy of the .jar is a paid plugin downloaded from SpigotMC.org.static UserAgentBuilder
UserAgentBuilder.getDefaultUserAgent()
Returns the default User-Agent, consisting of Plugin name and version, Server version and Bukkit versionMethods in com.jeff_media.updatechecker with parameters of type UserAgentBuilderModifier and TypeMethodDescriptionUpdateChecker.setUserAgent
(UserAgentBuilder userAgentBuilder) Sets the UserAgent string using a UserAgentBuilder