|Last Updated||Ratings||Unique User Downloads||Download Rankings|
|2008-08-06 (9 years ago)||65%||Total: 972||All time: 3,628 This week: 563|
|valve_rcon 1.0||GNU General Publi...||5.0||Networking, PHP 5, Games|
This class can be used to manage game servers using a remote console via TCP and UDP.
Valve RCON Class. ------------------- Version 1.0 Author: Shannon Wynter (http://fremnet.net/contact) Copyright (C) Shannon Wynter & Fremnet.net License: GPL 2.0 or greater The php5 version of my original RCON class for making use of the remote console facilities on various game servers. Basic Synapsis: ------------------- There are two ways to use this class, one is the more traditional lazy method as implemented by other functions/classes availible on the net, the other is a stricter method that requires you to do your own connecting and authenticating. There is a performance penalty for using the traditional method over multiple commands in that it has to connect, and authenticate every single time. So my general advice, use the general usage method as described below if you have to execute more then a couple of commands ** General Usage: include('valve_rcon.php'); $r = new Valve_RCON('secret', '18.104.22.168', 27015, Valve_RCON::PROTO_SOURCE); $r->connect(); $r->authenticate(); print $r->execute('status'); print $r->execute('kick user'); $->disconnect(); ** Traditional Lazy Usage: include('valve_rcon.php'); $r = new Valve_RCON('secret', '22.214.171.124', 27015, Valve_RCON::PROTO_SOURCE); print $r->execute('status'); Full Documentation: ------------------- You can generate full documentation by making sure you have phpDocumentor installed and running the document.sh file found in this directory License: ------------------- This library is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
|Fremnet (1 directory)|
|media (2 files)|
|index.html||Doc.||Main Documentation Index|
|Version Control||Unique User Downloads||Download Rankings|
|User Ratings||User Comments (1)|