AutoModpack icon indicating copy to clipboard operation
AutoModpack copied to clipboard

Remove some files from clients blocked by the server based on their modId/hash/file name

Open Shrimplonex opened this issue 1 year ago • 13 comments

Playing a fabric server, currently has JEI installed, lookign to remove it and switch to REI. I know i can force REI to install by putting it in the modpack folder, but is there any way to force it to uninstall JEI even if it's set to ignore client side mods?

Shrimplonex avatar Jun 23 '23 19:06 Shrimplonex

what do you mean ignore client side mods?

Skidamek avatar Jun 23 '23 19:06 Skidamek

I could've sworn there was a setting to have automodpack ignore the client's client side mods like iris, sodium, and not force them to get removed. But i'm wanting to get JEI to be removed from the clients. Like for instance, the server does not have Iris installed on it, however all the clients have iris and automodpack does not delete it

Shrimplonex avatar Jun 23 '23 19:06 Shrimplonex

Do you have installed already JEI on automodpack's modpack on server? Then look here.

Skidamek avatar Jun 23 '23 19:06 Skidamek

Yes but removing it from the server does not make it remove from the clients as a client side mod

Shrimplonex avatar Jun 23 '23 19:06 Shrimplonex

it does if it was previously in automodpack modpack and client had it installed by automodpack

Skidamek avatar Jun 23 '23 19:06 Skidamek

it is no longer in my server, i restarted the server, i closed my client, openned myclient, logged into server, my client still has JEI isntalled, and when hovering over for instance the + on a recipe, it says it is no longer installed on the server

Shrimplonex avatar Jun 23 '23 19:06 Shrimplonex

Like, the pack started off from more than just automodpack, it's a pack that had automodpack in it not entirely made from automodpack, so it's possible JEI was just installed manually, but that's why im asking if there's a way to force automodpack to delete it

Shrimplonex avatar Jun 23 '23 19:06 Shrimplonex

image It also isnt pushing the update to install REI, but that's fine because i know how to force it to install a new mod, just not sure how to make it remove one

Shrimplonex avatar Jun 23 '23 19:06 Shrimplonex

AutoModpack only removes from client mods/files removed from server's modpack. So if you want to delete some file it first needs to be installed from automodpack on client and then you can remove some file from server's modpack, regenerate it and client should receive updte which will delete deleted mod/file from server's modpack.

Skidamek avatar Jun 23 '23 20:06 Skidamek

right ok so if JEI wasnt installed by automodpack, that's the poitn of my question basically, can i force it to remove a specific file even if automodpack didnt download it?

Shrimplonex avatar Jun 23 '23 20:06 Shrimplonex

No, there is no other way than discussed above yet, however i have plans to implement something like remove some files from clients blocked by the server based on their modId/hash/file name in the future.

Skidamek avatar Jun 23 '23 20:06 Skidamek

damn alright

Shrimplonex avatar Jun 23 '23 20:06 Shrimplonex

I think i will leave this issue as enchantment to save progress

Skidamek avatar Jun 23 '23 20:06 Skidamek