-
Notifications
You must be signed in to change notification settings - Fork 3
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 mods as client/server only #22
Comments
This could be used for automatically creating serverpacks for a pack version. |
I briefly looked into implementing this, but couldn't find a way to tell if mods were client or server only. I suppose it could be implemented as |
Afaik theres no way to tell if a mod is client- or server-side just from the API, the user would have to enter that information themselves, probably something like Nevertheless I think we'll first need an exporter that doesn't export |
This may be naive as I'm relatively new to modpack dev, but would something like this work: zipgrep "net.minecraft.client" MODFILE.jar If no results are returned, it's a server-only mod? |
Nope, or at least maybe but that's not what you need to detect... You need to detect whether is a client-only mod for making a server pack since server-only are also required for the internal server. |
Mark some mods as client/server only when installing.
Requires a nice server exporter first, of course.
The text was updated successfully, but these errors were encountered: