![ServerSync](https://media.forgecdn.net/avatars/thumbnails/254/696/256/256/637199290945083080.png)
Server ignore patterns do not prevent client from deleting mods in Client mod folder
TylzSomeone opened this issue · 14 comments
Serversync Version: 4.1.0
Minecraft Version: 1.16.5
Issue: Ignore patterns do not affect client
This is more of a question. I setup an ignore list on the server side for mods such as journeymap. I do not want journeymap in the server mods but I want clients to be able to use the mod and not have the mod deleted when they run sync. They can setup their own .cfg and ignore list, but is this not something I can do on the server side so my players don't have to worry about it?
Fixed client ignore not working, for any other issues raised in this ticket please raise a different ticket if they are still a problem
https://github.com/superzanti/ServerSync/releases/tag/v4.2.0
Or is there a good way to sync "serversync-client.json" to their pc with the ignore patterns added?
Or is there a good way to sync "serversync-client.json" to their pc with the ignore patterns added?
Look is https://github.com/superzanti/ServerSync/wiki/Client-Mods
This project can meet your needs!!
With refuse client mods selected, the sync action still downloads all the mods in the clientmods folder.
Adding an ignore pattern on the client that matches the file that they don't want will probably work as an alternative to refuse_client_mods
.
The refuse functionality probably broke when I changed to file redirects instead of custom handling for clientmods.
#165 Is tracking allowing servers to send a list of known client mods that they don't want serversync to delete.
For now the only real option is using clientmods
, you could set your mods directory to push
mode but that would very easily leave your clients in a position where they cant connect due to invalid or incompatible mods being present.
I am using the clientmods, a client is trying to refuse the push of the clientmods but it is not allowing it. It still forces the mods to be downloaded
Actually, ignoring means it's like it doesn't there. So if you set it to mirror mode, client will delete it because "it's not there on the server".
Actually, ignoring means it's like it doesn't there. So if you set it to mirror mode, client will delete it because "it's not there on the server".
If the server configures a file to be ignored it will behave as it that file does not exist on the server yes.
If the client configures a file to be ignored it will (should) prevent the file from being accepted and prevent the said file from being deleted as well.
If the client configures a file to be ignored it will (should) prevent the file from being accepted and prevent the said file from being deleted as well.
Yes, it does. Sometimes the server don't have so much bandwidth. And large mods are required to be downloaded somewhere else to prevent lags(and it seems this syncing doesn't support large mods as well ). Maybe you can set a max speed for server to be configured.