Spigot Upstream
data class SpigotUpstream(val projectId: String, val baseUrl: String? = "https://api.spigotmc.org/legacy/", val baseUrlEndpoint: String? = "update.php?resource=", val releaseBaseUrl: String? = "https://www.spigotmc.org/", val releaseBaseUrlEndpoint: String? = "resources/", val upstreamPriority: Priority = 0.priority) : Upstream
The Spigot upstream.
Properties
Link copied to clipboard
The endpoint from where the data is requested [baseUrl+baseUrlEndpoint]
Link copied to clipboard
The url that is used as a base for all releases
Link copied to clipboard
The endpoint where the release should lead to [baseUrl+baseUrlEndpoint]
Link copied to clipboard
Priority is that used when comparing versions from multiple upstreams.
Functions
Link copied to clipboard
Fetches a version object from the upstream.
Link copied to clipboard
Converts a version string into a DefaultVersion.
Link copied to clipboard
Returns an Update from a DefaultVersion.