Hello!
Imagine I want my plugin to work only, if the Minecraft installation it runs on
a) has a certain Sponge version,
b) certain Forge version and
c) some mods are present and all of them have the correct versions (the correct versions are hard-coded into my plugin).
Questions:
-
Is it possible to get the list and the version information of installed mods from within plugin?
-
What is the best practice to disable (and let the user know) a Sponge mod/plugin, if some of the prerequisites are not met? Print a console message, write to log, both, or something else?
Thanks
Dmitri Pisarenko