[Build 42]Mods for Dedicated Server
Adding Mods
Applicable to version: 42.13.1 MP
To add mods to the server, you must use a backslash ( \ ) before each mod name in the server ini file.Mods=\Mode1;\Mode2;\Mode3
WorkshopItems=1111111111;2222222222;3333333333
If you are using a Docker Compose–based setup, mods must be listed in the same way. In most cases, you need to:
- either add these variables to the .env file used by your docker-compose.yml
- or remove any mod-related variables from the .env file if the mods are already defined directly in the server configuration
Keep in mind that values from the .env file may override server settings, so make sure mods are defined correctly and only in one place.
Known Issues
This guide was created by its original author on the Steam Community. Are you the author and want it removed? Request removal.