PHP Classes

libdpserver: Administer remote Paintball game servers

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 212 All time: 8,344 This week: 560Up
Version License PHP version Categories
libdpserver 2.0GNU General Publi...4.3Networking, Games
Description 

Author

This class can be used to administer remote Paintball 2 game servers.

It establishes an UDP connection to a given Paintball 2 game server and can execute several types of requests:

- Check if the game server is reachable and online
- Send a ping to command to measure the server response time
- Check if the server requires a password to access
- Get the server status information
- Get the server build version
- Get the current list of players
- Get the server host name, current game map, current team scores, the server map rotation list
- Get the list of bots
- Add or remove a bot
- Send a command to one or all bots
- Get information about a player user
- Get or set the value of a remote console variable
- Ban or remove the ban to an host by IP mask
- Write the list of bans to file
- Kick a player user
- Get the list of banned IP addresses
- Remove temporary bans
- Send an heartbeat command
- Change the game map
- Kill the current game

The class can also strip or convert game text color codes to HTML.

Picture of sk89q
Name: sk89q <contact>
Classes: 8 packages by
Country: United States United States
Age: 24
All time rank: 22426 in United States United States
Week rank: 240 Down30 in United States United States Down
Innovation award
Innovation award
Nominee: 5x

Details

lipdpserver ------------ About ===== lipdpserver is a PHP class to query and manage Digital Paint: Paintball 2 game servers. The Quake 2 (id Tech 2) connectionless protocol is used for both query and administration. RCON is used to perform administrative tasks. A number of functions are abstracted in the class as well. Requirements ============ Socket support (but not the extension) must be available. PHP 4.3 and above is recommended. PHP 5 is not required, and exceptions have not been programmed into the class. Usage ===== The class is thoroughly documented on its methods and fields and an example file utilizing a handful of functions is available. Please look through the documentation and the example for a feel of the class. Reporting Bugs ============== To report a bug, please get into contact with the author of this software. ===== Copyright (c) 2006-2007 sk89q <http://sk89q.therisenrealm.com> Some supporting code for fun name processing contributed by jitspoe <http://jitspoe.planetquake.gamespy.com> Licensed under the GNU General Public License (GPL) v2

  Files folder image Files (6)  
File Role Description
Accessible without login Plain text file CHANGELOG Doc. CHANGELOG
Plain text file DigitalPaintServer.php Class Main class file
Accessible without login Plain text file example.php Example Variety of examples
Accessible without login HTML file libdpserver_2_1_dr1.html Doc. Compact documentation
Plain text file LICENSE Lic. License
Accessible without login Plain text file README Doc. README

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:212
This week:0
All time:8,344
This week:560Up