How To Change the Submarine on Your Barotrauma Server

Learn how to change the active submarine on your Barotrauma server and how to add custom submarines.

The submarine is the heart of your Barotrauma server. You can switch to any built-in sub or add custom ones downloaded from the Steam Workshop.

Built-in Submarines

Barotrauma ships with several submarines at different sizes:

SubmarineSizeBest for
HumpbackSmallBeginners, small crews (2–4 players)
DugongMediumMid-size crews (4–6 players)
TyphonLargeExperienced crews (6–10 players)
Typhon 2Extra LargeLarge crews (8–16 players)
KastrullMediumOutpost-style exploration
BeriliaLargeAlternative late-game option

Changing the Submarine

Method 1: Via serversettings.xml

  1. Stop your server
  2. In the XGamingServer Panel, click Files and open serversettings.xml
  3. Find the Submarine setting and change it:
Submarine="Dugong"

The value is the exact filename without the .sub extension — case-sensitive.

  1. Save the file and start your server

Method 2: Via the Lobby

An admin can change the submarine in the lobby before starting a round using the sub selection UI — no restart needed.

📝 Note: This requires SubSelectionMode to not be locked. Check serversettings.xml if the option is grayed out.


Adding a Custom Submarine

Standalone .sub File

If you have a custom submarine as a .sub file (e.g. from the in-game Submarine Editor or downloaded directly):

  1. Stop your server
  2. In Files, navigate to the Submarines folder
  3. Upload the .sub file
  4. In serversettings.xml, set the submarine name:
Submarine="MyCustomSub"

The name must match the filename exactly (without .sub), including capitalization.

  1. Save and start your server

Workshop Submarine Mod

If the submarine is packaged as a Steam Workshop mod (has a filelist.xml), follow the Install Mods guide instead of copying the raw .sub file.


Campaign: Changing Submarine Mid-Campaign

In Campaign mode, the submarine persists between rounds with all its upgrades. You can purchase a new submarine at certain outposts during the run — look for the Submarine Merchant NPC.

⚠️ Warning: Switching submarines in campaign transfers the crew but not items stored on the old sub. Make sure to move important equipment before buying a new one.


💡 Tip: Not sure which sub to start with? The Humpback is the most beginner-friendly. The Dugong is the best all-rounder for most groups.

💡 Tip: Need help? Join our Discord for support.

How is this guide?

40% Off — Limited TimeGet your Barotrauma server todayInstant setup, DDoS protection, and 24/7 support included.
Get a Server

On this page