How To Configure Your Barotrauma Server
Learn how to configure your Barotrauma dedicated server using serversettings.xml.
Barotrauma server configuration is managed through the serversettings.xml file and the Startup settings in your panel.
Using Startup Settings
Open the Startup Page
Log in to the XGamingServer Panel and select your Barotrauma server. In the sidebar, click Startup.
Adjust Settings
Common settings available in Startup include:
- Server Name - Display name in the server browser
- Max Players - Maximum number of players
- Server Password - Password to join (leave blank for public)
- Server Port - Network port
Restart Your Server
After making changes, restart from the Console page.
Editing serversettings.xml
Open Files
In the sidebar, click Files and open serversettings.xml.
Edit Server Settings
Key settings in this file include:
<serversettings
name="My Barotrauma Server"
public="true"
maxplayers="16"
password=""
AllowRespawn="true"
RespawnInterval="300"
AllowDisguises="true"
AllowRewiring="true"
VoiceChatEnabled="true"
AllowLinkingWifiToChat="true"
TraitorProbability="0.2"
AllowVoteKick="true"
AutoBanTime="60"
SubSelectionMode="Manual"
ModeSelectionMode="Manual"
/>Save and Restart
Save the file and restart your server.
📝 Note: Changes made in the
serversettings.xmlfile may be overridden by Startup parameters. Check both locations if a setting does not seem to apply.
💡 Tip: The
TraitorProbabilitysetting controls how often traitor events occur. Set it to0to disable traitors entirely, or increase it for more frequent traitor rounds.
How is this guide?