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
address0.0.0.0:0
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_mapnamedatacore
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
mapdatacore
max_players16
num_players0
osW
password0
protocol49
secure1
version0

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_mapnamesnark_pit
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
mapsnark_pit
max_players16
num_bots0
num_players0
osw
password0
protocol48
secure0
steamappid0