Game.ServerSettings

Barotrauma.Networking.ServerSettings

Functions

AddToGUIUpdateList()

AddToGUIUpdateList

AssignGUIComponent(propertyName, component)

AssignGUIComponent

Parameters

  • component GUIComponent

ClientAdminRead(incMsg)

ClientAdminRead

Parameters

  • incMsg Networking.IReadMessage

ClientAdminWrite(dataToSend, addedMissionType, removedMissionType, traitorDangerLevel)

ClientAdminWrite

Parameters

  • dataToSend Networking.NetFlags

  • addedMissionType Identifier

  • removedMissionType Identifier

  • traitorDangerLevel number

ClientAdminWritePerks()

ClientAdminWritePerks

ClientRead(incMsg)

ClientRead

Parameters

  • incMsg Networking.IReadMessage

Close()

Close

Equals(obj)

Equals

Parameters

  • obj Object

Returns

  • bool

ForcePropertyUpdate()

ForcePropertyUpdate

GetHashCode()

GetHashCode

Returns

  • number

GetRequiredFlags(c)

GetRequiredFlags

Parameters

  • c Networking.Client

Returns

  • Networking.NetFlags

GetType()

GetType

Returns

  • Type

IsPasswordCorrect(input, salt)

IsPasswordCorrect

Parameters

  • input Byte[]

  • salt number

Returns

  • bool

LoadClientPermissions()

LoadClientPermissions

ReadExtraCargo(msg)

ReadExtraCargo

Parameters

  • msg Networking.IReadMessage

Returns

  • bool

ReadHiddenSubs(msg)

ReadHiddenSubs

Parameters

  • msg Networking.IReadMessage

ReadMonsterEnabled(inc)

ReadMonsterEnabled

Parameters

  • inc Networking.IReadMessage

Returns

  • bool

ReadPerks(msg)

ReadPerks

Parameters

  • msg Networking.IReadMessage

Returns

  • bool

ReadPerks(incMsg, c)

ReadPerks

Parameters

  • incMsg Networking.IReadMessage

  • c Networking.Client

SaveClientPermissions()

SaveClientPermissions

SaveSettings()

SaveSettings

SelectNonHiddenSubmarine(current)

SelectNonHiddenSubmarine

Parameters

Returns

ServerAdminWrite(outMsg, c)

ServerAdminWrite

Parameters

  • outMsg Networking.IWriteMessage

  • c Networking.Client

ServerRead(incMsg, c)

ServerRead

Parameters

  • incMsg Networking.IReadMessage

  • c Networking.Client

ServerSettings(networkMember, serverName, port, queryPort, maxPlayers, isPublic, enableUPnP, listenIp)

ServerSettings

Parameters

  • networkMember Networking.NetworkMember

  • port number

  • queryPort number

  • maxPlayers number

  • isPublic bool

  • enableUPnP bool

  • listenIp Net.IPAddress

ServerSettings.HasPermissionToChangePerks()

HasPermissionToChangePerks

Returns

  • bool

ServerSettings.SaltPassword(password, salt)

SaltPassword

Parameters

  • password Byte[]

  • salt number

Returns

  • Byte[]

ServerWrite(outMsg, c)

ServerWrite

Parameters

  • outMsg Networking.IWriteMessage

  • c Networking.Client

SetPassword(password)

SetPassword

Parameters

ToString()

ToString

Returns

ToggleSettingsFrame(button, obj)

ToggleSettingsFrame

Parameters

  • button GUIButton

  • obj Object

Returns

  • bool

UnsentFlags()

UnsentFlags

Returns

  • Networking.NetFlags

UpdateFlag(flag)

UpdateFlag

Parameters

  • flag Networking.NetFlags

UpdateServerListInfo(setter)

UpdateServerListInfo

Parameters

  • setter function

WriteExtraCargo(msg)

WriteExtraCargo

Parameters

  • msg Networking.IWriteMessage

WriteHiddenSubs(msg)

WriteHiddenSubs

Parameters

  • msg Networking.IWriteMessage

WriteMonsterEnabled(msg, monsterEnabled)

WriteMonsterEnabled

Parameters

  • msg Networking.IWriteMessage

WritePerks(msg)

WritePerks

Parameters

  • msg Networking.IWriteMessage

Fields

AllowBotTakeoverOnPermadeath

AllowBotTakeoverOnPermadeath, field of type bool

  • AllowBotTakeoverOnPermadeath

AllowDisguises

AllowDisguises, field of type bool

  • AllowDisguises

AllowDragAndDropGive

AllowDragAndDropGive, field of type bool

  • AllowDragAndDropGive

AllowEndVoting

AllowEndVoting, field of type bool

  • AllowEndVoting

AllowFileTransfers

AllowFileTransfers, field of type bool

  • AllowFileTransfers

AllowFriendlyFire

AllowFriendlyFire, field of type bool

  • AllowFriendlyFire

AllowImmediateItemDelivery

AllowImmediateItemDelivery, field of type bool

  • AllowImmediateItemDelivery

AllowLinkingWifiToChat

AllowLinkingWifiToChat, field of type bool

  • AllowLinkingWifiToChat

AllowModDownloads

AllowModDownloads, field of type bool

  • AllowModDownloads

AllowModeVoting

AllowModeVoting, field of type bool

  • AllowModeVoting

AllowRewiring

AllowRewiring, field of type bool

  • AllowRewiring

AllowSpectating

AllowSpectating, field of type bool

  • AllowSpectating

AllowSubVoting

AllowSubVoting, field of type bool

  • AllowSubVoting

AllowVoteKick

AllowVoteKick, field of type bool

  • AllowVoteKick

AllowedClientNameChars

AllowedClientNameChars, field of type table

  • AllowedClientNameChars

AllowedRandomMissionTypes

AllowedRandomMissionTypes, field of type table

  • AllowedRandomMissionTypes

AutoBanTime

AutoBanTime, field of type number

  • AutoBanTime

AutoRestart

AutoRestart, field of type bool

  • AutoRestart

AutoRestartInterval

AutoRestartInterval, field of type number

  • AutoRestartInterval

AutoRestartTimer

AutoRestartTimer, field of type number

  • AutoRestartTimer

BanAfterWrongPassword

BanAfterWrongPassword, field of type bool

  • BanAfterWrongPassword

BanList

BanList, field of type Networking.BanList

  • BanList

Biome

Biome, field of type Identifier

  • Biome

BotCount

BotCount, field of type number

  • BotCount

BotSpawnMode

BotSpawnMode, field of type Networking.BotSpawnMode

  • BotSpawnMode

CampaignSettings

CampaignSettings, field of type CampaignSettings

  • CampaignSettings

ClientPermissions

ClientPermissions, field of type table

  • ClientPermissions

DespawnDisconnectedPermadeathTime

DespawnDisconnectedPermadeathTime, field of type number

  • DespawnDisconnectedPermadeathTime

DestructibleOutposts

DestructibleOutposts, field of type bool

  • DestructibleOutposts

DisableBotConversations

DisableBotConversations, field of type bool

  • DisableBotConversations

DisallowKickVoteTime

DisallowKickVoteTime, field of type number

  • DisallowKickVoteTime

DisembarkPointAllowance

DisembarkPointAllowance, field of type number

  • DisembarkPointAllowance

EnableDoSProtection

EnableDoSProtection, field of type bool

  • EnableDoSProtection

EnableUPnP

EnableUPnP, field of type bool

  • EnableUPnP

EndVoteRequiredRatio

EndVoteRequiredRatio, field of type number

  • EndVoteRequiredRatio

ExtraCargo

ExtraCargo, field of type table

  • ExtraCargo

GameModeIdentifier

GameModeIdentifier, field of type Identifier

  • GameModeIdentifier

HasPassword

HasPassword, field of type bool

  • HasPassword

HiddenSubs

HiddenSubs, field of type HashSet

  • HiddenSubs

IronmanMode

IronmanMode, field of type bool

  • IronmanMode

IronmanModeActive

IronmanModeActive, field of type bool

  • IronmanModeActive

IsPublic

IsPublic, field of type bool

  • IsPublic

KarmaEnabled

KarmaEnabled, field of type bool

  • KarmaEnabled

KarmaPreset

KarmaPreset, field of type string

  • KarmaPreset

KickAFKTime

KickAFKTime, field of type number

  • KickAFKTime

KickVoteRequiredRatio

KickVoteRequiredRatio, field of type number

  • KickVoteRequiredRatio

KillDisconnectedTime

KillDisconnectedTime, field of type number

  • KillDisconnectedTime

KillableNPCs

KillableNPCs, field of type bool

  • KillableNPCs

Language

Language, field of type LanguageIdentifier

  • Language

LastUpdateIdForFlag

LastUpdateIdForFlag, field of type table

  • LastUpdateIdForFlag

LinesPerLogFile

LinesPerLogFile, field of type number

  • LinesPerLogFile

ListenIPAddress

ListenIPAddress, field of type Net.IPAddress

  • ListenIPAddress

LockAllDefaultWires

LockAllDefaultWires, field of type bool

  • LockAllDefaultWires

LootedMoneyDestination

LootedMoneyDestination, field of type Networking.LootedMoneyDestination

  • LootedMoneyDestination

LosMode

LosMode, field of type LosMode

  • LosMode

MaxAutoBanTime

MaxAutoBanTime, field of type number

  • MaxAutoBanTime

MaxBotCount

MaxBotCount, field of type number

  • MaxBotCount

MaxPacketAmount

MaxPacketAmount, field of type number

  • MaxPacketAmount

MaxPasswordRetriesBeforeBan

MaxPasswordRetriesBeforeBan, field of type number

  • MaxPasswordRetriesBeforeBan

MaxPlayers

MaxPlayers, field of type number

  • MaxPlayers

MaxTransportTime

MaxTransportTime, field of type number

  • MaxTransportTime

MaximumMoneyTransferRequest

MaximumMoneyTransferRequest, field of type number

  • MaximumMoneyTransferRequest

MinPercentageOfPlayersForTraitorAccusation

MinPercentageOfPlayersForTraitorAccusation, field of type number

  • MinPercentageOfPlayersForTraitorAccusation

MinRespawnRatio

MinRespawnRatio, field of type number

  • MinRespawnRatio

MinimumMidRoundSyncTimeout

MinimumMidRoundSyncTimeout, field of type number

  • MinimumMidRoundSyncTimeout

MissionTypes

MissionTypes, field of type string

  • MissionTypes

ModeSelectionMode

ModeSelectionMode, field of type Networking.SelectionMode

  • ModeSelectionMode

MonsterEnabled

MonsterEnabled, field of type table

  • MonsterEnabled

Name

Name, field of type string

  • Name

NewCampaignDefaultSalary

NewCampaignDefaultSalary, field of type number

  • NewCampaignDefaultSalary

PlayStyle

PlayStyle, field of type Networking.PlayStyle

  • PlayStyle

Port

Port, field of type number

  • Port

PvPSpawnMonsters

PvPSpawnMonsters, field of type bool

  • PvPSpawnMonsters

PvPSpawnWrecks

PvPSpawnWrecks, field of type bool

  • PvPSpawnWrecks

PvPStunResist

PvPStunResist, field of type number

  • PvPStunResist

PvpAutoBalanceThreshold

PvpAutoBalanceThreshold, field of type number

  • PvpAutoBalanceThreshold

PvpTeamSelectionMode

PvpTeamSelectionMode, field of type PvpTeamSelectionMode

  • PvpTeamSelectionMode

QueryPort

QueryPort, field of type number

  • QueryPort

RandomizeSeed

RandomizeSeed, field of type bool

  • RandomizeSeed

ReplaceCostPercentage

ReplaceCostPercentage, field of type number

  • ReplaceCostPercentage

RequireAuthentication

RequireAuthentication, field of type bool

  • RequireAuthentication

RespawnInterval

RespawnInterval, field of type number

  • RespawnInterval

RespawnMode

RespawnMode, field of type Networking.RespawnMode

  • RespawnMode

SaveServerLogs

SaveServerLogs, field of type bool

  • SaveServerLogs

SelectedCoalitionPerks

SelectedCoalitionPerks, field of type Identifier[]

  • SelectedCoalitionPerks

SelectedLevelDifficulty

SelectedLevelDifficulty, field of type number

  • SelectedLevelDifficulty

SelectedOutpostName

SelectedOutpostName, field of type Identifier

  • SelectedOutpostName

SelectedSeparatistsPerks

SelectedSeparatistsPerks, field of type Identifier[]

  • SelectedSeparatistsPerks

SelectedShuttle

SelectedShuttle, field of type string

  • SelectedShuttle

SelectedSubmarine

SelectedSubmarine, field of type string

  • SelectedSubmarine

SerializableProperties

SerializableProperties, field of type table

  • SerializableProperties

ServerDetailsChanged

ServerDetailsChanged, field of type bool

  • ServerDetailsChanged

ServerLog

ServerLog, field of type Networking.ServerLog

  • ServerLog

ServerMessageText

ServerMessageText, field of type string

  • ServerMessageText

ServerName

ServerName, field of type string

  • ServerName

ServerSettings.ClientPermissionsFile

ServerSettings.ClientPermissionsFile, field of type string

ServerSettings.DefaultTickRate

ServerSettings.DefaultTickRate, field of type number

ServerSettings.MaxExtraCargoItemTypes

ServerSettings.MaxExtraCargoItemTypes, field of type number

ServerSettings.MaxExtraCargoItemsOfType

ServerSettings.MaxExtraCargoItemsOfType, field of type number

ServerSettings.PacketLimitDefault

ServerSettings.PacketLimitDefault, field of type number

ServerSettings.PacketLimitMax

ServerSettings.PacketLimitMax, field of type number

ServerSettings.PacketLimitMin

ServerSettings.PacketLimitMin, field of type number

ServerSettings.PacketLimitWarning

ServerSettings.PacketLimitWarning, field of type number

ServerSettings.PermissionPresetFile

ServerSettings.PermissionPresetFile, field of type string

ServerSettings.SettingsFile

ServerSettings.SettingsFile, field of type string

ServerSettings.SubmarineSeparatorChar

ServerSettings.SubmarineSeparatorChar, field of type Char

ShowEnemyHealthBars

ShowEnemyHealthBars, field of type EnemyHealthBarMode

  • ShowEnemyHealthBars

SkillLossPercentageOnDeath

SkillLossPercentageOnDeath, field of type number

  • SkillLossPercentageOnDeath

SkillLossPercentageOnImmediateRespawn

SkillLossPercentageOnImmediateRespawn, field of type number

  • SkillLossPercentageOnImmediateRespawn

StartWhenClientsReady

StartWhenClientsReady, field of type bool

  • StartWhenClientsReady

StartWhenClientsReadyRatio

StartWhenClientsReadyRatio, field of type number

  • StartWhenClientsReadyRatio

SubSelectionMode

SubSelectionMode, field of type Networking.SelectionMode

  • SubSelectionMode

TickRate

TickRate, field of type number

  • TickRate

TrackOpponentInPvP

TrackOpponentInPvP, field of type bool

  • TrackOpponentInPvP

TraitorDangerLevel

TraitorDangerLevel, field of type number

  • TraitorDangerLevel

TraitorProbability

TraitorProbability, field of type number

  • TraitorProbability

TraitorsMinPlayerCount

TraitorsMinPlayerCount, field of type number

  • TraitorsMinPlayerCount

UseRespawnShuttle

UseRespawnShuttle, field of type bool

  • UseRespawnShuttle

VoiceChatEnabled

VoiceChatEnabled, field of type bool

  • VoiceChatEnabled

VoteRequiredRatio

VoteRequiredRatio, field of type number

  • VoteRequiredRatio

VoteTimeout

VoteTimeout, field of type number

  • VoteTimeout

WinScorePvP

WinScorePvP, field of type number

  • WinScorePvP