This guide takes you from a freshly ordered Barotrauma server to the first round with your crew. You give the server a name and a password, set the player limit and game mode, decide whether it shows up in the public server list and, if you like, make friends moderators or admins.
What you need
- A Barotrauma server in your customer panel. If you don't have one yet: rent a Barotrauma server.
- Barotrauma on Steam for everyone who wants to play.
- About ten minutes. The server has to be stopped briefly while you change the settings.
The first start
After you order, the panel installs the server and starts it. The console then shows "Server started". From that moment the server is reachable.
On your server's overview page, the "How to join" box shows your server address with its port, for example gs-abc123.gs.game-serverhosting.com:62056. You and your friends need this address to join. How that works in the game is covered in Join your Barotrauma server.
Open the settings in the panel
- Open your server in the panel.
- Pick Game settings on the left, then Server Variables.
- Under Guided configuration you find the form for the
serversettings.xmlfile. Raw text shows the same file as plain text.
Barotrauma only reads this file at startup and rewrites it when it shuts down. Changes made while the server is running would be lost. That's why the panel shows a Stop the server now button at the top. Stop the server, change the values, save, then start it again.
Name, description and password
The Presentation section has two fields:
- Server name: the name of your server in the server list. Up to 60 characters, and it can't be empty.
- Description and MOTD: a text players see in the lobby, such as your rules or a Discord link. Up to 2,000 characters.
In the Access section you set the Server password. Anyone who wants to join has to enter it. If you save the field empty, the server no longer has a password. The panel never shows a saved password in plain text. If you forget it, just set a new one.
Set the player limit
Under Players you find the Player limit (MaxPlayers). Barotrauma allows at most 16 players. Right below, the panel shows a recommendation for your plan, for example up to 10 players with 2 GB RAM. More is possible but can cause lag or crashes, especially in long campaigns with large submarines.
The same section controls whether players may spectate, when idle players get kicked and how long a disconnected player's character stays in the game.
Game mode and lobby
The Lobby section decides how you play:
| Setting | What it does |
|---|---|
| Game mode | Sandbox, Mission, PvP or Multiplayer campaign. For an ongoing story with money, traders and submarine upgrades, pick the multiplayer campaign. |
| Play style | A label for the server list, such as Casual, Serious or Roleplay. It changes nothing in the game but helps the right players find you. |
| Submarine selection | Manual (the host picks), Random, or Vote by all players. |
| Start when enough clients are ready | The round starts on its own once enough players are set to ready. Required ready ratio sets how many. |
Further down are the Rounds and Respawn sections. There you decide, for example, whether dead players come back mid-round on a shuttle or only in the next round.
To protect your plan and the server, bots, the packet limit and extra PvP spawns can't be changed freely.
Show up in the public server list
Below the form are the startup variables. The Public server list switch publishes your server in Barotrauma's server browser. Leave it off if only your group should play. Joining by address still works.
Save with Save startup variables. The change takes effect at the next restart. The panel assigns the Steam query port next to it by itself, and it's read-only.
Make friends moderators or admins
Barotrauma uses ranks with fixed permissions. Your server has the ranks Moderator and Admin. To give someone a rank:
- Your friend joins the server.
- Open the Console in the panel and enter
clientlist. The list shows every connected player with their ID. - Enter
giverank <ID> Admin, for examplegiverank 2 Admin. For fewer permissions, useModerator.
The player name works instead of the ID too. If it contains spaces, put it in quotes.
Common problems
My changes are gone after the restart. The server was running when you saved. Barotrauma overwrites the file with its own state when it stops. Stop first, then save, then start.
The server doesn't show up in the server list. Check that Public server list is on and that the server was restarted afterwards. A freshly started server needs a minute or two to appear in the list. Joining by address works right away.
Mods. The panel doesn't offer one-click mod installation for Barotrauma.
Once everything is set up, carry on with joining: Join your Barotrauma server.