Corter‐Modsync support - zhliau/fika-headless-docker GitHub Wiki
This image supports the unique plugin updater process that Corter-ModSync employs to update client plugins. To enable support:
- Copy the
Fika.Headless.dllorFika.Dedicated.dllplugin file into the server's BepInEx directory (the directory that modsync treats as the source of truth). - (IMPORTANT) Ensure you have
"BepInEx/plugins/Fika.Headless.dll"or"BepInEx/plugins/Fika.Dedicated.dll"in thecommonModExclusionslist in the ModSync server configuration. It should already be there by default. This is to ensure that ModSync does not push the Headless plugin to clients nor delete it from the container, especially if you are enforcing theBepInEx/pluginspath on all connecting clients - Set the
USE_MODSYNCenv var totruewhen starting the container.
The container will then anticipate that ModSync may close the headless client for an update, and restart the headless client once updates are completed.
[!NOTE] Enabling
USE_MODSYNCdoes NOT mean that the headless client will periodically restart to check for updates to plugins. If you wish to do this, you must build it via a periodic restarter script or a cron job. You can mount the docker socket into adocker:cliimage and run a simple bash while loop or something. See the example docker-compose.yml in this repo for details