d2c49f1a6b9ba7df4820a66edf5ed0c125c6cb78
Updated instructions for modrinth export and clarified mod addition process.
Packwiz Modpack with Github Actions
This repo is a template for creating a packwiz modpack with an auto-updating prism launcher modpack using Github Actions to push updates to Github Pages and Releases. It can also publish updates to Curseforge and/or Modrinth, provided a token and project ID.
Usage
- Clone/Fork/Download this template onto your pc
- Enter the packwiz folder and edit the
pack.tomlor runpackwiz init -r - Enter the
prismfolder and edit theinstance.cfg, specifically thenameandPreLaunchCommandvariables - Create a new instance in Prism Launcher with your desired Minecraft and modloader versions, and copy the
mmc-pack.jsonfile from that instance into theprismfolder - Replace or remove
modpack.pngand update or remove theiconKeyininstance.cfgaccordingly - Replace this
README.mdand theLICENSE.mdfiles as appropriate for your modpack - Use
packwizto add mods to your pack in thepackwizfolder - Test modrith export:
packwiz modrinth export. If it fails with notification about manual downloads, you'll need to add those mods from Modrinth instead of Curseforge. If they are not availible on Modrith, do not add the jar files to the mods folder or add them via direct download url instead, as this would violate the licence terms of those mods. - Commit and push to GitHub.
- (optional) In your repo settings on GitHub, under the Pages environment, add the
MODRINTH_TOKENandMODRINTH_IDand/orCURSEFORGE_TOKENandCURSEFORGE_IDto enable automated releases on the respective site.
Releases and release notes are automatically generated from your pack.toml and commit messages. To create a new release, simply increment the version value in pack.toml, commit, and push.