Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[API] Mods Dependencies #195

Open
Dorky106 opened this issue Feb 25, 2018 · 1 comment
Open

[API] Mods Dependencies #195

Dorky106 opened this issue Feb 25, 2018 · 1 comment
Labels

Comments

@Dorky106
Copy link

If a mod depends on another mod but the require mod is not enabled the game should error out.
For servers, the console should say what dependencies are missing.
This could be done after "OnAssemblyLoaded" for all the mods but before afterstartup, if any dependencies are missing. Just give an error saying something like [Mod] depends on [OtherMod] of version [RequiredVersionofOtherModMustBeToWork]

As I'd rather get an error and the server not it start over being in the middle of playing and get errors and not know why.

The dependencies could be just added to modinfo,json files as an optional thing. With it being like
"dependencies": [ { "name": "", "minversion": "" } ]

@pipliz pipliz added the Planned label Mar 18, 2018
@pipliz
Copy link
Owner

pipliz commented Dec 20, 2021

Will have to check this, not sure what the current state of it is

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants