Barotrauma Traitor Mode Configurator
Dial in the traitor system with plain-English explanations for every setting. Adjust the odds, timing, and player requirements — then paste the generated XML block into your serversettings.xml.
Traitors Enabled
Controls whether traitors can be selected at all. Maybe gives each round a random coin-flip chance of having a traitor.
Traitor Settings
TraitorRatio — fraction of players that become traitors (0.0–1.0). At 25% with 8 players, 2 traitors are selected.
TraitorsMinPlayerCount — traitors are never selected if fewer than this many players are connected. Prevents 1v1 traitor rounds.
TraitorMinStartDelay / TraitorMaxStartDelay — random window (in seconds) after round start before a traitor is assigned their objective.
TraitorMinRestartDelay / TraitorMaxRestartDelay — random window after a traitor objective is completed (or fails) before a new traitor objective is assigned.
Live Summary
With these settings, there is a 50% chance each round that traitors appear. When selected, approximately 0.25 of all players become traitors — but only if at least 3 players are connected. Selection happens 60 to 180 seconds after round start. Bots cannot be traitors.
Mode
Maybe
Ratio
0.25
Min Players
3
Start Window
60–180 s
serversettings.xml Attributes
TraitorsEnabled="Maybe" TraitorRatio="0.25" TraitorsMinPlayerCount="3" TraitorMinStartDelay="60" TraitorMaxStartDelay="180" TraitorMinRestartDelay="120" TraitorMaxRestartDelay="300"
Paste these attributes inside the <ServerSettings> element in your serversettings.xml. Bots cannot be traitors regardless of settings.
Setting Reference
| Attribute | Values | Effect |
|---|---|---|
| TraitorsEnabled | No / Yes / Maybe | Disables, always enables, or randomly enables the traitor role each round. |
| TraitorRatio | 0.0 – 1.0 | Fraction of connected players selected as traitors. 0.25 = ~1 per 4 players. |
| TraitorsMinPlayerCount | 1+ | Minimum connected players required before a traitor can be selected. Defaults to 1. |
| TraitorMinStartDelay | seconds | Earliest point after round start that a traitor receives their objective. |
| TraitorMaxStartDelay | seconds | Latest point after round start that a traitor receives their objective. |
| TraitorMinRestartDelay | seconds | Minimum wait before a new traitor objective is assigned after the previous one resolves. |
| TraitorMaxRestartDelay | seconds | Maximum wait before a new traitor objective is assigned after the previous one resolves. |
Run your own Barotrauma server.
Rent a private Barotrauma server on real hardware — full control-panel access, your mods, your configs, your rules. It's your server; run it your way.
Don't want to run it yourself? Our managed services & consulting team will set it up and keep it running for you — game servers, Windows, Linux, and cloud, from 10+ years of MSP work.