Command to extract and install client files.
Opened this issue · 4 comments
It would be neat if this feature could be implemented with Automodpack in mind by extracting both client and server stuff into different directories. That way they can be served to the client and a user would only need a very basic setup to join an Automodpack-enabled server.
@limejet thanks for your input!
I have never used AutoModpack, are there some specific things I have to care about or is it sufficient or is it sufficient if I expose 2 cli flags to defined the 2 paths?
By default automodpack just sends files in mods/
and config/
(configurable in automodpack/automodpack-server.json
) as well as everything in automodpack/host-modpack
. This allows for sending shaderpacks and things of that nature to the client without polluting the server instance with unused files.
A --client
flag should be enough to get a working setup, because it could be done in two steps:
mrpack-install <pack-name> /path/to/minecraft/
to set up the instance- something like
mrpack-install <pack-name> --client /path/to/minecraft/automodpack/host-modpack
Maybe with the addition of a flag like --data-only
(or some better name) that would prevent files not specified in the mrpack (server.jar and such) from being downloaded.
For reference, the way I've set up my server is that players download a "base.mrpack" that just contains quilt, automodpack, and the server address. An first join they get everything else, and this way I only have to update the base pack whenever there's an update to the game, the loader, or automodpack.
Okay this sounds good, I gonna try to implement this in a clean way that is nice to use.