started with plugin class

This commit is contained in:
kremsy
2013-11-09 12:20:38 +01:00
parent 40b5e94ec3
commit 1abbbdb9eb
15 changed files with 444 additions and 17 deletions

View File

@ -7,7 +7,7 @@ namespace ManiaControl;
*
* @author steeffeen
*/
class Plugin_Chatlog {
class Plugin_Chatlog extends Plugin{
/**
* Constants
*/
@ -37,7 +37,7 @@ class Plugin_Chatlog {
// Load settings
$this->loadSettings();
// Register for callbacks
// Register for callbacksc
$this->iControl->callbacks->registerCallbackHandler(Callbacks::CB_MP_PLAYERCHAT, $this, 'handlePlayerChatCallback');
error_log('Chatlog Pugin v' . self::VERSION . ' ready!');