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

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

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.

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

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 Support
Ready?

Get your Barotrauma server online today

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

4.4/5 Trustpilot32,000+ Active serversSince 2010

No setup. No risk. Online in seconds.

Flexible TermCancel anytimeOnline in 60 seconds