Skip to content
Barotrauma
Game Configurator

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

Config ready? Rent your server and apply it directly in the panel.

barotrauma

ZapX AI Agent

Explain how you want to configure your server

Briefly describe the kind of server you want — we'll suggest matching settings.

For example:

Show config file preview
barotraumaserversettings.xmlLive preview
<?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"/>

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

serversettings.xml
<?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

The Barotrauma server settings the generator writes

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.

AttributeAreaDefault valueMeaning
ServerNameArea: Server IdentityDefault value: "ZapX Barotrauma Server"Your server's name in the server browser, up to 100 characters.
passwordArea: Server IdentityDefault value: ""Password required to join. Leave blank for a server without a password. Masked in the form and never included in the share link.
IsPublicArea: Server IdentityDefault value: TrueDetermines whether the server appears in the public Barotrauma server browser.
MaxPlayersArea: Server IdentityDefault value: 8Maximum number of simultaneous players, from 1 to 16 in the generator.
LanguageArea: Server IdentityDefault value: EnglishLanguage for server-side chat and text: English, German, French, Russian, or Spanish. This does not affect each player's game language.
GameModeIdentifierArea: GameplayDefault value: sandboxGame mode for new rounds: Sandbox, Campaign, PvP, or Mission.
RandomizeSeedArea: GameplayDefault value: TrueGenerates a new random level each round instead of reusing the same one.
RespawnIntervalArea: GameplayDefault value: 30Interval in seconds (10 to 600) at which the respawn shuttle picks up dead or disconnected players.
UseRespawnShuttleArea: GameplayDefault value: TrueWhether dead players respawn via shuttle instead of directly on the submarine.
TraitorProbabilityArea: GameplayDefault value: 0Probability from 0 to 1 in increments of 0.05 that a traitor event is triggered each round.
KarmaEnabledArea: GameplayDefault value: FalseKarma system: automatically restricts griefers based on their in-game behavior, such as friendly fire or sabotage.
StartWhenClientsReadyArea: GameplayDefault value: FalseAutomatically starts the round once enough connected players have marked themselves as ready.
PvpTeamSelectionModeArea: PvPDefault value: PlayerPreferencePvP mode only: assign teams according to player preference (PlayerPreference) or randomly (Random).
PvpAutoBalanceThresholdArea: PvPDefault value: 1PvP mode only: the difference in player count between teams (0 to 8) that triggers automatic balancing.
PvPSpawnMonstersArea: PvPDefault value: FalsePvP mode only: whether monster and wildlife events can occur during PvP rounds.
RequireAuthenticationArea: Access & securityDefault value: TrueRejects players who fail the Steam ownership check.
BanAfterWrongPasswordArea: Access & securityDefault value: FalseTemporarily bans players who repeatedly enter an incorrect server password.
MaxPasswordRetriesBeforeBanArea: Access & securityDefault value: 3Number of failed attempts allowed (1 to 20) before a temporary ban. Included in the file only when the ban is enabled.
EnableDoSProtectionArea: Access & securityDefault value: TrueLimits incoming packets to help mitigate DoS attacks.
AllowVoteKickArea: VotingDefault value: TruePlayers can vote to kick a disruptive player from the server.
KickVoteRequiredRatioArea: VotingDefault value: 0.6Proportion of connected players (0.1 to 1) who must vote to kick a player. Included in the file only when vote kick is enabled.
AllowEndVotingArea: VotingDefault value: TruePlayers can vote to end the current round early.

What the generator intentionally doesn't 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. 1

    Step 1

    Open the 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. 2

    Step 2

    Describe your server or fill in the 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. 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. 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. 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. 6

    Step 6

    Check the 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. 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 & applying changes

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. 1

    Download file

    Download the generated serversettings.xml using the button above.

  2. 2

    Upload via file manager or FTP/SFTP

    On a self-hosted server, place it in serversettings.xml (Linux) or serversettings.xml (Windows); at ZAP-Hosting, in config/serversettings.xml.

  3. 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

Was this tool helpful?

Your feedback helps us prioritize and improve content.

FAQ

Frequently asked questions about Barotrauma server settings

Quick answers about file location, restarting, private servers, campaigns, player counts, Easy Mode, and generator limitations.

Where is serversettings.xml located on a Barotrauma server?

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.

Which Barotrauma server settings can I set with the generator?

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.

Why aren't my changes to serversettings.xml being applied?

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.

How do I make my Barotrauma server private?

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.

Can I set the campaign difficulty or starting funds?

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.

How many players can I set for my Barotrauma server?

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.

What does AI Easy Mode do?

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.

Is the generator free to use without signing in?

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.

Still have questions?

Contact Support
Ready?

Get your Barotrauma server online today

Rent your Barotrauma server now and apply this config directly in the panel.

4.6/5 Google32,000+ Active serversSince 2010

No setup. No risk. Online in 60 seconds.

Flexible TermCancel anytimeOnline in 60 seconds
⚡ Zyber Week: 20% off rental servers and selected Lifetime servers with code ZYBER20. Grab the deal