1
0
mirror of https://github.com/xPaw/PHP-Source-Query.git synced 2026-05-18 14:43:33 +02:00
xPaw 53cae06b12 v2
2012-04-06 15:48:39 +03:00
v2
2012-04-06 15:48:39 +03:00
v2
2012-04-06 15:48:39 +03:00
v2
2012-04-06 15:48:39 +03:00

PHP SourceQuery

Description

This class was created to query servers that use 'Source Query' protocol, for games like HL1, HL2, The Ship, SiN 1, Rag Doll Kung Fu and more.

This also works for Call of Duty: Modern Warfare 3, as it uses Source Query protocol as well.

You can find protocol specifications here: http://developer.valvesoftware.com/wiki/Server_queries

Usage

You can find easy examples on how to use it in Test.php file, or just run view.php

Functions

Open connection to a server: Connect( $IP, $Port );

Close connection: Disconnect( );

Set rcon password for future use: SetRconPassword( $RconPassword );

Execute Rcon command: Rcon( $Command );

License

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/3.0/

S
Description
No description provided
Readme 440 KiB
Languages
PHP 100%