Skip to content

Environment metadata cannot be set on multiplatform uni-jars #5199

@QPCrummer

Description

@QPCrummer

Please confirm the following.

What browsers are you seeing the problem on?

Chrome (including Arc, Brave, Opera, Vivaldi)

Describe the bug

You cannot select an environment type if the project you are uploading contains multiple modding platforms (presumably PaperMC and Sponge hide the option?). This wouldn't inherently be an issue, but the AutoMod has flagged my mod as incomplete and auto rejected it with something I can't fix. Here is my mod and here is a screenshot of the metadata editor:

https://modrinth.com/plugin/fair-fight

Image

Steps to reproduce

  1. Upload a jar and label it as Fabric and Sponge/PaperMC
  2. Since Sponge/PaperMC is always server-side, it seems that Modrinth just assumes that no other option is selected and doesn't allow me to choose an environment
  3. This makes AutoMod think that there is none selected and rejects the mod

Expected behavior

The environment option is either still selectable (preferable) or defaulted to server-side for all loaders if paired with one that forces server-side modding.

Additional context

The automatic metadata system seems to be extremely fragile with projects such as mine. I think the automatic detection should either be reworked to fix some issues with uni-jars, just disabled if more than one loader is present, or preferably allow me to override options like the environment even if it seems impossible on some loaders (Ex: client & server even if PaperMC is selected)

Metadata

Metadata

Assignees

No one assigned

    Labels

    websiteRelates to Modrinth.com web frontend

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions