Dedicated autoconfig.gm
From King Arthur's Gold Wiki
Revision as of 06:09, 8 January 2013 by Splittingred (Talk | contribs)
This is a GML script, located in Base/Scripts/, that loads a list of global variables (settings) for KAG.
Server Variables
- sv_alloweditor
- If set to 1 players that have RCON can start map editor on server. Defaults to 1.
- sv_allow_globals_mods
- If set to 1 global KAG moderators and admins (Guards) can kick/ban players on server. Defaults to 0. Recommended to set to 1 unless you have your own team of mods.
- sv_compression
- Compress network data or not. Disabling compression may improve performance. DO NOT change this while running the server! Defaults to 1.
- sv_deltapos_modifier
- Controls the threshold for delta packet updating. Value higher than 1 will reduce bandwidth, lower increase. Defaults to 1.
- sv_enableIPv6
- Whether to use IPv6 globally. Set to 0 to disable IPv6 globally including for API calls (NOT RECOMMENDED!). Defaults to 1.
- sv_enable_joinfull
- If set to 1 then privileged users (join_full seclev feature) may join the server when full. Defaults to 1.
- sv_fastdeltas
- Faster deltas mean less CPU intensive but more bandwidth used. Defaults to 0.
- sv_gold_only
- If set to 1 only premium account players can join (aka Gold Server). Defaults to 0.
- sv_info
- Sets the server info displayed in server browser. A string, use backticks (`) to enclose the string.
- sv_ip
- Server communication IP address, this is where it listens for incoming clients. This is the IP address clients can connect to. Set to 0 for automatic detection. Defaults to 0. Recommended not to change.
- sv_ipv6
- Server communication IPv6 address, this is where it listens for incoming clients. This is the IPv6 address bound for anything but game traffic (currently). Set to 0 for automatic detection. Defaults to blank. Recommended not to change.
- sv_maxping
- Max ping allowed on server after which player is kicked. Large ping players will slow down server. Defaults to 450
- sv_maxping_warnings
- Because of ping spikes, warnings are issued if a player has ping over max number. Defaults to 300.
- sv_maxplayers
- Maximum number of players allowed ingame. Defaults to 8.
- sv_maxhack_warnings
- Maximum amount of warnings where server thinks player is hacking. Defaults to 25.
- sv_name
- Sets the server name displayed in server browser. A string, use backticks (`) to enclose the string.
- sv_password
- Sets the server password. A string, use backticks (`) to enclose the string.
- sv_port
- Server communication port, this is where it listens for incoming clients. Remember to open this port in your firewall. Defaults to 50301.
- sv_preferAF
- Server AF preference for whether clients connect using IPv4 or IPv6. Set to 0 for clients to use whichever performs better when both are available. Defaults to 0.
- sv_rconpassword
- Sets the server remote console password. A string, use backticks (`) to enclose the string.
- sv_register
- Whether or not to register this server with the master list. You likely only want this set to 0 if this is a firewalled private server. Defaults to 1.
- sv_require_auth
- If set to 1 server checks client authentication via master server. Defaults to 1.
- sv_reservedslots
- Number of reserved slots (additional slots on top of the max, accessible only to privileged players). Defaults to 0.
- sv_spectatorslots
- Number of slots specifically for spectators. Set to 0 for spectators to use the same slot pool as every other player. Defaults to 0.
- sv_tcpr
- Whether to enable the TCP RCON server on sv_port. Cannot be enabled on Windows. Defaults to 1.