Q2PRO Configurator

Network

VariableValueDefaultDescription
net_ip -Specifies network interface address server should listen on for UDP connections. The same interface is also used for outgoing TCP connections (these include MVD/GTV and anticheat connections). Empty string means listening on all interfaces.
net_port 27910Specifies port number server should listen on for UDP connections.
net_tcp_ip $net_ipSpecifies network interface address server should listen on for TCP connections (these include MVD/GTV connections, enabled only when ‘sv_mvd_enable’ is set properly, see below). Empty string means listening on all interfaces. Value of this cvar mirrors ‘net_ip’ unless modified by user.
net_tcp_port $net_portSpecifies port number server should listen on for TCP connections. Value of this cvar mirrors ‘net_port’ unless modified by user.

Misc

VariableValueDefaultDescription
sv_iplimit 3Maximum number of simultaneous connections allowed from single IP address (per connection type, TCP and UDP client lists are separate). Setting this variable to 0 disables the limit.
sv_status_show 0 — do not respond at all
1 — respond with server info only
2 — respond with server info and player list
2Specifies how verbose the server should be when responding to status queries.
sv_status_limit 15Maximum number of status queries per one second server should respond to.
sv_badauth_time 1Time, in seconds, for server to be unresponsive after an invalid authentication attempt. This applies to rcon commands, as well as authenticated connection requests.
sv_password -If not empty, allows only authenticated clients to connect. Authenticated clients are allowed to occupy reserved slots, see below. Clients set their passwords via ‘password’ userinfo variable.
sv_reserved_slots 0Number of client slots reserved for clients who know ‘sv_reserved_password’ or ‘sv_password’. Must be strictly less than ‘maxclients’ value. If ‘sv_mvd_enable’ is non-zero and ‘sv_reserved_slots’ is zero, ‘sv_reserved_slots’ is automatically set to one to reserve a slot for dummy MVD observer. Note that ‘sv_reserved_slots’ value is subtracted from ‘maxclients’ value visible in the server info.
sv_reserved_password -See above. If empty, no one is allowed to occupy reserved slot(s), except of dummy MVD observer. Clients set their passwords via ‘password’ userinfo variable.
sv_lan_force_rate 0 — always respect rate setting
1 — ignore rate for LAN clients
0When enabled, do not enforce any rate limits for clients whose IP is from private address space (127.x.x.x, 10.x.x.x, 192.168.x.x, 172.16.x.x).
sv_calcpings_method 0 — disable ping calculation
1 — use average value
2 — use minimum value
1Determines how client pings are calculated. Ping measurement interval is 1.6 seconds.
sv_ghostime 6Maximum time, in seconds, before dropping clients which have passed initial challenge-response connection stage but have not yet sent any data over newly established connection. This also applies to MVD/GTV clients in request processing stage. Helps to avoid attacks flooding server with zombie clients, combined with ‘sv_iplimit’ variable.
sv_force_reconnect -When set to address string, forces new clients to quickly reconnect to this address as an additional proxy protection measure.
sv_show_name_changes 0 — off
1 — on
0Broadcast player name changes to everyone. You should probably enable this unless game mod already shows name changes.
sv_uptime 0 — off
1 — on
0Display uptime string in server info.
sv_oldgame_hack 0 — off
1 — on
0On UNIX-like systems, enables ABI compatibility mode which allows loading of game libraries built using ancient GCC versions. If you happen to run closed source game mod and your server crashes while loading a map, try enabling this variable.
sv_strafejump_hack 0 — disable for all clients
1 — enable for modern clients
2 — force for all clients
1Enables FPS-independent strafe jumping mode for clients using R1Q2 and Q2PRO protocols. Values higher than 1 will force this mode for all clients, regardless of their protocol version.

MVD server

Game server settings for local MVD recording and serving remote MVD/GTV clients.

VariableValueDefaultDescription
sv_mvd_enable 0 — MVD server is disabled
1 — local MVD recording is allowed
2 — MVD recording and GTV connections are allowed
0Enables MVD/GTV server functionality.
sv_mvd_maxclients 8Total number of MVD/GTV client slots on the server.
sv_mvd_password -Password used to authenticate MVD/GTV clients. If password is not set, only those clients can connect, whose IP address is added to the list of trusted MVD/GTV hosts using ‘addgtvhost’ command.
sv_mvd_nogun 0 — save gun updates
1 — filter out gun updates
1Reduce bandwidth usage by filtering on-screen gun updates out of MVD stream.
sv_mvd_noblend 0 — save blend effects
1 — filter out blend effects
0Reduce bandwidth usage by filtering on-screen blend effects out of MVD stream.
sv_mvd_nomsgs 0 — leave team messages intact
1 — filter out team messages
1When enabled, MVD/GTV spectators in chasecam mode will not receive any text messages routed to their chase targets (which are normally on a team), but will receive messages routed to the dummy MVD observer.
sv_mvd_maxtime 0Maximum duration in minutes of the locally recorded MVD. Setting this to zero disables the limit.
sv_mvd_maxsize 0Maximum size in KB of the locally recorded MVD. Setting this to zero disables the limit.
sv_mvd_maxmaps 0Specifies number of map changes local MVD recording is stopped after. Setting this to zero disables the limit.
sv_mvd_begincmd wait 50; putaway; wait 10; help;This command is issued on behaf of dummy MVD observer as soon as it enters the game. Do whatever preparations are needed here to make sure MVD observer enters an appropriate observing mode, opens the scoreboard, etc. MVD observer has it's own command buffer and each ‘wait’ cycle lasts 100 ms there.
sv_mvd_scorecmd putaway; wait 10; help;This command is issued on behaf of dummy MVD observer each time no layout updates are detected for more than 9 seconds. Useful for reopening the scoreboard if the game mod closes it for some reason. MVD observer has it's own command buffer and each ‘wait’ cycle lasts 100 ms there.
sv_mvd_suspend_time 5GTV connections are suspended after this period of time, in minutes, counted from the moment last active player disconnects or becomes inactive. Setting this to zero disables server side suspending entirely.

MVD client

MVD/GTV server settings for live game streaming.

VariableValueDefaultDescription
mvd_username unnamedDefault username to use for outgoing GTV connections.
mvd_password -Default password to use for outgoing GTV connections.
mvd_timeout 90Specifies MVD connection timeout value, in seconds.
mvd_suspend_time 5GTV connections are suspended after this period of time, in minutes, counted from the moment last MVD spectator disconnects. Setting this to zero disables client side suspending entirely.
mvd_wait_delay 20Time, in seconds, for MVD channel to buffer data initially. This effectively specifies MVD stream delay seen by observers.
mvd_wait_percent 50Maximum inuse percentage of the delay buffer when MVD channel stops buffering data to prevent overrun, ignoring ‘mvd_wait_delay’ value.
mvd_default_map q2dm1Specifies default map used for the Waiting Room channel.
mvd_chase_prefix xv 0 yb -64Specifies POV info string position on the screen. This should be a valid fragment of the Quake 2 layout script.
mvd_stats_score 0 — always zero
1 — MVD channel ID spectator is on
2 — score of the chase target
0Specifies what ‘score’ stats field should contain for MVD observers. This field is externally visible to server browsers, etc.
mvd_filter_version 0 — pass unmodified
1 — mangle ‘!version’
0Enables mangling of all ‘!version’ substrings in chat messages sent to MVD observers to prevent flooding the GTV server with lots of responses from clients.