Barotrauma Server Troubleshooting
Solutions to common Barotrauma dedicated server problems — connection issues, Steam auth errors, mod problems, and more.
This guide covers the most common Barotrauma server issues and how to fix them.
Required Ports
Barotrauma requires two UDP ports to be open:
| Port | Protocol | Purpose |
|---|---|---|
27015 | UDP | Game client connections |
27016 | UDP | Steam server browser / query |
On XGamingServer, these are handled automatically. If you're running a self-hosted server, make sure both are open inbound on your firewall.
Server Not Appearing in Browser
Symptoms: The server doesn't show up in the in-game server list.
Fixes:
- Confirm
public="true"inserversettings.xml - Wait 2–5 minutes — it takes time to appear in Steam's master server list
- Use Direct Connect as a workaround: in the Barotrauma client, click Join Server → Direct → enter IP:port
- Verify UDP port 27016 is open (needed for Steam browser queries)
"Steam Authentication Failed"
Symptoms: Players see an auth error when trying to connect.
Causes & fixes:
- Port 27016 is blocked — Steam uses this port to validate player tickets
- Version mismatch — make sure your server and all clients are on the same game version
- For private/LAN use only, you can bypass this by setting
RequireAuthentication="False"inserversettings.xml(not recommended for public servers)
Changes to serversettings.xml Not Saving
Symptom: You edit serversettings.xml but settings revert after restart.
Cause: The server overwrites serversettings.xml when it shuts down.
Fix: Always stop the server before editing the file, not after.
Mods Not Loading
Symptoms: Mods don't appear to be active, or the server console shows errors.
Fixes:
- Verify the path in
config_player.xmlexactly matches the folder name inLocalMods/— it's case-sensitive - Check
Logs/in the server root for specific error messages - For older mods: open
filelist.xmlinside the mod folder and change anyMods/path references toLocalMods/ - Make sure you stopped the server before editing
config_player.xml
Players Can't Connect After Adding Mods
Cause: Mod mismatch — players need the same mods installed as the server.
Fix: Have players subscribe to the same Workshop mods. Barotrauma will tell them which mods are required when they attempt to join.
Server Crashes on Startup
Check the console output for the first error line. Common causes:
- A mod has a broken
filelist.xml— remove recently added mods and test serversettings.xmlhas a syntax error — check for malformed XML- The submarine name in
serversettings.xmldoesn't match any file inSubmarines/— verify capitalization
High Ping / Lag
Fixes:
- Lower the
tickratevalue inserversettings.xml(default 20 — try 15 for weaker connections) - Reduce
MaxPlayersif the server is underpowered for the current player count - Reduce the number of active mods — complex mods increase server load
Campaign Save Not Loading
Symptoms: The save doesn't appear in the campaign lobby, or loading fails.
Fixes:
- Both files must be present:
[SaveName].saveand[SaveName]_CharacterData.xml - Verify both files are in
Saves/Multiplayer/on the server - Make sure you stopped the server before uploading save files — uploading while the server is running can cause corruption
Players Spawning as Wrong Job / No Job
Cause: Job slot limits per submarine — some submarines cap specific jobs.
Fix: Each submarine has job slot limits (e.g. only 1 Captain). If too many players pick the same job, some will be moved. Set SubSelectionMode="Manual" and pick an appropriate submarine for your crew size.
Admin Commands Not Working
Symptoms: Console commands return permission errors.
Fixes:
- Verify the player's entry in
Data/clientpermissions.xml— check the SteamID64 is correct - Confirm the
presetorpermissionsvalue includesConsoleCommands - Run
clientlistto check what permissions are actually assigned to connected players
💡 Still stuck? Join our Discord and our support team will help you troubleshoot.
Related Guides
How is this guide?
