Skidamek / AutoModpack

Enjoy a seamless modpack installation process and effortless updates with a user-friendly solution that simplifies management, making your gaming experience a breeze.
https://modrinth.com/mod/automodpack
GNU Lesser General Public License v3.0
107 stars 32 forks source link

server-side mod selector #244

Closed TinhoCarrara closed 3 months ago

TinhoCarrara commented 3 months ago

Motivation

some mods cause bug if installed on client side

Description

There are some mods that need to be installed only on the server side as installing them on the client side causes bugs. Is there any way to configure which mods should be downloaded and which not via the server?

Other information

No response

Skidamek commented 3 months ago

Yes, see syncedFiles by default it includes all mods (files ending with .jar to the modpack). Using ! you can exclude any of them. As in example with iDontWantThisModInModpack.jar.

Skidamek commented 3 months ago

Or second option remove everything from syncedFiles, and place everything you want (without these server side mods) into ~/automodpackhost-modpack/main/ directory. But that's then requires changing files there everytime you change them in standard mods folder, otherwise in the modpack would be different version of the mod than on the server. And you lose a bit of space because these files are duplicated. This solution is great for different problem, where client mod gets loaded to server and it causes issues on server.