Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add way of handling optional mods #53

Closed
EliSauder opened this issue Aug 11, 2024 · 5 comments
Closed

Add way of handling optional mods #53

EliSauder opened this issue Aug 11, 2024 · 5 comments
Labels
enhancement New feature or request

Comments

@EliSauder
Copy link

Currently there is no automatically way with the installer to handle optional mods (that I can find in the help options). There should be an interactive (select the optional mods you want installed) and an automatic (command line options that disable all, enable all, or enable select mods) way of managing optional mods upon installation.

@nothub
Copy link
Owner

nothub commented Aug 13, 2024

Yeah I like this idea.

@nothub nothub added the enhancement New feature or request label Aug 13, 2024
@nothub
Copy link
Owner

nothub commented Feb 12, 2025

Working-branch: feature/optional-mods

@nothub
Copy link
Owner

nothub commented Feb 12, 2025

Currently, all optional mods will be installed.
The same behavior should be the default behavior when this feature is implemented.

New flags:

  • --optional-select=<modid>,<modid>,<modid>
  • --optional-disable-all

@nothub
Copy link
Owner

nothub commented Feb 12, 2025

Hmm, I just realized that no reference to the mod-id is included in the modrinth.index.json file itself.

The mod would have to be downloaded and the included modloader-specific metadata read to obtain the mod-id. So instead of using the mod-id for the --optional-select flag, it is probably better to use some kind of name pattern.

@nothub
Copy link
Owner

nothub commented Feb 13, 2025

I did not add an interactive dialog yet, this might be added in a later version.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants