Skip to content
/SLASHPLAY

How to make a Barotrauma server public

Set IsPublic="True" in serversettings.xml and restart. SLASHPLAY already writes it on every start.

IsPublic

Lists the server in Barotrauma's server browser. A dedicated server is private unless this is True.

IsPublic="<True|False>"

Examples

IsPublic="True"

Listed in the server browser.

Values

ValueWhat it does
True Listed
FalseDefault Not listed

Arguments

True|FalseRequired
True to list the server.

What it does

Private servers can still be joined by address. Older files used public.

Good to know

  • An attribute of the serversettings element in serversettings.xml, in the server's root folder. Edit it in Files, then restart the server.
  • SLASHPLAY keeps it on: Barotrauma only answers Steam's server queries when it's public, so SLASHPLAY writes True on every start. Use the join password to keep strangers out.
  • Barotrauma writes its settings back to this file when it shuts down, so an edit made while it runs may be overwritten. If a change doesn't stick, stop the server, click Start the server without launching the game on the Files tab, edit, then click Start the game.

Run it on your server

The Console tab can't send commands to Barotrauma: a player with permission types them in the game's console (F3), after being made admin in Data/clientpermissions.xml. Settings go in serversettings.xml on the Files tab and apply at the next restart. New to this? Start a Barotrauma server first.

Your own
Barotrauma server.

From $0.03 an hour, only while it runs. New accounts get 6 free tokens.