How to change the query port of a Barotrauma server
Set queryport="27016" in serversettings.xml. On SLASHPLAY, leave it alone: SLASHPLAY sets the ports.
queryport
The Steam query port the server list uses. The default is 27016.
queryport="<port>" Examples
queryport="27016" The default.
Arguments
portRequired- Query port.
What it does
Steam's server browser asks the server for its details on this port.
Good to know
- An attribute of the
serversettingselement inserversettings.xml, in the server's root folder. Edit it in Files, then restart the server. - SLASHPLAY sets the ports. Changing them here stops players from connecting.
- 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.