
Barotrauma is at its best with a regular crew and a campaign that runs for weeks. A dedicated server makes that easy: the submarine stays online when the host goes to bed, the campaign save lives in one place, and everybody joins the same modded setup.
The modding side changed a lot in late 2026. The DLC Companion Update of 26 November added a plugin system for code mods, and that changed how LuaCs is installed. This guide covers the basic server settings, adding Workshop mods in the right order, keeping your campaign safe, and what the update means for code mods. You can find our Barotrauma server plans if you want to follow along on a ready server.
The basics: serversettings.xml
The Barotrauma dedicated server (Steam app 1026340) reads most of its settings from serversettings.xml in the server folder. Open it in a text editor and look for these attributes:
name="Deep Sea Crew"
password="changeme"
IsPublic="True"
MaxPlayers="12"
port="27015"
queryport="27016"
What they do:
- name: the server name in the browser.
- password: leave it empty for an open server.
- IsPublic:
Truelists the server in the in-game browser. Note that a private server without a password can still be joined by anyone who has the address. - MaxPlayers: anything from 1 to 16. Barotrauma does not go above 16.
- port and queryport: the game port for player connections and the Steam query port. Both are UDP. The defaults are 27015 and 27016.
On a home setup you would forward both ports. On our servers the panel fills in the game and query ports automatically at every start, so you do not need to touch them.
Many settings, such as the game mode and karma, can also be changed from the server lobby by an admin. Admin rights are stored in clientpermissions.xml, or you can give a rank with the giverank console command.
Barotrauma servers are not heavy. On our own test on 6 December 2026, an idle Barotrauma server used about 350 MB of RAM. Large mod packs and long campaigns add to that, so leave yourself some room.
Adding Workshop mods
The dedicated server does not subscribe to Workshop items the way the game client does. The reliable method, also described on the official wiki, is to copy the mods from your own PC.
Step 1: Get the mod files
- Subscribe to the mods on the Steam Workshop.
- Start Barotrauma once so it downloads them.
- Find the downloaded mods. On Windows they are in
%LocalAppData%\Daedalic Entertainment GmbH\Barotrauma\WorkshopMods\Installed. Each mod is a folder.
SteamCMD can also download Workshop items, but the wiki warns that the folder names it creates are wrong and need renaming. Copying from your client is less work.
Step 2: Upload them to LocalMods
Upload each mod folder into the LocalMods folder of the server. On our servers you can do that with the File Manager or, for large mod packs, with SFTP. Keep the folder structure intact: each mod folder should contain its filelist.xml.
Step 3: Enable them in config_player.xml
Uploading is not enough. The server only loads mods that are listed in config_player.xml, in the content packages section. It looks like this:
<contentpackages>
<corepackage path="Content/ContentPackages/Vanilla.xml" />
<regularpackages>
<package path="LocalMods/SomeLibraryMod/filelist.xml" />
<package path="LocalMods/BiggerSubs/filelist.xml" />
<package path="LocalMods/MyOverhaul/filelist.xml" />
</regularpackages>
</contentpackages>
The order matters. Mods are loaded from top to bottom, and a mod lower in the list can override one above it. Put libraries and dependencies first, then the mods that build on them. If a mod page says "load after X", place it below X.
The easiest way to get the order right is to set up the same mod list in your own game, then copy the content packages section from your own config_player.xml into the server's file and fix the paths so they point to LocalMods.
Restart the server after every change to this list.
Step 4: Let players download the mods
Players do not need to subscribe to every mod by hand. With AllowModDownloads="True" in serversettings.xml (the default), players who are missing a mod can download it from the server when they join. If you turn this off, anyone without the exact same mods and versions will not be able to connect.
LuaCs and the new plugin system
Older guides for LuaCs (Lua for Barotrauma, Workshop item 2559634234) tell you to replace game files or add a launch option. That is out of date.
Since the DLC Companion Update of 26 November 2026, Barotrauma has a plugin system that lets code mods extend the game instead of replacing the game executable. Undertow Games built it together with EvilFactory, the author of LuaCs. According to the LuaCs Workshop page, the previous installation methods (launch option and manual install) are no longer supported, and the mod is now enabled like any other Workshop mod.
For a dedicated server that means:
- Get the current LuaCsForBarotrauma files from the Workshop, as with any other mod.
- Upload the folder to
LocalMods. - Add it to the content packages list in
config_player.xml, above the Lua mods that depend on it. - Restart the server.
If you used an older LuaCs setup with replaced server files, start from clean server files before you set it up the new way, so no patched files from an old guide are left behind.
The LuaCs page also describes a setting that hides LuaCs from the server's mod list, which makes it optional for players when your server only runs server-side Lua mods. On a dedicated server it can be set with this console command:
addcfg_setvalue LuaCsForBarotrauma HideLuaCsFromServerList true
Other code mods are not converted automatically. Their authors have to port them to the plugin system, so check each mod page for a note about the Companion Update before you add it.
Campaign saves
A multiplayer campaign save is made of two files with the same name:
MyCampaign.saveMyCampaign_CharacterData.xml
The .save file holds the campaign, the submarine and the map. The CharacterData file holds the characters of your crew. Always back up and move them together. If you copy only the .save file, your players will lose their characters.
To move a campaign from a home-hosted game to a dedicated server, copy both files from %LocalAppData%\Daedalic Entertainment GmbH\Barotrauma\Multiplayer on Windows into the server's multiplayer save folder, then load the campaign from the server lobby.
Make a backup before you add or remove mods. Removing a mod that added items or a submarine to a running campaign can break the save.
Home & Harbor and your server
The Home & Harbor Expansion was released on 2 December 2026. It adds player-owned outposts, a new faction called the Descendants, new enemies and new submarines. A few things are confirmed by Undertow Games:
- The expansion requires a new campaign. Existing saves do not get the new content.
- The DLC has to be enabled in the main menu to access its content.
- The DLC itself works like a code mod, which is why the plugin system arrived first in the free Companion Update.
The Steam store page says every player on a server running the expansion must own it, and the release notes say it needs a new campaign. How it is switched on for a dedicated server is not documented yet. Our Home & Harbor server guide keeps track of what is known.
Quick troubleshooting
- Players get a mod mismatch. Check that
AllowModDownloadsis on and that the server's mod versions are current. Update mods on your PC, copy them again and restart. - A mod is uploaded but not active. It is missing from the content packages list in config_player.xml, or the path is wrong.
- The server crashes after an update. Disable code mods first, then add them back one by one. Mods that were not updated for the Companion Update are the usual cause.
- Server not visible. Check
IsPublic="True"and look at the console for errors during start.
Running it with Space-Node
Our Barotrauma servers come with the Pterodactyl panel: console, File Manager, SFTP and a Startup tab. Storage is NVMe SSD and every plan has DDoS protection. Regions are Europe (the Netherlands, Germany or France, chosen by the panel), Canada, the USA (San Jose, California), Singapore and Australia (Sydney). Prices are the same everywhere except the USA, which is EUR 0.10 more per GB.
Plans start at 2 GB for EUR 2.00 per month and go up to 16 GB for EUR 15.80. A vanilla server fits in the smallest plan; a heavy mod list or a long campaign is a reason to go up a step.
FAQ
What is the maximum number of players on a Barotrauma server?
- MaxPlayers in serversettings.xml accepts values from 1 to 16.
Do my players need to subscribe to every mod?
No. With AllowModDownloads enabled, players can download missing mods from the server when they join.
How do I install LuaCs now?
Since the 26 November 2026 Companion Update, LuaCs is enabled like a normal Workshop mod through the plugin system. On a dedicated server, upload it to LocalMods and add it to config_player.xml. The old launch option and manual install methods are no longer supported.
Which files make up a campaign save?
The .save file and the matching _CharacterData.xml file. Keep them together.
Can I keep my old campaign with Home & Harbor?
According to Undertow Games, the expansion requires starting a new campaign.
Want a crew server of your own? See our Barotrauma server plans.