improved metadata properties of plugin class

This commit is contained in:
Steffen Schröder
2013-12-03 18:50:30 +01:00
parent ad6574b523
commit 35a7232894
6 changed files with 36 additions and 63 deletions

View File

@ -32,10 +32,11 @@ class ChatlogPlugin extends Plugin implements CallbackListener {
public function __construct(ManiaControl $maniaControl) {
$this->maniaControl = $maniaControl;
$this->name = 'Chatlog Plugin';
$this->version = self::VERSION;
$this->author = 'steeffeen';
$this->description = 'Plugin logging the chat messages of the server.';
// Plugin details
self::$name = 'Chatlog Plugin';
self::$version = self::VERSION;
self::$author = 'steeffeen';
self::$description = 'Plugin logging the chat messages of the server.';
// Init settings
$this->maniaControl->settingManager->initSetting($this, self::SETTING_FOLDERNAME, 'logs');