ServerQuery


 * See also: Server Configuration.

Resources

 * Valve Developer Community: Server queries.

A2S_RULES / Server Settings
In the A2S_Rules section you will get replies from the server about the current server settings. Since there's a limit to how much data can be sent, and we wish to send as little as possible, the information here is encoded.

This encoding is simply done with a short identifier mapped to a value. Not all values have this mapping, but most do. The type of value is denoted in the name; _f for float, _b for bool, _s for string, _i for integer. What follows is a list of what the different server settings are mapped to:


 * 1) define CONAN_SESSION_SETTING_PVPEnabled                               FName(TEXT("S0"))
 * 2) define CONAN_SESSION_SETTING_NoOwnership                              FName(TEXT("S1"))
 * 3) define CONAN_SESSION_SETTING_CanDamagePlayerOwnedStructures           FName(TEXT("S2"))
 * 4) define CONAN_SESSION_SETTING_EnableSandStorm                          FName(TEXT("S3"))
 * 5) define CONAN_SESSION_SETTING_ThrallConversionMultiplier               FName(TEXT("S4"))
 * 6) define CONAN_SESSION_SETTING_LogoutCharactersRemainInTheWorld         FName(TEXT("S5"))
 * 7) define CONAN_SESSION_SETTING_DurabilityMultiplier                     FName(TEXT("S6"))
 * 8) define CONAN_SESSION_SETTING_DropEquipmentOnDeath                     FName(TEXT("S7"))
 * 9) define CONAN_SESSION_SETTING_ItemConvertionMultiplier                 FName(TEXT("S8"))
 * 10) define CONAN_SESSION_SETTING_EverybodyCanLootCorpse                   FName(TEXT("Sa"))
 * 11) define CONAN_SESSION_SETTING_DayCycleSpeedScale                       FName(TEXT("Sb"))
 * 12) define CONAN_SESSION_SETTING_ClientCatchUpTime                        FName(TEXT("Sc"))
 * 13) define CONAN_SESSION_SETTING_UseClientCatchUpTime                     FName(TEXT("Sd"))
 * 14) define CONAN_SESSION_SETTING_DawnDuskSpeedScale                       FName(TEXT("Sg"))
 * 15) define CONAN_SESSION_SETTING_PlayerHealthMultiplier                   FName(TEXT("Sh"))
 * 16) define CONAN_SESSION_SETTING_PlayerStaminaMultiplier                  FName(TEXT("Si"))
 * 17) define CONAN_SESSION_SETTING_StaminaCostMultiplier                    FName(TEXT("Sj"))
 * 18) define CONAN_SESSION_SETTING_ItemSpoilRateScale                       FName(TEXT("Sk"))
 * 19) define CONAN_SESSION_SETTING_HarvestAmountMultiplier                  FName(TEXT("Sl"))
 * 20) define CONAN_SESSION_SETTING_ResourceRespawnSpeedMultiplier           FName(TEXT("Sm"))
 * 21) define CONAN_SESSION_SETTING_NPCMindReadingMode                       FName(TEXT("Sn"))
 * 22) define CONAN_SESSION_SETTING_UnconsciousTimeSeconds                   FName(TEXT("So"))
 * 23) define CONAN_SESSION_SETTING_MaxNudity                                FName(TEXT("Sp"))
 * 24) define CONAN_SESSION_SETTING_ChatHasGlobal                            FName(TEXT("Sq"))
 * 25) define CONAN_SESSION_SETTING_ChatLocalRadius                          FName(TEXT("Sr"))
 * 26) define CONAN_SESSION_SETTING_ChatMaxMessageLength                     FName(TEXT("Ss"))
 * 27) define CONAN_SESSION_SETTING_ChatFloodControlAheadCounter             FName(TEXT("St"))
 * 28) define CONAN_SESSION_SETTING_ServerCommunity                          FName(TEXT("Su"))
 * 29) define CONAN_SESSION_SETTING_AvatarSummonTime                         FName(TEXT("Sv"))
 * 30) define CONAN_SESSION_SETTING_AvatarLifetime                           FName(TEXT("Sw"))
 * 31) define CONAN_SESSION_SETTING_ClanMaxSize                              FName(TEXT("Sx"))
 * 32) define CONAN_SESSION_SETTING_ServerRegion                             FName(TEXT("Sy"))
 * 33) define CONAN_SESSION_SETTING_PlayerXPRateMultiplier                   FName(TEXT("Sz"))
 * 34) define CONAN_SESSION_SETTING_PlayerXPKillMultiplier                   FName(TEXT("S00"))
 * 35) define CONAN_SESSION_SETTING_PlayerXPHarvestMultiplier                FName(TEXT("S01"))
 * 36) define CONAN_SESSION_SETTING_PlayerXPCraftMultiplier                  FName(TEXT("S02"))
 * 37) define CONAN_SESSION_SETTING_PlayerXPTimeMultiplier                   FName(TEXT("S03"))
 * 38) define CONAN_SESSION_SETTING_LandClaimRadiusMultiplier                FName(TEXT("S04"))
 * 39) define CONAN_SESSION_SETTING_IsBattlEyeEnabled                        FName(TEXT("S05"))
 * 40) define CONAN_SESSION_SETTING_RegionAllowAfrica                        FName(TEXT("S06"))
 * 41) define CONAN_SESSION_SETTING_RegionAllowAsia                          FName(TEXT("S07"))
 * 42) define CONAN_SESSION_SETTING_RegionAllowCentralEurope                 FName(TEXT("S08"))
 * 43) define CONAN_SESSION_SETTING_RegionAllowEasternEurope                 FName(TEXT("S09"))
 * 44) define CONAN_SESSION_SETTING_RegionAllowWesternEurope                 FName(TEXT("S10"))
 * 45) define CONAN_SESSION_SETTING_RegionAllowNorthAmerica                  FName(TEXT("S11"))
 * 46) define CONAN_SESSION_SETTING_RegionAllowOceania                       FName(TEXT("S12"))
 * 47) define CONAN_SESSION_SETTING_RegionAllowSouthAmerica                  FName(TEXT("S13"))
 * 48) define CONAN_SESSION_SETTING_RegionBlockList                          FName(TEXT("S14"))
 * 49) define CONAN_SESSION_SETTING_ServerVoiceChat                          FName(TEXT("S16"))
 * 50) define CONAN_SESSION_SETTING_ServerModList                            FName(TEXT("S17"))
 * 51) define CONAN_SESSION_SETTING_IsVACEnabled                             FName(TEXT("S18"))
 * 52) define CONAN_SESSION_SETTING_IsLoadErrorsFatal                        FName(TEXT("S19"))
 * 53) define CONAN_SESSION_SETTING_MaxAllowedPing                           FName(TEXT("S20"))
 * 54) define CONAN_SESSION_SETTING_PlayerIdleThirstMultiplier               FName(TEXT("S21"))
 * 55) define CONAN_SESSION_SETTING_PlayerActiveThirstMultiplier             FName(TEXT("S22"))
 * 56) define CONAN_SESSION_SETTING_PlayerIdleHungerMultiplier               FName(TEXT("S23"))
 * 57) define CONAN_SESSION_SETTING_PlayerActiveHungerMultiplier             FName(TEXT("S24"))
 * 58) define CONAN_SESSION_SETTING_RestrictPVPBuildingDamageTime            FName(TEXT("S25"))
 * 59) define CONAN_SESSION_SETTING_PVPBuildingDamageTimeWeekdayStart        FName(TEXT("S26"))
 * 60) define CONAN_SESSION_SETTING_PVPBuildingDamageTimeWeekdayEnd          FName(TEXT("S27"))
 * 61) define CONAN_SESSION_SETTING_PVPBuildingDamageTimeWeekendStart        FName(TEXT("S28"))
 * 62) define CONAN_SESSION_SETTING_PVPBuildingDamageTimeWeekendEnd          FName(TEXT("S29"))
 * 63) define CONAN_SESSION_SETTING_CombatModeModifier                       FName(TEXT("S30"))
 * 64) define CONAN_SESSION_SETTING_BuildingPreloadRadius                    FName(TEXT("S31"))
 * 65) define CONAN_SESSION_SETTING_CoopTetheringDistance                    FName(TEXT("S32"))
 * 66) define CONAN_SESSION_SETTING_PurgeLevel                               FName(TEXT("S33"))
 * 67) define CONAN_SESSION_SETTING_PurgePeriodicity                         FName(TEXT("S34"))
 * 68) define CONAN_SESSION_SETTING_RestrictPurgeTime                        FName(TEXT("S35"))
 * 69) define CONAN_SESSION_SETTING_PurgeRestrictionWeekdayStart             FName(TEXT("S36"))
 * 70) define CONAN_SESSION_SETTING_PurgeRestrictionWeekdayEnd               FName(TEXT("S37"))
 * 71) define CONAN_SESSION_SETTING_PurgeRestrictionWeekendStart             FName(TEXT("S38"))
 * 72) define CONAN_SESSION_SETTING_PPurgeRestrictionWeekendEnd              FName(TEXT("S39"))
 * 73) define CONAN_SESSION_SETTING_PurgePreparationTime                     FName(TEXT("S40"))
 * 74) define CONAN_SESSION_SETTING_PurgeDuration                            FName(TEXT("S41"))
 * 75) define CONAN_SESSION_SETTING_MinPurgeOnlinePlayers                    FName(TEXT("S42"))
 * 76) define CONAN_SESSION_SETTING_AllowBuilding                            FName(TEXT("S43"))
 * 77) define CONAN_SESSION_SETTING_ClanPurgeTrigger                         FName(TEXT("S44"))
 * 78) define CONAN_SESSION_SETTING_ClanScoreUpateFrequency                  FName(TEXT("S45"))
 * 79) define CONAN_SESSION_SETTING_EnablePurge                              FName(TEXT("S46"))
 * 80) define CONAN_SESSION_SETTING_PurgeNPCBuildingDamageMultiplier         FName(TEXT("S47"))