From 44c59b4cae3d64d53bc9f7591804aa1fc33567e1 Mon Sep 17 00:00:00 2001 From: kremsy Date: Sun, 13 Apr 2014 12:00:08 +0200 Subject: [PATCH] donation message fix + phpdoc plugins --- application/plugins/ChatMessagePlugin.php | 4 +++- application/plugins/Chatlog.php | 2 ++ application/plugins/CustomVotes.php | 4 +++- application/plugins/Dedimania/Dedimania.php | 7 +++++++ application/plugins/Dedimania/DedimaniaData.php | 11 ++++------- application/plugins/Dedimania/DedimaniaPlayer.php | 13 +++++++------ application/plugins/Dedimania/RecordData.php | 13 +++++++------ application/plugins/Donations.php | 6 ++++-- application/plugins/Karma.php | 4 +++- application/plugins/LocalRecords.php | 2 ++ application/plugins/ServerRanking.php | 7 +++++++ application/plugins/WidgetPlugin.php | 4 +++- 12 files changed, 52 insertions(+), 25 deletions(-) diff --git a/application/plugins/ChatMessagePlugin.php b/application/plugins/ChatMessagePlugin.php index 91ca2e07..d196b4ef 100644 --- a/application/plugins/ChatMessagePlugin.php +++ b/application/plugins/ChatMessagePlugin.php @@ -10,6 +10,8 @@ use Maniaplanet\DedicatedServer\Xmlrpc\Exception; * ManiaControl Chat-Message Plugin * * @author kremsy + * @copyright ManiaControl Copyright © 2014 ManiaControl Team + * @license http://www.gnu.org/licenses/ GNU General Public License, Version 3 */ class ChatMessagePlugin implements CommandListener, Plugin { /** @@ -67,7 +69,7 @@ class ChatMessagePlugin implements CommandListener, Plugin { $this->maniaControl->commandManager->registerCommandListener('bootme', $this, 'chat_bootme'); $this->maniaControl->commandManager->registerCommandListener('ragequit', $this, 'chat_ragequit'); $this->maniaControl->commandManager->registerCommandListener('rq', $this, 'chat_ragequit'); - + //TODO block commandlistener for muted people $this->maniaControl->settingManager->initSetting($this, self::SETTING_AFK_FORCE_SPEC, true); return true; diff --git a/application/plugins/Chatlog.php b/application/plugins/Chatlog.php index e21b1bec..e049d316 100644 --- a/application/plugins/Chatlog.php +++ b/application/plugins/Chatlog.php @@ -9,6 +9,8 @@ use ManiaControl\Plugins\Plugin; * ManiaControl Chatlog Plugin * * @author steeffeen + * @copyright ManiaControl Copyright © 2014 ManiaControl Team + * @license http://www.gnu.org/licenses/ GNU General Public License, Version 3 */ class ChatlogPlugin implements CallbackListener, Plugin { /** diff --git a/application/plugins/CustomVotes.php b/application/plugins/CustomVotes.php index 40c528cb..43ee9352 100644 --- a/application/plugins/CustomVotes.php +++ b/application/plugins/CustomVotes.php @@ -30,9 +30,11 @@ use Maniaplanet\DedicatedServer\Xmlrpc\Exception; /** - * ManiaControl Chat-Message Plugin + * ManiaControl Custom-Votes Plugin * * @author kremsy and steeffeen + * @copyright ManiaControl Copyright © 2014 ManiaControl Team + * @license http://www.gnu.org/licenses/ GNU General Public License, Version 3 */ class CustomVotesPlugin implements CommandListener, CallbackListener, ManialinkPageAnswerListener, TimerListener, Plugin { /** diff --git a/application/plugins/Dedimania/Dedimania.php b/application/plugins/Dedimania/Dedimania.php index 5594b41c..6496c351 100644 --- a/application/plugins/Dedimania/Dedimania.php +++ b/application/plugins/Dedimania/Dedimania.php @@ -16,6 +16,13 @@ use ManiaControl\Players\Player; use ManiaControl\Players\PlayerManager; use ManiaControl\Plugins\Plugin; +/** + * ManiaControl Dedimania Plugin + * + * @author kremsy and steeffeen + * @copyright ManiaControl Copyright © 2014 ManiaControl Team + * @license http://www.gnu.org/licenses/ GNU General Public License, Version 3 + */ class Dedimania implements CallbackListener, TimerListener, Plugin { /** * Constants diff --git a/application/plugins/Dedimania/DedimaniaData.php b/application/plugins/Dedimania/DedimaniaData.php index 7d39b2c3..16b86ff7 100644 --- a/application/plugins/Dedimania/DedimaniaData.php +++ b/application/plugins/Dedimania/DedimaniaData.php @@ -1,18 +1,15 @@