Skip to content

For each specified modrinth project it should be possible to give a version type #1871

@michiruf

Description

@michiruf

Enhancement Type

Improve an existing feature

Describe the enhancement

Since minecraft mods in my opinion do not follow very consistent version types (release, beta, alpha), it should be possible to overwrite the env MODRINTH_ALLOWED_VERSION_TYPE for each project.

The reason behind this is, that even one mod, that is in alpha state will force the oders to may get downloaded in alpha state aswell, if one tries to only use MODRINTH_PROJECTS rather than the mods directory.

One suggestion for a format would be:

MODRINTH_PROJECTS: mod1@alpha,mod2@beta,mod3
MODRINTH_ALLOWED_VERSION_TYPE: release

where release type after the @ is the new minimum required version for this specific mod.

Another suggestion coming with this would be, that its possible to specify MODRINTH_PROJECTS in multiline with having whitespaces, like it is possible in itzg/bungeecord with PLUGINS, because the list can get pretty long then. For example:

MODRINTH_PROJECTS: |
  mod1@alpha,
  mod2@beta,
  mod3
MODRINTH_ALLOWED_VERSION_TYPE: release

EDIT: I tested wrongly, multiline already works

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions