23.12.2007 06:00
This is a PHP interface for remote console administration to:
Those games share the same rcon protocol with Quake3, so many others may be compatible. Just try it.
What does it do?
It gives you a list of players currently on the server along with colors - rcon status. You may then send any command to the game, including messages to all, private messages, map changes, map restarting, and any other rcon command. Suggests will guide you with a hint on command and variable names and their default values. Next to all players there are links for 'one-click kick' and 'one-click message'. Screenshots taken by PunkBuster on the server can also be retrieved, remotely and securely.
PHP Rcon works everywhere, even if you are sitting at a network with blocked UDP packets - the webserver does the job. That's why you would need to find a webhosting, that would allow you to use UDP connections made by PHP. I recommend to put it on the same machine the gameserver runs on.
Language files:
Screenshots:
History:
2.41
Fixed: matching user and server was broken.
Added: Arabic translation (thx. Anees)
Updated: GeoIP lookup library
Fixed: minor errors, PHP7.2 compatibility, code style (code is still a bunch of spaghetti, but a bit more readable); sorry, but I don't have time to rewrite this.
2.40
Added: Russian language (thx. Anarhist & Koosh87).
Fixed: Serious security issue.
Added: Call of Duty: Black Ops support - gametype list, maplist (thx. Anarhist), new map screenshots, dvarlist.
Changed: AJAX communication protocol, uses jQuery exclusively (increased compatibility).
Changed: RCON communication protocol, may be faster, but needs testing on older games, works very fast with COD:BO. $server_buffer_results and $server_extra_wait are deprecated.
Added: Game name aliases (codbo=cod7, codmw=cod4, codwaw=cod5, codmw2=cod6), use whatever you like.
Fixed: Suggest returns focus to input box when selected.
Fixed: Response messages now return OK in COD:BO as it should.
Added: %a in custom commands can be used, admin's name will be used.
Updated: French translation (thx. Dh0mp5eur).
2.351
Fixed: Output of log was not html escaped (thx. Moustache).
2.35
Added: It is now possible to use %m in $custom_cmd[], popping up a dialog window for user input - non-user-specific command.
2.34
Fixed: Screenshot related problems (thx. Moustache). Limited rights users can also see screenshots if they are allowed to make them ($commands_enabled[] = 'pb_sv_getss'.
Fixed: Colored nicknames username detection (different length based on number of colors).
Added: Command can use text only, icons or both. Now $custom_cmd in addition to $custom_cmds is compatible with this syntax, see config.
Fixed: Custom commands with icons in playerlist were line-wrapped.
Added: Custom commands in playerlist ($custom_cmds[]) might be supplied with a javascript (starting with *), see config.
Added: Suggest window gets resized horizontally to match the input box above.
2.33 - new translated strings needed
Added: Screeshot explorer (local and remote).
Changed: CSS was split in two, one site-specific (may be replaced by site-specific design) and one directly involving PHP Rcon elements.
Fixed: Finnish translation was lost in another source.
2.32
Added: Crystal project icons used instead of several links (replaced by jQuery on the fly, can be turned off).
Fixed: code cleaning, moving hardcoded stuff to external css.
Added: GeoIP.dat included with the package, default config resolves countries with internal library.
Changed: Many javascript scripts were replaced by typically only one jQuery line, some elements are now faded slowly.
Added: Country codes are now located in a textfile with their full name alternative and automatically resolved to the mouse hover title.
Added: Country code is now logged with other userinfo, large part of the code had to be moved.
Added: Inline log, re-loaded using ajax everytime the box is opened, automatically scrolled to the bottom.
2.31
Fixed: Corrupted character was not replaced correctly.
Fixed: Headers already sent warning message on login (re-loading user-specific list of servers).
Fixed: The raw UDP command fix was lost in another source.
Updated: Dutch translation (thx. Moustache).
2.3
Fixed: Multiple server configuration was broken by separating scripts from main script.
Updated: JQuery library to 1.4.3pre.
Added: Two variables that could be filled with HTML to use selected map and gametype. New links can be added next to map/gtype select boxes - javascript is used to fill a specific game mod variable with selected map. We use it along with Kafemlynek mod to choose next map forced in upcoming vote menu.
Added: Finnish translation (thx. TunTuri).
Changed: Raw UDP command prefix changed - removed "x\02" as it probably was a bug in all COD games and was fixed in COD5 (WaW) patch 1.5 (thx. Brit_FK, Jimbo). Please report whether this version works on older games.
Changed: Limited access users have most controls hidden.
Added: Checking for available functions in PHP configuration.
Added: Users can be limited to their own servers, they can have more than one, the server config filename must begin with the user's name and $match_user_and_server must be enabled in config.inc.php.
Fixed: Deprecated ereg functions were replaced by preg alternatives (PHP 5.3+).
Added: Log now contains extra data, username and IP info on kicked player. All $custom_cmds (including the command 'tell') also include this data, fully compatible with punkbuster's ID offset.
I am accepting new translations, just be in touch to keep your work up-to-date.
Send your work via PM here.
This thread is cleaned from time to time, posts with low value/repeated/outdated are being deleted. Before you ask, please read it trough.
Sadly, I noticed lately, that some of you take my work, change little things and remove my credits.
Use it and modify it freely for non-commercial use, just include my name, as I spent a lot of time developing this tool.
If I helped you with this tool only a little, consider donating any amount of your choice by PayPal on the bottom of this page.
- Call Of Duty 1
- Call Of Duty: United Offensive
- Call Of Duty 2
- Call Of Duty 4: Modern Warfare
- Call Of Duty 5: World At War
- Call Of Duty 6: Modern Warfare 2 (not possible to use until there is rcon implemented to the game)
- Call Of Duty 7: Black Ops (very limited on ranked, no changing maps, etc.)
Those games share the same rcon protocol with Quake3, so many others may be compatible. Just try it.
What does it do?
It gives you a list of players currently on the server along with colors - rcon status. You may then send any command to the game, including messages to all, private messages, map changes, map restarting, and any other rcon command. Suggests will guide you with a hint on command and variable names and their default values. Next to all players there are links for 'one-click kick' and 'one-click message'. Screenshots taken by PunkBuster on the server can also be retrieved, remotely and securely.
PHP Rcon works everywhere, even if you are sitting at a network with blocked UDP packets - the webserver does the job. That's why you would need to find a webhosting, that would allow you to use UDP connections made by PHP. I recommend to put it on the same machine the gameserver runs on.
Language files:
- EN - English 2.33
- CZ - Czech 2.33
- AR - Arabic (Anees) 2.33
- DE - German (Scratch, Papacheata) 2.2
- ES - Spanish (TaRTeSSio, Hades) 2.0
- FI - Finnish (TunTuri) 2.2
- FR - French (Max, Dh0mp5eur) 2.33
- HU - Hungarian (Marcelldzso) 1.8
- IT - Italian (PietroTC, Nazgul) 2.2
- NL - Dutch (HippoTraxius, Moustache) 2.3
- NO - Norwegian (HPH Janni) 2.0
- PL - Polish (JaReK & HanSolo) 2.2
- RS - Serbian (Fanatic) 2.0
- RU - Russian (Anarhist & Koosh87) 2.33
- SK - Slovak (Eddieee) 2.2
Screenshots:
History:
2.41
Fixed: matching user and server was broken.
Added: Arabic translation (thx. Anees)
Updated: GeoIP lookup library
Fixed: minor errors, PHP7.2 compatibility, code style (code is still a bunch of spaghetti, but a bit more readable); sorry, but I don't have time to rewrite this.
2.40
Added: Russian language (thx. Anarhist & Koosh87).
Fixed: Serious security issue.
Added: Call of Duty: Black Ops support - gametype list, maplist (thx. Anarhist), new map screenshots, dvarlist.
Changed: AJAX communication protocol, uses jQuery exclusively (increased compatibility).
Changed: RCON communication protocol, may be faster, but needs testing on older games, works very fast with COD:BO. $server_buffer_results and $server_extra_wait are deprecated.
Added: Game name aliases (codbo=cod7, codmw=cod4, codwaw=cod5, codmw2=cod6), use whatever you like.
Fixed: Suggest returns focus to input box when selected.
Fixed: Response messages now return OK in COD:BO as it should.
Added: %a in custom commands can be used, admin's name will be used.
Updated: French translation (thx. Dh0mp5eur).
2.351
Fixed: Output of log was not html escaped (thx. Moustache).
2.35
Added: It is now possible to use %m in $custom_cmd[], popping up a dialog window for user input - non-user-specific command.
2.34
Fixed: Screenshot related problems (thx. Moustache). Limited rights users can also see screenshots if they are allowed to make them ($commands_enabled[] = 'pb_sv_getss'.
Fixed: Colored nicknames username detection (different length based on number of colors).
Added: Command can use text only, icons or both. Now $custom_cmd in addition to $custom_cmds is compatible with this syntax, see config.
Fixed: Custom commands with icons in playerlist were line-wrapped.
Added: Custom commands in playerlist ($custom_cmds[]) might be supplied with a javascript (starting with *), see config.
Added: Suggest window gets resized horizontally to match the input box above.
2.33 - new translated strings needed
Added: Screeshot explorer (local and remote).
Changed: CSS was split in two, one site-specific (may be replaced by site-specific design) and one directly involving PHP Rcon elements.
Fixed: Finnish translation was lost in another source.
2.32
Added: Crystal project icons used instead of several links (replaced by jQuery on the fly, can be turned off).
Fixed: code cleaning, moving hardcoded stuff to external css.
Added: GeoIP.dat included with the package, default config resolves countries with internal library.
Changed: Many javascript scripts were replaced by typically only one jQuery line, some elements are now faded slowly.
Added: Country codes are now located in a textfile with their full name alternative and automatically resolved to the mouse hover title.
Added: Country code is now logged with other userinfo, large part of the code had to be moved.
Added: Inline log, re-loaded using ajax everytime the box is opened, automatically scrolled to the bottom.
2.31
Fixed: Corrupted character was not replaced correctly.
Fixed: Headers already sent warning message on login (re-loading user-specific list of servers).
Fixed: The raw UDP command fix was lost in another source.
Updated: Dutch translation (thx. Moustache).
2.3
Fixed: Multiple server configuration was broken by separating scripts from main script.
Updated: JQuery library to 1.4.3pre.
Added: Two variables that could be filled with HTML to use selected map and gametype. New links can be added next to map/gtype select boxes - javascript is used to fill a specific game mod variable with selected map. We use it along with Kafemlynek mod to choose next map forced in upcoming vote menu.
Added: Finnish translation (thx. TunTuri).
Changed: Raw UDP command prefix changed - removed "x\02" as it probably was a bug in all COD games and was fixed in COD5 (WaW) patch 1.5 (thx. Brit_FK, Jimbo). Please report whether this version works on older games.
Changed: Limited access users have most controls hidden.
Added: Checking for available functions in PHP configuration.
Added: Users can be limited to their own servers, they can have more than one, the server config filename must begin with the user's name and $match_user_and_server must be enabled in config.inc.php.
Fixed: Deprecated ereg functions were replaced by preg alternatives (PHP 5.3+).
Added: Log now contains extra data, username and IP info on kicked player. All $custom_cmds (including the command 'tell') also include this data, fully compatible with punkbuster's ID offset.
I am accepting new translations, just be in touch to keep your work up-to-date.
Send your work via PM here.
This thread is cleaned from time to time, posts with low value/repeated/outdated are being deleted. Before you ask, please read it trough.
Sadly, I noticed lately, that some of you take my work, change little things and remove my credits.
Use it and modify it freely for non-commercial use, just include my name, as I spent a lot of time developing this tool.
If I helped you with this tool only a little, consider donating any amount of your choice by PayPal on the bottom of this page.
Coffee phreak!