mfnalex / Spigot-UpdateChecker

UpdateChecker for your Spigot plugins with only one line of code needed in your plugin!
GNU General Public License v3.0
52 stars 14 forks source link

Add UpdateChecker#setUsedVersion(String) #12

Closed SkytAsul closed 2 years ago

SkytAsul commented 2 years ago

Currently, the UpdateCheck is setting "usedVersion" as the plugin version defined in plugin.yml. However, I'd like to put a custom version string so it can be compared with a custom value fetched via an API. In my case, my version string is x.x.x_BUILDXX. I don't care about x.x.x, I just want the util to compare XX with the build number fetched from my Jenkins API.