Allow for a repo that can be better parsed


I contribute to the Pterodactyl Panel and there is something called “nests” which allow a User to automatically select what type of software they wish to download. Be it a source game to Minecraft Forge project. Typically, there is a var called “version” that allow a user to pick which MC and Software version they wish to download.

For Forge, the Install script’s version catch is this:

(curl -sl | grep -A1 Latest | grep -o -e ‘[1].[0-9][0-9]]?.?[0-9]?[0-9] - [0-9][0-9].[0-9][0-9].[0-9]?[0-9].[0-9][0-9][0-9][0-9]’)

Thanks to the Javascript, Curl doesnt work, and we cannot automatically parse the version numbers. Is it possible to get a repo that we may beable to parse through curl and possibly a “latest version” link that always points to the latest. Maybe a “Stable” link too.


If I understand correctly, you’re looking for a way to query for versions.

Firstly, both forge and sponge use a maven repository. So rather than scraping the page content (which is bound to break at some point), you can parse the maven XML data:




In addition, There are other ways to query for versions:

Every version of Forge as a JSON object:
Reccommended forge versions:

The Sponge download site ( also has an API, documented here:

For example,
Stable SpongeForge 1.12.2 builds:

Get the latest stable SpongeVanilla build: