This article requires cleanup to meet quality standards.
This article is a stub.

List of Config Files/serversettings.xml

From Official Barotrauma Wiki
Jump to: navigation, search
Data is potentially outdated
Last updated for an unknown version
The current game version is 1.5.9.2
Cleanup Notes: Preferably create Cargo table out of serversettings section (see console commands for example), as current page layout is hard to follow

"serversettings.xml" is the config file for hosting a server, everything form server name to auto ban time is stored in this file.

It is recommended to change these settings in the lobby, if possible, for simplicity's sake.

Most notable settings that might be relevant for hosting (private) games that cannot be changed in the lobby are:

  • AllowedRandomMissionTypes (one may disable missions based on personal preferences)
  • 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 the crew has troubble reconnecting fast enough)

Changes made in this file only apply on start/restart of the game.

serversettings

 name="example"
  • name of the server, can be changed in the lobby
 port="12345"
  • port of the server
 queryport="54321"
  • queryport of the server
 password="totalLysavePaSsword2!"
  • password of the server, can be changed in the lobby
 enableupnp="false"
  • enables universal plug and play
 autorestart="false"
  • enables automatic restart of the server in case of chrash
 LevelDifficulty="20"
  • sets level difficulty if playing the "Mission" gamemode, has nothing to do with campaign, can be changed in the lobby
 ServerMessage=""
  • sets server description shown in serverbrowser, can be changed in the lobby
 HiddenSubs="Winterhalter"
  • hides selected submarines in the lobby, can be changed in the lobby
 AllowedRandomMissionTypes="Salvage,Monster,Cargo,Beacon,Nest,Mineral,Combat,AbandonedOutpost,Escort,Pirate,ScanAlienRuins,ClearAlienRuins,All"
  • sets missions one 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 !(32,33),&-.(38-46),0-9(48-57),A-Z(65-90),[(91),](93),_-z(95-122),Á-ÿ(192--255),ƀ-ɏ(384-591),Ѐ-ӿ(1024-1279),⼀-协(19968-21327),卑-鿿(21329-40959),㐀-䶿(13312-19903),𠀀-𪛟(131072-173791),𪜀-𫠠(173824-178207),𫠠-𬺰(178208-183983),豈-ff(63744-64255),?(chinese question mark)-𰀀(194560-195103)) As browsers have problems displaying higher unicode characters this list may differ form characters used in actual lobbies
 IsPublic="True"  
  • True makes server visible in server browser, can be changed in the lobby settings
 TickRate="20"
  • updates per second on server can be set anywhere from 1-60 although anything lower than 20 is considered laggy or unplayable
 RandomizeSeed="True"
  • generates a new seed for every "new" route taken in campaign, can be changed in the lobby settings
 UseRespawnShuttle="True"
  • true enables the respawn shuttle, false would spawn players on the submarine, can be changed the in lobby
 RespawnInterval="300"
  • time it takes for respawns to happen once the respawn threshold is met, can be changed in the lobby settings
 MaxTransportTime="180"
 MinRespawnRatio="0.2"
  • 0.2 means 20% of all players need to be waiting for a respawn for one to happen, can be changed in the lobby settings
 AutoRestartInterval="60"
 StartWhenClientsReady="False"
  • starts the round if all lobby members are ready, can be changed in the lobby settings
 StartWhenClientsReadyRatio="0.8"
  • starts the round when 0.8 = 80% of players are ready, can be changed in the lobby settings
 AllowSpectating="True"
  • allows spectating when True, can be changed in the lobby settings
 SaveServerLogs="True"
  • saves server logs when True, can be changed in the lobby settings
 AllowModDownloads="True"
  • allows client to download mods from server. If disabled - server returns prompt for downloading mods off Workshop instead
 AllowRagdollButton="True"
  • allows players to ragdoll if True, can be changed in the lobby settings
 AllowFileTransfers="True"
  • can be changed in the lobby settings
 VoiceChatEnabled="True"
  • enables players to use voice chat if True, can be changed in the lobby settings
 PlayStyle="Casual"
  • sets play style possible modes are "Casual", "Serious", "Roleplay", "Rampage" and "SomethingDifferent", can be changed in the lobby settings
 LosMode="Transparent"
  • Line of sight mode, possible options are "None", "Transparent" and "Opaque", can be changed in the lobby settings
 ShowEnemyHealthBars="ShowAll"
  • shows enemy health bars when "ShowAll" other option are "HideAll" and "BossHealthBarsOnly", can be changed in the lobby settings
 LinesPerLogFile="800"
  • maximum length of logfile
 AllowVoteKick="True"
  • allows players to votekick if True, can be changed in the lobby settings
 AllowEndVoting="True"
  • allows players to end the round by voting, can be changed in the lobby settings
 AllowRespawn="True"
  • allows respanwn of players if True, can be changed in the lobby settings
 BotCount="0"
  • sets the amount of bots that will spawn on the submarine, can be changed in the lobby
 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 their feelings, can be changed in the lobby settings
 AllowDisguises="True"
  • allows crew to take identities form ID cards if True, can be changed in the lobby settings
 AllowRewiring="True"
  • allows crew to rewire the submarine if True, can be changed in the lobby settings
 LockAllDefaultWires="False"
  • locks all default connections on a submarine if True, can be changed in the lobby settings
 AllowLinkingWifiToChat="False"
  • allows linking wifi signals to chat if True, can be changed in the lobby settings
 AllowFriendlyFire="True"
  • enables friendly fire if True, can be changed in the lobby settings
 DestructibleOutposts="False"
  • can be changed in the lobby settings
 KillableNPCs="True"
  • makes NPCs killable if True, can be changed in the lobby settings
 BanAfterWrongPassword="False"
  • bans a player for a set amount of time if "MaxPasswordRetriesBeforeBan" is exceeded if True, can be changed in the lobby settings
 MaxPasswordRetriesBeforeBan="3"
  • sets the number of tries griefers have to guess the server password, only works if option above is True, can be changed in the lobby settings
 EnableDoSProtection="True"
  • enables DoS protection, this will kick players who send more packets than specified in MaxPacketAmount, can be changed in the lobby settings
 MaxPacketAmount="3000"
  • sets the maximum amount of packets a player(client) might send before they are regarded as spamming/DoS attempt, one might want to increase this amount when playing with many mods, increasing may cause networking issues, can be changed in the lobby settings
 SelectedSubmarine="Azimuth"
  • sets selected submarine for playing, is only relevant at the start of a new campaign or mission, can be changed in the lobby
 SelectedShuttle="Hemulen"
  • sets the respawn shuttle that will transport reinforcements, can be changed in the lobby
 TraitorsEnabled="No"
  • enables traitors when "Yes" and not campaign, other options are "Maybe" and "No", can be changed in the lobby
 TraitorsMinPlayerCount="1"
  • number of players needed for traitors to appear, 1 is default, meaning that all 1 crew become traitor ... , can be changed in the lobby settings
 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 the game is shown as, can be changed in the lobby settings
 SubSelectionMode="Manual"
  • determines how a submarine shall be selected, mostly usefull when setting up servers that the host does not (always) play on, can be changed in the lobby settings
 ModeSelectionMode="Manual"
  • determines how a mode shall be selected, mostly usefull when setting up servers that the host does not (always) play on, can be changed in the lobby settings
 EndVoteRequiredRatio="0.6"
  • sets the amount of players required for the end vote to pass 0.6 = 60%, can be changed in the lobby settings
 VoteRequiredRatio="0.6"
  • sets the amount of players required for any other vote to pass 0.6 = 60%
 VoteTimeout="30"
  • time to vote before it runs out
 KickVoteRequiredRatio="0.6"
  • 0.6=60% percentage of people it takes to kick someone, can be changed in the lobby settings
 DisallowKickVoteTime="120"
  • time it takes for the same person to be vote kicked again
 KillDisconnectedTime="300"
  • time after disconnecting in which the players character stays alive if no harm comes his way, after this time runs out the character will die of brain damage
 KickAFKTime="600"
  • time it takes for AFK players to be kicked
 KarmaEnabled="True"
  • enables karma on server if True, can be changed in the lobby settings
 KarmaPreset="default"
  • sets the preset for karma, can be customised in the lobby settings
 GameModeIdentifier="multiplayercampaign"
  • sets server gamemode, the four options are "sandbox", "mission", "pvp" and "multiplayercampaign", can be changed in the lobby
 MissionType="All"
  • sets the possible missions that are given if just a mission is played as opposed to an entire campaign, only one mission out of the selected will appear, options are: "All" or "Salvage, Monster, Cargo, Beacon, Nest, Mineral, AbandonedOutpost, Escort, Pirate, ScanAlienRuins, ClearAlienRuins" + must always include "Combat, GoTo, End", can be changed in the lobby
 MaxPlayers="8"
  • sets the maximum amount of people who can join the server, can be changed in the main menu when hosting
 AutoBanTime="3600"
  • the time people get banned for entering the password poorly if BanAfterWrongPassword is True, can be changed in the lobby settings
 MaxAutoBanTime="86400"
 LootedMoneyDestination="Bank"
  • decides wether looted money goes to bank or the player's wallet, can be changed in the lobby settings
 MaximumMoneyTransferRequest="999999">
  • sets the maximum amount of money that may be transfered at once, can be changed in the lobby settings
 <campaignsettings

from here on out campaign settings start, once campaign has started the savefile has to be modified to change settings, can be changed in the lobby

 PresetName="Easy"
  • Loads the selected preset when starting campaign, can be changed in the lobby
 TutorialEnabled="False"
 RadiationEnabled="False"
  • enables radiation in campaign, can be changed in the lobby
 MaxMissionCount="2"
  • limits the number of missions one may take for a route between two stations, becons are not counted, can be changed in the lobby
 StartingBalanceAmount="Medium"
  • a starting money setting for the start of the campaign, possible options are "Low","Medium" and "High", can be changed in the lobby
 Difficulty="Medium"
  • a difficulty setting for the campaign, possible options are "Low","Medium" and "High", can be changed in the lobby
 StartItemSet="normal"
  • selects the amount of starting items, additional items may be added to the submarine in the lobby settings