Added commanddescriptions to plugins.

This commit is contained in:
Max Klaversma authored and Steffen Schröder committed 2014-05-01 17:36:09 +02:00
1 parent d2021d689e
commit 9653658f06
6 files changed
+26 -28

No files matched your search

+2 -2
View File
@@ -98,8 +98,8 @@ class ServerRankingPlugin implements Plugin, CallbackListener, CommandListener {
$this->maniaControl->callbackManager->registerCallbackListener(Callbacks::ENDMAP, $this, 'handleEndMap');
//Register CommandListener
$this->maniaControl->commandManager->registerCommandListener('rank', $this, 'command_showRank', false);
$this->maniaControl->commandManager->registerCommandListener('nextrank', $this, 'command_nextRank', false);
$this->maniaControl->commandManager->registerCommandListener('rank', $this, 'command_showRank', false, 'Shows your current serverrank.');
$this->maniaControl->commandManager->registerCommandListener('nextrank', $this, 'command_nextRank', false, 'Shows the person in front of you in the serverranking.');
$this->resetRanks(); //TODO only update records count
}