Here's an excellent update on Ashus's PHP CoD2 RCON mod, now in v1.5. This one features a ton of new fixes and additions, most notably the...


Do not refresh or leave this page!

File Description

Here's an excellent update on Ashus's PHP CoD2 RCON mod, now in v1.5. This one features a ton of new fixes and additions, most notably the added functionality in lightning fast AJAX script. Check out the full list of what's new in the ReadMe below, see the screenshots, and update your PHP CoD2 RCON today! :thumbsup:


Read More

Download '' (320KB)

version 1.5

 Server side: Apache webserver with session and PHP5 support
 Client side: Javascript, AJAX and cookies enabled browser (Opera, Firefox, IE6/7)

This is a PHP interface for RCON to Call Of Duty 2. My script gives you a list of players currently on the server along with colors - rcon status. You can send any command to the game, including messages to all, private messages, map changes, map restarting, and any other rcon command. Next to all players there are links for 'one-click kick' and 'one-click message'. This replacement of Rcon4cod2 works everywhere, even if you are sitting at a network with blocked UDP packets.

Unpack the directory and upload it on your webserver.
Edit - enter your rcon password and ip and port of target gameserver
Edit - add your custom maps to the list
Edit - make a list of allowed users along with their passwords
Edit - insert a HTML code with often used hyperlinks if you wish

Open your browser, enter correct URL, login and have fun administering your game.

Added: AJAX interface (thx. Nazgul for idea) for refreshing only the important parts of page. It has speeded the complete process a lot. Only one piece of code communicates with the server, easier for people to change.
Added: A "working indicator" notifying the user, that the page is waiting for new data. While waiting, you can work with old ones, unlike the old version, there you had to wait for some time without any playerlist to look at.
Added: An error message (if no data are received).
Changed: Almost all forms were removed, they were replaced by javascripts, input-guarded on the client side.
Added: Country codes are now implemeted along with national flag images. See config file for settings.
Added: Clicking any command with Shift button pressed puts the raw code to command line and doesn't send it. This can be used for changing preset commands before exec. 
Fixed: By splitting the main script in two I have caused not to auto-choose current map in map change drop-down box. The default empty line was replaced by Restart command.
Removed: The button to change gametype instantly and those ones to bath disable or enable more weapons - snipers, rifles (executed 2 or more commands in a row) would make things much more complicated. For instant gametype change use Change after map and then restart the map by button below.
Changed: The default refresh time is now 30s (you can now work while refreshing).
Added: More custom commands on one line (for syntax see config file).

Added: Italian translation (thx. Nazgul).

Added: Custom favorite commands (editable in Waiting a while pointing the cursor at the friendly name of command displays the actual command as hint label.
Added: Custom commands next to all players (config file, hint labels, editable ID offset for PB commands).
Changed: Timeout values, extra-wait failsafe mode, buffer sizes (when problems with full player listing ocurred) and language settings are now editable from within
Changed: Settings menu is hidden by default, it is displayed (and more php code processed) after clicking one link. Previously, it was shown/hidden by javascript.
Fixed: Arrays are now duplicated when cycling (PHP4 compatible).
Fixed: Minor HTML glitches.
Added: Codepage of the page is now changeable with language.
Added: A map picture is shown via javascript after clicking the map name. To hide it, move the mouse away, or click the picture.
Added: One button to get current gametype was added.

Changed: Refreshing of the window is now done by javascript, which is stopped/resumed manually or by clicking anywhere to the bottom table (when you start typing a long command or message to send, it is already paused). If an dialog box for message is open and then cancelled, the countdown is resumed right where it has been paused.
Added: The countdown to page refreshing was added.
Added: All weapons are now possible to disable/enable or get their status (the "?" buttons), they are hidden as default, till you click Settings link.
Added: I made a password box for changing public password. It is also hidden by default.
Added: An empty page ready for quick links you may have needed was added. I use it for fast switch to my iptables banning system.

Fixed: I changed the beginning php tags from short to proper <?php.
Fixed: If return value exceeds limited number of bytes and colorizing is turned off, the background of the character is marked as yellow for easy noticing.
Fixed: The joining substring was changed from national sign of caron to chr(255), it could help to more compatibility.

Added: A simple login system.
Added: Maps, gametypes changing via dropdown box.
Added: Buttons for changing game settings - Sniper rifles, Shotgun, Smoke grenades.
Added: Javascript and buttons to whisper to any player / say something loud.
Fixed: you can press F5 to refresh the window with list safely - no commands will be re-sent, just the last result and last sent command will be displayed again.
Changed: Kick buttons were changed to javascript links.

First version, hooray, the communication with gameserver works, now we can begin working on GUI!

Use it and modify it freely, just include my name, as I spent a lot of time developing this tool.

ashw3 -at- seznam -dot- cz
Other applications made by me are here: hxxp://

Read More

Comments on this File

There are no comments yet. Be the first!


50 XP

Registered 17th June 2006

17 Files Uploaded

Share This File
Embed File