An easy-to-use template for an automated modpack development environment.
.jar
s, resource packs, shader packs and overrides are handled properly! ModpackDownloader.This template uses various tools to help you with your modpack development and release process.
Release uses: PAX to export the modpack as zip, ModpackDownloader to download mod .jar
's and other files from manifest.json
, and ServerPackCreator to remove client-side mods and create the server pack.
Development uses: PAX to manage mods, and ModpackDownloader to download mod .jar
's and other files from manifest.json
.
./pax/setup-windows.ps1
with PowerShell.cd
command to move into the ./pax
folder, then run sh setup-linux.sh
.cd
command to move into the ./pax
folder, then run brew install grep
and after it is finished, run sh setup-macos.sh
../pax/sync_overrides.sh
. By default only config
, local
, oresources
, patchouli_books
, resources
, scripts
and structures
are synced with your modpack folder.Set up automatic releases using a CurseForge API token. (Can be done later or skipped if you don't wish to have releases automated.)
Navigate to curseforge.com/account/api-tokens.
Enter a name for your token and hit the "Generate Token" button.
Copy your generated secret (the jumbled mess of numbers, letters and dashes).
Create a new Secret for GitHub Actions with the name CF_API_TOKEN
, and for the value, paste your previously copied secret.
Open an editor with the release workflow config file (located at .github/workflows/Release.yml in your project folder).
Locate the PROJECT_ID
env variable and change the value to your modpack project ID.
env:
PROJECT_ID: "443254" # If your Curseforge page shows 443254 as the Project ID.
After you have set up your modpack, use the ModpackDownloader to download the mod .jar
s and other files.
cd
command to move into the ./pax
folder, then run the ModpackDownloader:
java -jar ModpackDownloader-<version>.jar modpack ..
Note Make sure to replace the
<version>
with the correct version of ModpackDownloader.