Barotrauma Server Configuration Generator
Use this Barotrauma server config generator to set your Barotrauma server settings and create serversettings.xml without writing XML by hand: choose the server name, password, game mode, karma, and voting options using a form or AI Easy Mode, then preview, copy, or download the file. Free and no sign-up required, including for Easy Mode.
Built by Florian Galz
Example result
Example: the generated serversettings.xml
You set the options using a form or AI Easy Mode, and the generator creates the finished serversettings.xml for Barotrauma live. Below are the first lines of the default configuration; your file contains your values and all other settings.
Example · Default configuration
Output
<?xml version="1.0" encoding="utf-8"?><serversettings ServerName="ZapX Barotrauma Server" password="" IsPublic="True" MaxPlayers="8" Language="English" GameModeIdentifier="sandbox" RandomizeSeed="True" RespawnInterval="30" UseRespawnShuttle="True" TraitorProbability="0" KarmaEnabled="False" StartWhenClientsReady="False" RequireAuthentication="True" BanAfterWrongPassword="False" EnableDoSProtection="True" AllowVoteKick="True" KickVoteRequiredRatio="0.6" AllowEndVoting="True"/>Settings
Barotrauma server settings written by the generator
The serversettings.xml contains a single serversettings element, with each setting stored as an attribute. The generator writes boolean values as True and False. You can set these attributes here.
| Attribute | Area | Default | Meaning |
|---|---|---|---|
| ServerName | Area: Server Identity | Default: "ZapX Barotrauma Server" | Your server's name in the server browser, up to 100 characters. |
| password | Area: Server Identity | Default: "" | Password required to join. Leave blank for a server without a password. Masked in the form and never included in the share link. |
| IsPublic | Area: Server Identity | Default: True | Determines whether the server appears in the public Barotrauma server browser. |
| MaxPlayers | Area: Server Identity | Default: 8 | Maximum number of simultaneous players, from 1 to 16 in the generator. |
| Language | Area: Server Identity | Default: English | Language for server-side chat and text: English, German, French, Russian, or Spanish. This does not affect each player's game language. |
| GameModeIdentifier | Area: Gameplay | Default: sandbox | Game mode for new rounds: Sandbox, Campaign, PvP, or Mission. |
| RandomizeSeed | Area: Gameplay | Default: True | Generates a new random level each round instead of reusing the same one. |
| RespawnInterval | Area: Gameplay | Default: 30 | Interval in seconds (10 to 600) at which the respawn shuttle picks up dead or disconnected players. |
| UseRespawnShuttle | Area: Gameplay | Default: True | Whether dead players respawn via shuttle instead of directly on the submarine. |
| TraitorProbability | Area: Gameplay | Default: 0 | Probability from 0 to 1 in increments of 0.05 that a traitor event is triggered each round. |
| KarmaEnabled | Area: Gameplay | Default: False | Karma system: automatically restricts griefers based on their in-game behavior, such as friendly fire or sabotage. |
| StartWhenClientsReady | Area: Gameplay | Default: False | Automatically starts the round once enough connected players have marked themselves as ready. |
| PvpTeamSelectionMode | Area: PvP | Default: PlayerPreference | PvP mode only: assign teams according to player preference (PlayerPreference) or randomly (Random). |
| PvpAutoBalanceThreshold | Area: PvP | Default: 1 | PvP mode only: the difference in player count between teams (0 to 8) that triggers automatic balancing. |
| PvPSpawnMonsters | Area: PvP | Default: False | PvP mode only: whether monster and wildlife events can occur during PvP rounds. |
| RequireAuthentication | Area: Access & security | Default: True | Rejects players who fail the Steam ownership check. |
| BanAfterWrongPassword | Area: Access & security | Default: False | Temporarily bans players who repeatedly enter an incorrect server password. |
| MaxPasswordRetriesBeforeBan | Area: Access & security | Default: 3 | Number of failed attempts allowed (1 to 20) before a temporary ban. Included in the file only when the ban is enabled. |
| EnableDoSProtection | Area: Access & security | Default: True | Limits incoming packets to help mitigate DoS attacks. |
| AllowVoteKick | Area: Voting | Default: True | Players can vote to kick a disruptive player from the server. |
| KickVoteRequiredRatio | Area: Voting | Default: 0.6 | Proportion of connected players (0.1 to 1) who must vote to kick a player. Included in the file only when vote kick is enabled. |
| AllowEndVoting | Area: Voting | Default: True | Players can vote to end the current round early. |
What the Generator Intentionally Does Not Cover
- Campaign settings such as difficulty or starting funds: a dedicated server does not load the campaignsettings section from this file.
- Other serversettings.xml attributes, such as timeouts, kick and ban durations, submarine selection, and fine-tuning for traitors.
- When importing, the generator reads only its 22 settings into the form. You cannot edit other attributes from your file here, but they stay in the generated file.
- Other Barotrauma files: the generator creates only serversettings.xml.
Guide
How to configure your Barotrauma server
From the default configuration to restarting: how to apply your Barotrauma server settings using serversettings.xml.
- 1
Step 1
Open generator
The generator starts with the default configuration, including Sandbox, 8 players, public listing, and DoS protection enabled. If you already have a serversettings.xml, import it as a .xml or .txt file up to 2 MB, or paste its contents.
- 2
Step 2
Describe Server or Set Fields
In Easy mode, describe your server to the AI in your own words or choose an example, then apply only the suggestions you confirm. In Advanced mode, set every field yourself.
- 3
Step 3
Set server identity
Set the server name, password, and listing in the public server browser, as well as the maximum player count from 1 to 16 and the server language.
- 4
Step 4
Choose a game mode and gameplay settings
Choose Sandbox, Campaign, PvP, or Mission and set the respawn shuttle, respawn interval, traitor probability, and karma system. Team selection, auto-balance, and monsters for PvP apply only in PvP mode.
- 5
Step 5
Set access and voting options
Set Steam authentication, temporary bans after incorrect passwords, and DoS protection, along with vote kicks and the required approval threshold, and voting to end a round early.
- 6
Step 6
Check preview and export
Check the live preview to make sure serversettings.xml contains your values. Then copy or download it, or share a link that does not include your password.
- 7
Step 7
Stop the server, upload the file, restart
Stop your Barotrauma server, upload the file and start the server again. On a regular dedicated server, it goes in the main folder next to DedicatedServer.exe; at ZAP-Hosting, upload it to config/serversettings.xml using the file manager. Barotrauma reads the file on startup and rewrites it on shutdown. At ZAP-Hosting, the server sets the server name, password, listing, and player count from the panel's server settings on every startup, overwriting those values in the file.
Setup
File location & usage
Two ways to get the config onto a server: upload it yourself or apply it directly in our panel.
The manual method
Upload yourself
- 1
Download file
Download the generated serversettings.xml using the button above.
- 2
Upload via file manager or FTP/SFTP
On a self-hosted server, place it in
serversettings.xml(Linux) orserversettings.xml(Windows); at ZAP-Hosting, inconfig/serversettings.xml. - 3
Apply changes
Barotrauma reads serversettings.xml at startup and rewrites it on shutdown. Stop your server, upload the file and restart it, or your changes will be overwritten.
The ZAP-Hosting way
Apply in the panel, no FTP needed
Rent a Barotrauma server from us: download the file, place it in the file manager, and restart. The server overwrites some values with the startup parameters on every start; you set those directly in the panel.
- File Manager directly in your browser
- No FTP client required
- Online in 60 seconds
More tools
Useful tools for your Barotrauma server
Port Checker
Check whether specific ports are open on an IP or hostname—select a protocol or game instead of scanning all ports at once.
Built by Sebastian Rademacher
Compare text online (Diff Checker)
Compare text online: Compare two texts, configs, or code versions, see differences line by line and word by word, and copy them as a Unified Diff. Runs entirely in your browser.
Built by Dimitri Heissler
XML Formatter & Validator
Validate, format, minify, and automatically repair XML (unescaped characters, missing tags, missing declaration)—100% in your browser, without uploading.
Built by Justin Schuessler
Password Generator
Generate strong, random passwords directly in your browser — nothing is stored or transmitted.
Built by Rugile Rutkauskaite
Steam ID Finder
Find a Steam ID from a profile link, custom URL, friend code, or s.team invite link — with all ID formats, profile, ban status (where available from Steam), ready-to-use admin commands for each game, and bulk lookup with CSV.
Built by Florian Galz
Game Server Status
Live status of Fortnite, Rocket League, Fall Guys, Epic Games Store, Discord, Twitch and Cloudflare from their official status pages, including services, outages and maintenance.
Built by Dimitri Heissler
FAQ
Frequently asked questions about Barotrauma server settings
Quick answers about file location, restarting, private servers, campaigns, player counts, Easy Mode, and generator limitations.
On a regular dedicated server, serversettings.xml is in the server's main folder, right next to DedicatedServer.exe. At ZAP-Hosting, it is located at config/serversettings.xml, where you can open and edit it using the file manager in the panel.
22 selected settings across five areas: server identity, gameplay, PvP, access & security, and voting. These include server name, password, game mode, respawn, karma, traitor probability, Steam authentication, DoS protection and vote kick. The original file has many more attributes, such as timeouts and submarine selection. The generator does not cover them. When you import a file, only its own settings appear in the form; the other attributes of your file stay in the generated file.
Copying or downloading does not change your server yet. Barotrauma reads serversettings.xml on startup and rewrites it on shutdown, so changes made while the server is running will be overwritten. Stop the server, upload the file, then start it again.
Turn off listing in the public server browser (IsPublic) and set a server password. For a ZAP-Hosting server, set the password and listing in the panel's server settings, because values in an uploaded file are overwritten on startup. Optionally, BanAfterWrongPassword temporarily bans players after too many incorrect passwords: 1 to 20 attempts are allowed, with a default of 3.
No. A dedicated server does not load the campaignsettings section from serversettings.xml: a new campaign uses the settings from the in-game campaign setup, while an existing save uses its saved values. That is why the generator intentionally omits this section. You can still select Campaign as the game mode.
The generator allows 1 to 16 players for MaxPlayers, with a default of 8. On a ZAP-Hosting Barotrauma server, MaxPlayers is set from your booked Slots on every startup, so you cannot change this field there.
Describe the server you want in your own words in up to 500 characters, or choose an example such as a public Sandbox server with karma to deter griefers. The AI suggests suitable values, explains each change, and applies only what you confirm. Your server password is not sent to the AI.
Yes. The form, Easy Mode, import, live preview, copying, downloading, and sharing links work without an account. Easy Mode is briefly rate-limited only when there are too many requests. Your server password is masked in the form and never included in the share link, which contains only the non-secret values you changed.
Any more questions?
Contact SupportGet your Barotrauma server online today
Rent your Barotrauma server now and apply this config directly in the panel.
No setup. No risk. Online in seconds.
