Skip to content

[feature][fabric] support {{@mcversion@}} and {{@loaderversion@}} in installerArguments and add installerVersion #69

@FederAndInk

Description

@FederAndInk

the fabric installer needs to be called with minecraft and loader version, it could be great to inject those variable in the installerArguments:

  installerArguments:
    - "server"
    - "-downloadMinecraft"
    - "-mcversion"
    - "{{@mcversion@}}"
    - "-loader"
    - "{{@loaderversion@}}"

Also this doesn't work, as the loaderVersion is not the same as the installer version for fabric:

# For Fabric: "https://maven.fabricmc.net/net/fabricmc/fabric-installer/{{@loaderversion@}}/fabric-installer-{{@loaderversion@}}.jar"

For instance the fabric installer: https://maven.fabricmc.net/net/fabricmc/fabric-installer/0.11.0/fabric-installer-0.11.0.jar
and it could be called like this: java -jar fabric-installer-0.11.0.jar server -downloadMinecraft -mcversion 1.18.2 -loader 0.14.8

So it could be great to also add installerVersion to be able to do:

  installerUrl: "https://maven.fabricmc.net/net/fabricmc/fabric-installer/{{@installerversion@}}/fabric-installer-{{@installerversion@}}.jar"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions