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

Mark client-only mods as unsupported for servers in exports #1148

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JulianVennen
Copy link

When you export a mrpack all mods are always marked as required. This generally works fine for the client, since most "server-only" mods usually target the logical server and are still useful in single player.
For servers, however, this causes many issues. "Client-only" mods often cause crashes when running on a dedicated server.

This PR marks mods that do not support servers as unsupported on the server, which fixes #911 and #1081.

Ideally, the modpack author would have the option to pick which mods to include on the server and client and which mods should be optional. The behavior of this PR should still be the default selection for this menu due to the reasons mentioned above.

@JulianVennen
Copy link
Author

The PR that introduces the previous code (#703) references #665 as the reason for these changes, which only concerns optional mods and therefore isn't really affected by this.

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

Successfully merging this pull request may close these issues.

Modpack Export incorrectly sets mod.env.server to required
1 participant