Option for downloading packs via modpacks.ch #191
CoolandonRS
started this conversation in
Feature requests
Replies: 1 comment
-
I can't add tags, but for clarification, this suggestion is for Theseus. And at the very least, support for importing packs from FTBApp should be considered, as currently you have to manually import if you want to play a newer FTB modpack. From surface level observation it's more or less just a slightly modified version of the curseforge profile format. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
modpacks.ch is an API built by CreeperHost intending to create a centralized modpack manifest format, and is used by FTB and has support for curseforge packs, meaning that both could be supported by this feature.
It would be nice to have an explicit option to search/download via modpacks.ch, as the only current method to download packs not hosted on modrinth is with a seperate launcher, then importing them.
The request flow (from the docs) to search and download modpacks is:
/public/modpack/search/{maxResults}?term={searchTerm}
to get IDs of relevant modpacks/public/modpack/{id}
to get details on the modpack (name, version, images, etc)/public/modpack/{id}/{versionID}
to get files (mods, config) and changelog. Download links are included in this response.Optionally, to log install and play statistics:
/public/modpack/{id}/{versionID}/install
increment install count./public/modpack/{id}/{versionID}/play
increment play count.The docs don't seem to be amazing, but good enough to get a relevant understanding.
Also, I will note, the API for some reason does not return error status codes, instead returning a
200 OK
and a"status": "error"
in the JSON response.Beta Was this translation helpful? Give feedback.
All reactions