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:
 #define CONAN_SESSION_SETTING_PVPEnabled FName(TEXT("S0"))
 #define CONAN_SESSION_SETTING_NoOwnership FName(TEXT("S1"))
 #define CONAN_SESSION_SETTING_CanDamagePlayerOwnedStructures FName(TEXT("S2"))
 #define CONAN_SESSION_SETTING_EnableSandStorm FName(TEXT("S3"))
 #define CONAN_SESSION_SETTING_ThrallConversionMultiplier FName(TEXT("S4"))
 #define CONAN_SESSION_SETTING_LogoutCharactersRemainInTheWorld FName(TEXT("S5"))
 #define CONAN_SESSION_SETTING_DurabilityMultiplier FName(TEXT("S6"))
 #define CONAN_SESSION_SETTING_DropEquipmentOnDeath FName(TEXT("S7"))
 #define CONAN_SESSION_SETTING_ItemConvertionMultiplier FName(TEXT("S8"))
 #define CONAN_SESSION_SETTING_EverybodyCanLootCorpse FName(TEXT("Sa"))
 #define CONAN_SESSION_SETTING_DayCycleSpeedScale FName(TEXT("Sb"))
 #define CONAN_SESSION_SETTING_ClientCatchUpTime FName(TEXT("Sc"))
 #define CONAN_SESSION_SETTING_UseClientCatchUpTime FName(TEXT("Sd"))
 #define CONAN_SESSION_SETTING_DawnDuskSpeedScale FName(TEXT("Sg"))
 #define CONAN_SESSION_SETTING_PlayerHealthMultiplier FName(TEXT("Sh"))
 #define CONAN_SESSION_SETTING_PlayerStaminaMultiplier FName(TEXT("Si"))
 #define CONAN_SESSION_SETTING_StaminaCostMultiplier FName(TEXT("Sj"))
 #define CONAN_SESSION_SETTING_ItemSpoilRateScale FName(TEXT("Sk"))
 #define CONAN_SESSION_SETTING_HarvestAmountMultiplier FName(TEXT("Sl"))
 #define CONAN_SESSION_SETTING_ResourceRespawnSpeedMultiplier FName(TEXT("Sm"))
 #define CONAN_SESSION_SETTING_NPCMindReadingMode FName(TEXT("Sn"))
 #define CONAN_SESSION_SETTING_UnconsciousTimeSeconds FName(TEXT("So"))
 #define CONAN_SESSION_SETTING_MaxNudity FName(TEXT("Sp"))
 #define CONAN_SESSION_SETTING_ChatHasGlobal FName(TEXT("Sq"))
 #define CONAN_SESSION_SETTING_ChatLocalRadius FName(TEXT("Sr"))
 #define CONAN_SESSION_SETTING_ChatMaxMessageLength FName(TEXT("Ss"))
 #define CONAN_SESSION_SETTING_ChatFloodControlAheadCounter FName(TEXT("St"))
 #define CONAN_SESSION_SETTING_ServerCommunity FName(TEXT("Su"))
 #define CONAN_SESSION_SETTING_AvatarSummonTime FName(TEXT("Sv"))
 #define CONAN_SESSION_SETTING_AvatarLifetime FName(TEXT("Sw"))
 #define CONAN_SESSION_SETTING_ClanMaxSize FName(TEXT("Sx"))
 #define CONAN_SESSION_SETTING_ServerRegion FName(TEXT("Sy"))
 #define CONAN_SESSION_SETTING_PlayerXPRateMultiplier FName(TEXT("Sz"))
 #define CONAN_SESSION_SETTING_PlayerXPKillMultiplier FName(TEXT("S00"))
 #define CONAN_SESSION_SETTING_PlayerXPHarvestMultiplier FName(TEXT("S01"))
 #define CONAN_SESSION_SETTING_PlayerXPCraftMultiplier FName(TEXT("S02"))
 #define CONAN_SESSION_SETTING_PlayerXPTimeMultiplier FName(TEXT("S03"))
 #define CONAN_SESSION_SETTING_LandClaimRadiusMultiplier FName(TEXT("S04"))
 #define CONAN_SESSION_SETTING_IsBattlEyeEnabled FName(TEXT("S05"))
 #define CONAN_SESSION_SETTING_RegionAllowAfrica FName(TEXT("S06"))
 #define CONAN_SESSION_SETTING_RegionAllowAsia FName(TEXT("S07"))
 #define CONAN_SESSION_SETTING_RegionAllowCentralEurope FName(TEXT("S08"))
 #define CONAN_SESSION_SETTING_RegionAllowEasternEurope FName(TEXT("S09"))
 #define CONAN_SESSION_SETTING_RegionAllowWesternEurope FName(TEXT("S10"))
 #define CONAN_SESSION_SETTING_RegionAllowNorthAmerica FName(TEXT("S11"))
 #define CONAN_SESSION_SETTING_RegionAllowOceania FName(TEXT("S12"))
 #define CONAN_SESSION_SETTING_RegionAllowSouthAmerica FName(TEXT("S13"))
 #define CONAN_SESSION_SETTING_RegionBlockList FName(TEXT("S14"))
 #define CONAN_SESSION_SETTING_ServerVoiceChat FName(TEXT("S16"))
 #define CONAN_SESSION_SETTING_ServerModList FName(TEXT("S17"))
 #define CONAN_SESSION_SETTING_IsVACEnabled FName(TEXT("S18"))
 #define CONAN_SESSION_SETTING_IsLoadErrorsFatal FName(TEXT("S19"))
 #define CONAN_SESSION_SETTING_MaxAllowedPing FName(TEXT("S20"))
 #define CONAN_SESSION_SETTING_PlayerIdleThirstMultiplier FName(TEXT("S21"))
 #define CONAN_SESSION_SETTING_PlayerActiveThirstMultiplier FName(TEXT("S22"))
 #define CONAN_SESSION_SETTING_PlayerIdleHungerMultiplier FName(TEXT("S23"))
 #define CONAN_SESSION_SETTING_PlayerActiveHungerMultiplier FName(TEXT("S24"))
 #define CONAN_SESSION_SETTING_RestrictPVPBuildingDamageTime FName(TEXT("S25"))
 #define CONAN_SESSION_SETTING_PVPBuildingDamageTimeWeekdayStart FName(TEXT("S26"))
 #define CONAN_SESSION_SETTING_PVPBuildingDamageTimeWeekdayEnd FName(TEXT("S27"))
 #define CONAN_SESSION_SETTING_PVPBuildingDamageTimeWeekendStart FName(TEXT("S28"))
 #define CONAN_SESSION_SETTING_PVPBuildingDamageTimeWeekendEnd FName(TEXT("S29"))
 #define CONAN_SESSION_SETTING_CombatModeModifier FName(TEXT("S30"))
 #define CONAN_SESSION_SETTING_BuildingPreloadRadius FName(TEXT("S31"))
 #define CONAN_SESSION_SETTING_CoopTetheringDistance FName(TEXT("S32"))
 #define CONAN_SESSION_SETTING_PurgeLevel FName(TEXT("S33"))
 #define CONAN_SESSION_SETTING_PurgePeriodicity FName(TEXT("S34"))
 #define CONAN_SESSION_SETTING_RestrictPurgeTime FName(TEXT("S35"))
 #define CONAN_SESSION_SETTING_PurgeRestrictionWeekdayStart FName(TEXT("S36"))
 #define CONAN_SESSION_SETTING_PurgeRestrictionWeekdayEnd FName(TEXT("S37"))
 #define CONAN_SESSION_SETTING_PurgeRestrictionWeekendStart FName(TEXT("S38"))
 #define CONAN_SESSION_SETTING_PPurgeRestrictionWeekendEnd FName(TEXT("S39"))
 #define CONAN_SESSION_SETTING_PurgePreparationTime FName(TEXT("S40"))
 #define CONAN_SESSION_SETTING_PurgeDuration FName(TEXT("S41"))
 #define CONAN_SESSION_SETTING_MinPurgeOnlinePlayers FName(TEXT("S42"))
 #define CONAN_SESSION_SETTING_AllowBuilding FName(TEXT("S43"))
 #define CONAN_SESSION_SETTING_ClanPurgeTrigger FName(TEXT("S44"))
 #define CONAN_SESSION_SETTING_ClanScoreUpateFrequency FName(TEXT("S45"))
 #define CONAN_SESSION_SETTING_EnablePurge FName(TEXT("S46"))
 #define CONAN_SESSION_SETTING_PurgeNPCBuildingDamageMultiplier FName(TEXT("S47"))
Category:Guides
Category:Servers