Panel/protocol/GameQ
copilot-swe-agent[bot] e44519c030
Apply automated PHP8 safety transforms
Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/89922108-1604-44ae-949d-358d32b9d70a

Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2026-04-23 14:01:37 +00:00
..
Exception No changes 2025-09-11 13:29:15 -04:00
Filters Apply automated PHP8 safety transforms 2026-04-23 14:01:37 +00:00
gameq Apply automated PHP8 safety transforms 2026-04-23 14:01:37 +00:00
Protocols Apply automated PHP8 safety transforms 2026-04-23 14:01:37 +00:00
Query Apply automated PHP8 safety transforms 2026-04-23 14:01:37 +00:00
Autoloader.php No changes 2025-09-11 13:29:15 -04:00
Buffer.php Apply automated PHP8 safety transforms 2026-04-23 14:01:37 +00:00
composer.json No changes 2025-09-11 13:29:15 -04:00
functions.php Apply automated PHP8 safety transforms 2026-04-23 14:01:37 +00:00
GameQ.php Apply automated PHP8 safety transforms 2026-04-23 14:01:37 +00:00
GameQMonitor.php No changes 2025-09-11 13:29:15 -04:00
LICENSE No changes 2025-09-11 13:29:15 -04:00
LICENSE.lgpl No changes 2025-09-11 13:29:15 -04:00
Protocol.php No changes 2025-09-11 13:29:15 -04:00
README.md No changes 2025-09-11 13:29:15 -04:00
Result.php No changes 2025-09-11 13:29:15 -04:00
Server.php Apply automated PHP8 safety transforms 2026-04-23 14:01:37 +00:00

Notice - May 28, 2014

Version 2 is now closed to new features. I will add new games as time allows.

Please test v3 as much as possible and provide any feedback. Note that v3 is not production ready.

Information

GameQ is a PHP program that allows you to query multiple types of multiplayer game servers at the same time.

GameQ v2 is based off of the original GameQ PHP program from http://gameq.sourceforge.net/. That project was no longer being supported.

Requirements

  • PHP 5.2 (Recommended 5.3, 5.4)

Extras you might need:

Example

Usage & Examples: https://github.com/Austinb/GameQ/wiki/Usage-&-examples-v2

Quick and Dirty:

$gq = new GameQ();
$gq->addServer(array(
	'id' => 'my_server',
	'type' => 'css', // Counter-Strike: Source
	'host' => '127.0.0.1:27015',
));

$results = $gq->requestData(); // Returns an array of results

print_r($results);

Want more? Check out the wiki page or /examples for more.

ChangeLog

See https://github.com/Austinb/GameQ/commits/v2 for an incremental list of changes

License

See LICENSE.LGPL for more information

Donations

If you like this project and use it a lot please feel free to donate here: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=VAU2KADATP5PU.