Skip to content

Modrinth modpack from local file #2313

Description

@Firestar99

Enhancement Type

Improve an existing feature

Describe the enhancement

I would like to be able to create a modpack in prism launcher, exported it as a modrinth pack and import it into your amazing docker container. To me it seems like the easier workflow than specifying the fabric version in the env and copying all the mods in the mods folder.
However I would like to keep the pack private, and thus want to just copy the *.mrpack file to the data directory and specify the modrinth project as a local file:// path:

    environment:
      EULA: "TRUE"
      TYPE: "MODRINTH"
      MODRINTH_PROJECT: "file:///data/localpack.mrpack"

Unfortunately these project path seems to be limited to https:// addresses, as the container errors with:

minecraft  | [mc-image-helper] 16:26:01.317 ERROR : Invalid parameter provided for 'install-modrinth-modpack' command: Unable to locate requested project given ProjectRef(idOrSlug=file:///data/localpack.mrpack, versionType=null, versionId=null, versionName=null)
minecraft  | [init] ERROR failed to install Modrinth modpack

Any ideas how to get this working? :D
For the moment I will have to resort to just copying the mods folder.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions