donation message fix + phpdoc plugins

This commit is contained in:
kremsy 2014-04-13 12:00:08 +02:00 committed by Steffen Schröder
parent 8eb76f094b
commit 44c59b4cae
12 changed files with 52 additions and 25 deletions

View File

@ -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;

View File

@ -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 {
/**

View File

@ -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 {
/**

View File

@ -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

View File

@ -1,18 +1,15 @@
<?php
/**
* Dedimania DataStructure
*
* @author kremsy and steeffeen
*/
namespace Dedimania;
use ManiaControl\ManiaControl;
use Maniaplanet\DedicatedServer\Structures\Version;
/**
* Dedimania Structure
* ManiaControl Dedimania Plugin DataStructure
*
* @author kremsy & steeffeen
* @author kremsy and steeffeen
* @copyright ManiaControl Copyright © 2014 ManiaControl Team
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/
class DedimaniaData {
public $game;

View File

@ -1,12 +1,13 @@
<?php
/**
* Dedimania Player DataStructure
*
* @author kremsy and steeffeen
*/
namespace Dedimania;
/**
* ManiaControl Dedimania-Plugin Player DataStructure
*
* @author kremsy and steeffeen
* @copyright ManiaControl Copyright © 2014 ManiaControl Team
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/
class DedimaniaPlayer {
public $login = '';
public $maxRank = -1;

View File

@ -1,12 +1,13 @@
<?php
/**
* Dedimania Record DataStructure
*
* @author kremsy and steeffeen
*/
namespace Dedimania;
/**
* ManiaControl Dedimania-Plugin Record DataStructure
*
* @author kremsy and steeffeen
* @copyright ManiaControl Copyright © 2014 ManiaControl Team
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/
use ManiaControl\Formatter;
class RecordData {

View File

@ -19,9 +19,11 @@ use ManiaControl\Players\PlayerManager;
use ManiaControl\Plugins\Plugin;
/**
* Donation plugin
* ManiaControl Donation Plugin
*
* @author steeffeen & kremsy
* @author kremsy and steeffeen
* @copyright ManiaControl Copyright © 2014 ManiaControl Team
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/
class DonationPlugin implements CallbackListener, CommandListener, Plugin {
/**

View File

@ -19,7 +19,9 @@ use ManiaControl\Settings\SettingManager;
/**
* ManiaControl Karma Plugin
*
* @author steeffeen
* @author kremsy and steeffeen
* @copyright ManiaControl Copyright © 2014 ManiaControl Team
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/
class KarmaPlugin implements CallbackListener, TimerListener, Plugin {
/**

View File

@ -19,6 +19,8 @@ use ManiaControl\Plugins\Plugin;
* ManiaControl Local Records Plugin
*
* @author steeffeen
* @copyright ManiaControl Copyright © 2014 ManiaControl Team
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/
class LocalRecordsPlugin implements CallbackListener, TimerListener, Plugin {
/**

View File

@ -12,6 +12,13 @@ use ManiaControl\Statistics\StatisticCollector;
use ManiaControl\Statistics\StatisticManager;
use Maniaplanet\DedicatedServer\Structures\AbstractStructure;
/**
* ManiaControl ServerRanking Plugin
*
* @author kremsy
* @copyright ManiaControl Copyright © 2014 ManiaControl Team
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/
class ServerRankingPlugin implements Plugin, CallbackListener, CommandListener {
/**
* Constants

View File

@ -22,7 +22,9 @@ use ManiaControl\Maps\Map;
/**
* ManiaControl Widget Plugin
*
* @author kremsy
* @author steeffeen and kremsy
* @copyright ManiaControl Copyright © 2014 ManiaControl Team
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/
class WidgetPlugin implements CallbackListener, TimerListener, Plugin {