donation message fix + phpdoc plugins
This commit is contained in:
		
				
					committed by
					
						 Steffen Schröder
						Steffen Schröder
					
				
			
			
				
	
			
			
			
						parent
						
							8eb76f094b
						
					
				
				
					commit
					44c59b4cae
				
			| @@ -10,6 +10,8 @@ use Maniaplanet\DedicatedServer\Xmlrpc\Exception; | |||||||
|  * ManiaControl Chat-Message Plugin |  * ManiaControl Chat-Message Plugin | ||||||
|  * |  * | ||||||
|  * @author kremsy |  * @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 { | 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('bootme', $this, 'chat_bootme'); | ||||||
| 		$this->maniaControl->commandManager->registerCommandListener('ragequit', $this, 'chat_ragequit'); | 		$this->maniaControl->commandManager->registerCommandListener('ragequit', $this, 'chat_ragequit'); | ||||||
| 		$this->maniaControl->commandManager->registerCommandListener('rq', $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); | 		$this->maniaControl->settingManager->initSetting($this, self::SETTING_AFK_FORCE_SPEC, true); | ||||||
|  |  | ||||||
| 		return true; | 		return true; | ||||||
|   | |||||||
| @@ -9,6 +9,8 @@ use ManiaControl\Plugins\Plugin; | |||||||
|  * ManiaControl Chatlog Plugin |  * ManiaControl Chatlog Plugin | ||||||
|  * |  * | ||||||
|  * @author steeffeen |  * @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 { | class ChatlogPlugin implements CallbackListener, Plugin { | ||||||
| 	/** | 	/** | ||||||
|   | |||||||
| @@ -30,9 +30,11 @@ use Maniaplanet\DedicatedServer\Xmlrpc\Exception; | |||||||
|  |  | ||||||
|  |  | ||||||
| /** | /** | ||||||
|  * ManiaControl Chat-Message Plugin |  * ManiaControl Custom-Votes Plugin | ||||||
|  * |  * | ||||||
|  * @author kremsy and steeffeen |  * @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 { | class CustomVotesPlugin implements CommandListener, CallbackListener, ManialinkPageAnswerListener, TimerListener, Plugin { | ||||||
| 	/** | 	/** | ||||||
|   | |||||||
| @@ -16,6 +16,13 @@ use ManiaControl\Players\Player; | |||||||
| use ManiaControl\Players\PlayerManager; | use ManiaControl\Players\PlayerManager; | ||||||
| use ManiaControl\Plugins\Plugin; | 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 { | class Dedimania implements CallbackListener, TimerListener, Plugin { | ||||||
| 	/** | 	/** | ||||||
| 	 * Constants | 	 * Constants | ||||||
|   | |||||||
| @@ -1,18 +1,15 @@ | |||||||
| <?php | <?php | ||||||
| /** |  | ||||||
|  * Dedimania DataStructure |  | ||||||
|  * |  | ||||||
|  * @author kremsy and steeffeen |  | ||||||
|  */ |  | ||||||
| namespace Dedimania; | namespace Dedimania; | ||||||
|  |  | ||||||
| use ManiaControl\ManiaControl; | use ManiaControl\ManiaControl; | ||||||
| use Maniaplanet\DedicatedServer\Structures\Version; | 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 { | class DedimaniaData { | ||||||
| 	public $game; | 	public $game; | ||||||
|   | |||||||
| @@ -1,12 +1,13 @@ | |||||||
| <?php | <?php | ||||||
| /** |  | ||||||
|  * Dedimania Player DataStructure |  | ||||||
|  * |  | ||||||
|  * @author kremsy and steeffeen |  | ||||||
|  */ |  | ||||||
| namespace Dedimania; | 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 { | class DedimaniaPlayer { | ||||||
| 	public $login = ''; | 	public $login = ''; | ||||||
| 	public $maxRank = -1; | 	public $maxRank = -1; | ||||||
|   | |||||||
| @@ -1,12 +1,13 @@ | |||||||
| <?php | <?php | ||||||
| /** |  | ||||||
|  * Dedimania Record DataStructure |  | ||||||
|  * |  | ||||||
|  * @author kremsy and steeffeen |  | ||||||
|  */ |  | ||||||
| namespace Dedimania; | 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; | use ManiaControl\Formatter; | ||||||
|  |  | ||||||
| class RecordData { | class RecordData { | ||||||
|   | |||||||
| @@ -19,9 +19,11 @@ use ManiaControl\Players\PlayerManager; | |||||||
| use ManiaControl\Plugins\Plugin; | 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 { | class DonationPlugin implements CallbackListener, CommandListener, Plugin { | ||||||
| 	/** | 	/** | ||||||
|   | |||||||
| @@ -19,7 +19,9 @@ use ManiaControl\Settings\SettingManager; | |||||||
| /** | /** | ||||||
|  * ManiaControl Karma Plugin |  * 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 { | class KarmaPlugin implements CallbackListener, TimerListener, Plugin { | ||||||
| 	/** | 	/** | ||||||
|   | |||||||
| @@ -19,6 +19,8 @@ use ManiaControl\Plugins\Plugin; | |||||||
|  * ManiaControl Local Records Plugin |  * ManiaControl Local Records Plugin | ||||||
|  * |  * | ||||||
|  * @author steeffeen |  * @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 { | class LocalRecordsPlugin implements CallbackListener, TimerListener, Plugin { | ||||||
| 	/** | 	/** | ||||||
|   | |||||||
| @@ -12,6 +12,13 @@ use ManiaControl\Statistics\StatisticCollector; | |||||||
| use ManiaControl\Statistics\StatisticManager; | use ManiaControl\Statistics\StatisticManager; | ||||||
| use Maniaplanet\DedicatedServer\Structures\AbstractStructure; | 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 { | class ServerRankingPlugin implements Plugin, CallbackListener, CommandListener { | ||||||
| 	/** | 	/** | ||||||
| 	 * Constants | 	 * Constants | ||||||
|   | |||||||
| @@ -22,7 +22,9 @@ use ManiaControl\Maps\Map; | |||||||
| /** | /** | ||||||
|  * ManiaControl Widget Plugin |  * 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 { | class WidgetPlugin implements CallbackListener, TimerListener, Plugin { | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user