List of Config Files/serversettings.xml
From Official Barotrauma Wiki
Data is potentially outdated | |
Last updated for an unknown version The current game version is 1.4.6.0 |
Main article: List of Config Files
"serversettings.xml" is the config file for hosting a server, everything form server name to auto ban time is stored in this file.
Most notable settings that might be relevant for hosting (private) games that cannot be changed in the lobby are:
- KickAFKTime (time after which an incative player is kicked from the server)
- KillDisconnectedTime (time after which a disconnected player's character dies ingame, increase this value if your crew has troubble reconnecting fast enough)
serversettings
(?) notation means that information may be incomplete, needs confirming or may be intirrely false
name="example"
- name of the server
port="12345"
- port of the server
queryport="54321"
- queryport of the server
password="totalLysavePaSsword2!"
- password of the server
enableupnp="false"
- enables universal plug and play
autorestart="false"
- enables automatic restart of the server in case of chrash
LevelDifficulty="20"
- sets server difficulty
ServerMessage=""
- sets message shown in serverbrowser(?)
HiddenSubs=""
- hides submarines in lobby(?)
AllowedRandomMissionTypes="Salvage,Monster,Cargo,Beacon,Nest,Mineral,Combat,AbandonedOutpost,Escort,Pirate,ScanAlienRuins,ClearAlienRuins,All"
- sets missions you can get while talking to station captain
AllowedClientNameChars="32-33,38-46,48-57,65-90,91-91,93-93,95-122,192-255,384-591,1024-1279,19968-21327,21329-40959,13312-19903,131072-173791,173824-178207,178208-183983,63744-64255,194560-195103"
- allows characters people are allowed to use in their names in unicode(?)(space and !,&-.,0-9,A-Z,[<-(91),],_-z,Á-ÿ,ƀ-ɏ(591),Ѐ-ӿ,⼀-(didnt find this, probably more chinese21327),(way more i didnt find),63744->豈,194560->?(chinese question mark))
IsPublic="True"
- true makes server visible in serverbrowser
TickRate="20"
- updates per second on server, all other than 20 makes game run on different speed(?)
RandomizeSeed="True"
- generates a new seed for every "new" route taken in campaign
UseRespawnShuttle="True"
- true enables the respawn shuttle, false would spawn players on the submarine(?)
RespawnInterval="300"
- time it takes for respawns to happen once the respawn threshold is met
MaxTransportTime="180"
- time which is allowed for the shuttle to reach the submarine, if oyu dont reach the submarine in time the shuttle will despawn along with the players and try a later respawn(?)
MinRespawnRatio="0.2"
- 0.2 means 20% of all players need to be waiting for a respawn for one to happen
AutoRestartInterval="60"
- time after which server restart is attempted once down(?)
StartWhenClientsReady="False"
- starts the round if all lobby members are ready
StartWhenClientsReadyRatio="0.8"
- starts the round when 0.8 = 80% of players are ready
AllowSpectating="True"
- allows spectating when True
SaveServerLogs="True"
- saves server logs when True ...
AllowModDownloads="True"
- allows clients to download mods from server(?)
AllowRagdollButton="True"
- allows players to ragdoll if True
AllowFileTransfers="True"
- (?)
VoiceChatEnabled="True"
- enables players to use voice chat if True
PlayStyle="Casual"
- sets play style
LosMode="Transparent"
- (?)
ShowEnemyHealthBars="ShowAll"
- shows enemy health bars when "ShowAll" other option are "HideAll" and "OnlyBoss(Healthbars)"(?), can be changed in lobby in gameplay
LinesPerLogFile="800"
- maximum length of logfile, starts overwriting once maximum is reached(?)
AllowVoteKick="True"
- allows players to votekick if True
AllowEndVoting="True"
- (?)
AllowRespawn="True"
- allows respanwn of players(?) if True
BotCount="0"
- sets the amount of bots that will spawn on the submarine
MaxBotCount="16"
- sets the maximum amount of bots that might be "owned"(?)
BotSpawnMode="Normal"
- (?)
DisableBotConversations="False"
- when True bots will no longer spam chat with feeling lonely
AllowDisguises="True"
- allows crew to take identities form ID cards if True
AllowRewiring="True"
- allows crew to rewire the submarine if True
LockAllDefaultWires="False"
- locks all default connections on a submarine if True
AllowLinkingWifiToChat="False"
- allows linking wifi signals to chat if True(?)
AllowFriendlyFire="True"
- enables friendly fire if True
DestructibleOutposts="False"
- (?)
KillableNPCs="True"
- makes NPCs killable if True
BanAfterWrongPassword="False"
- bans a player for a set amount of time if "MaxPasswordRetriesBeforeBan" is exceeded if True
MaxPasswordRetriesBeforeBan="3"
- sets the number of tries griefers have to guess your password, only works if option above is True
EnableDoSProtection="True"
- enables DoS protection(?)
MaxPacketAmount="3000"
- sets the maximum amount of packets a player(client) might send before they are regarded as spamming/DoS(?) attempt, you might want to increase this amount when playing with many mods, increasing may cause networking issues
SelectedSubmarine="Azimuth"
- sets selected submarine for playing(?)
SelectedShuttle="Hemulen"
- sets the respawn shuttle that will always be there for you
TraitorsEnabled="No"
- enables traitors when Yes(?), can be changed in settings
TraitorsMinPlayerCount="1"
- number of players needed for traitors to appear
TraitorsMinStartDelay="90"
- minimum delay after round start until the traitors get their first mission
TraitorsMaxStartDelay="180"
- maximum delay after round start after which traitors will definetly get their mission
TraitorsMinRestartDelay="30"
- minimum delay after traitor death when a new traitor may get their first mission
TraitorsMaxRestartDelay="90"
- maximum delay after which a traitor will get their first mission
Language="English"
- language of the game and bots(?)
SubSelectionMode="Manual"
ModeSelectionMode="Manual"
EndVoteRequiredRatio="0.6"
VoteRequiredRatio="0.6"
VoteTimeout="30"
KickVoteRequiredRatio="0.6"
DisallowKickVoteTime="120"
KillDisconnectedTime="300"
KickAFKTime="600"
KarmaEnabled="True"
KarmaPreset="default"
GameModeIdentifier="multiplayercampaign"
MissionType="All"
MaxPlayers="8"
AutoBanTime="3600"
MaxAutoBanTime="86400"
LootedMoneyDestination="Bank"
MaximumMoneyTransferRequest="999999">
<campaignsettings
- from here on out campaign settings start
PresetName="" TutorialEnabled="False" RadiationEnabled="False" MaxMissionCount="2" StartingBalanceAmount="Medium" Difficulty="Medium" StartItemSet="normal"