How to Install Mods on Your Barotrauma Server
You can install Steam Workshop mods on your server to enhance the gameplay experience.
Warning
Stop your server before installing mods. After a game update, mods may be incompatible and cause crashes.
Download mods
Subscribe in Steam Workshop
Open the Steam Workshop for Barotrauma and subscribe to the desired mods.Launch the game
Launch Barotrauma on your PC so the mods are downloaded.Find mod folders
The downloaded mods can be found on your PC at:%LocalAppData%/Daedalic Entertainment GmbH/Barotrauma/WorkshopMods/Installed%LocalAppData%/Daedalic Entertainment GmbH/Barotrauma/WorkshopMods/InstalledEach mod is stored in a folder with a numeric ID.
Upload mods to the server
Stop the server
Stop your server via the dashboard.Connect via SFTP
Connect to your server via SFTP.Upload mods
Upload the mod folders to the following directory:/LocalMods//LocalMods/Tip
Rename the folders from the numeric ID to the mod name so you can identify them more easily. You can find the name in the
filelist.xmlinside each mod folder.
Enable mods
Open config_player.xml
Open the fileconfig_player.xmlin the root directory of your server.Add mod entries
Add an entry for each mod within the<regularpackages>section:xml<regularpackages> ... <package path="LocalMods/ModName/filelist.xml" enabled="true"/> </regularpackages><regularpackages> ... <package path="LocalMods/ModName/filelist.xml" enabled="true"/> </regularpackages>Replace
ModNamewith the name of the mod folder. For multiple mods, simply add multiple entries:xml<regularpackages> ... <package path="LocalMods/HaloWeapons/filelist.xml" enabled="true"/> <package path="LocalMods/MoreMonsters/filelist.xml" enabled="true"/> </regularpackages><regularpackages> ... <package path="LocalMods/HaloWeapons/filelist.xml" enabled="true"/> <package path="LocalMods/MoreMonsters/filelist.xml" enabled="true"/> </regularpackages>Start the server
Save the file and start your server.
Note
Some mods need to be installed on both the server and all players. Check the mod description to see if a client-side installation is required.
Important
Do not place mods in the WorkshopMods folder on the server. This folder is managed by Steam and should not be modified manually.