lloesche / valheim-server-docker

Valheim dedicated gameserver with automatic update, World backup, BepInEx and ValheimPlus mod support
https://hub.docker.com/r/lloesche/valheim-server
Apache License 2.0
1.89k stars 269 forks source link

Add param to rsync for mods that will remove unused mods #654

Closed SavedByGrace251 closed 5 months ago

SavedByGrace251 commented 5 months ago

This will ensure a strict sync between the config plugins folder and the server's plugins folder. That way if a mod is deleted in the config folder, it will also be removed from the server.

madmarxofficial commented 5 months ago

Great, I just have the same idea. Would be great to remove the zombies config files too but we would need a way to know that the deleted mod created them in the first place. Would be way easier if the .cfg files were in their distinct folder.