Black Ops Rcon Tools: PHP WebRcon 0.2-alpha

Very basic PHP rcon tool. Functions:

  • Player list
  • Kick/ban/tempban/sendmessage (global/whisper)
  • Unlimited admins and servers
  • Fully customizable permissions
  • AJAX refresh/kick/tempban/message/whisper = no page refreshing
  • Actions log
  • Player log
  • Message rotation

Known bugs:

  • Sometimes (rare) broken player list (solution: refresh)

Screenshot (0.1):

Server requirements:

  • PHP >= 5.2.3 with enabled fsockopen function
  • MySQL database with InnoDB storage support

Installation:

  • Download, unpack and upload to web server
  • CHMOD 777 for application/cache, application/config/app.php and database.php
  • Open (in your web browser) http://yourserver.com/install
  • Follow installer instructions
  • Rename cron directory to something more unique (IMPORTANT)
  • If you want to use message rotation and player log, setup crontabs/webcron to execute your_renamed_cron_directory_here/index.php every x seconds (i recommend 60 seconds)

Quick start guide:

  • Log in
  • Go to Servers tab
  • Enter your server data and press Submit
  • Go to [Permissions] and assign game server with your account

Users wishlist:

  • High-ping kicker, map/gamemode rotation, automatic messages
  • Live stats iframe or/and image

0.2 changelog:

Code:
– Improved UI
– Improved message system
– Uses AJAX (allows to send messages without refreshing page)
– Private messages support (send message to specified user)
– Actions log (every executed action (kick, ban, message etc.) is now logged)
– Fixed URL bug (Firefox (possibly IE too))
– Fixed removing permissions (thanks 100lappen)
– Player log (in progress, requires cron)
– Message rotation (in progress, requires cron)

Changed files:
* application/classes/controller/dashboard.php
* application/classes/controller/login.php
* application/classes/controller/main.php
* application/classes/controller/servers.php
* application/classes/controller/users.php
* application/classes/model/server.php
* application/classes/rcon/commands.php
* style.css
+ app.js
+ application/classes/model/message.php

+* Whole application/views (remove old, upload new)
+* Whole cron directory
+* Reupload images and install directory

How to upgrade from 0.1.1:
1. Upload changed files to server (overwrite old ones)
2. Run install/upgrade.php
3. Rename cron directory to something more unique (IMPORTANT)
4. If you want to use message rotation and player log, setup crontabs/webcron to execute your_renamed_cron_directory_here/index.php every x seconds (i recommend 60 seconds)

New function wishes, bug reports:
http://code.google.com/p/php-blackops-rcon/

Download 0.2-alpha (with #1 and #2 patch): http://code.google.com/p/php-blackops-r … patched.7z