Go back ../

GameQ - Example script

Players are never displayed in this example.
Bold, red variables are always set by gameq. Additionally, the normal red variables are always set when the normalise filter is enabled.
gq_online will always contain a boolean indicating if the server responded to the request.

Click here for a list of supported games.

server 1

VariableValue
allow_spectators0.0
decalfrequency30
dedicatedd
game_descrHalf-Life
game_dirvalve
gq_address10.30.30.183
gq_dedicatedd
gq_gametype
gq_hostnameReactOS 0.4.15 Xash3D 0.20.1 REACTOS.LA10CY.NET
gq_mapnameundertow
gq_maxplayers16
gq_modvalve
gq_numplayers0
gq_online1
gq_password0
gq_port27015
gq_protsource
gq_typehalflife
hostnameReactOS 0.4.15 Xash3D 0.20.1 REACTOS.LA10CY.NET
mapundertow
max_players16
mp_allowmonsters0
mp_autocrosshair1
mp_chattime10
mp_consistency1
mp_falldamage0
mp_flashlight0
mp_forcerespawn1
mp_fraglimit0
mp_fragsleft0
mp_friendlyfire0
mp_teamlisthgrunt;scientist
mp_teamplay0
mp_timeleft818
mp_timelimit20
mp_weaponstay0
num_bots0
num_players0
num_rules35
osw
password0
pausable0
protocol49
secure1
steamappid0
sv_aim0
sv_airmove1
sv_allow_autoaim0
sv_allow_upload1
sv_allowdownload1
sv_autosave1
sv_cheats1
sv_clienttrace3.5
sv_fps0.0
sv_maxrate50000
sv_minrate5000
sv_password0
sv_uploadmax0.5
sv_voiceenable1
sv_voicequality3
timeout125
version48

server 2

VariableValue
dedicatedd
game_descrHalf-Life
game_dirvalve
gq_address10.30.30.183
gq_dedicatedd
gq_gametype
gq_hostnameReactOS 0.4.15 Xash3D 0.19.4 REACTOS.LA10CY.NET
gq_mapnamelambda_bunker
gq_maxplayers16
gq_modvalve
gq_numplayers0
gq_online1
gq_password0
gq_port27016
gq_protsource
gq_typehalflife
hostnameReactOS 0.4.15 Xash3D 0.19.4 REACTOS.LA10CY.NET
maplambda_bunker
max_players16
num_bots0
num_players0
osw
password0
protocol48
secure0
steamappid0