I noticed that the latest profile for paperspigot is outdated (version 1.12). Does MineOS still support paperspigot? I do know that I could just manually set up the server but I would appreciate the convenience if the profile is kept up to date.
Paperspigot doesn’t provide a parse-able list of available versions to the public. There’s a list–just not a parse-able one. Therefore, paperspigot has always operated as a profile as one that had to be manually inputted, from version to URL, etc.
With that said, the profile for “paperspigot-latest” should still always point to the latest version, as seen in the profile definition here: https://github.com/hexparrot/mineos-node/blob/master/profiles.js#L287
If it’s not, that would need to be updated, but it would need to be updated with a URL which I don’t know and don’t keep up with. The change is relatively easy, though, if you are able to do a little legwork to locate the best URL for the latest paperspigot to be downloaded from, then I can update the profile definition.
I think there’s a way to retrieve an array of supported versions via official API as far as I’m concern.
https://papermc.io/api/v1/paper should return supported versions.
https://papermc.io/api/v1/paper/(version)/latest/download should return the jar file.
I think the list should be parse-able and the versions can be used to replace the placeholder to get respective jar file.
I read these from https://paper.readthedocs.io/en/stable/site/api.html
Yet, Thanks for your great work.
It’s not PaperSpigot anymore
Your link: https://ci.destroystokyo.com/job/PaperSpigot/lastSuccessfulBuild/artifact/
Reroutes to: https://papermc.io/ci/job/Paper/lastSuccessfulBuild/artifact/
But the new version’s latest is here:
Needs to point here for latest: https://papermc.io/ci/job/Paper-1.14/lastSuccessfulBuild/artifact/