Added commanddescriptions to plugins.

This commit is contained in:
Max Klaversma
2014-05-01 01:50:52 +02:00
committed by Steffen Schröder
parent d2021d689e
commit 9653658f06
6 changed files with 26 additions and 28 deletions

View File

@ -103,8 +103,8 @@ class LocalRecordsPlugin implements CallbackListener, CommandListener, TimerList
$this->maniaControl->callbackManager->registerCallbackListener(CallbackManager::CB_TM_PLAYERCHECKPOINT, $this, 'handlePlayerCheckpoint');
$this->maniaControl->callbackManager->registerCallbackListener(SettingManager::CB_SETTINGS_CHANGED, $this, 'handleSettingsChanged');
$this->maniaControl->callbackManager->registerCallbackListener(CallbackManager::CB_MP_PLAYERMANIALINKPAGEANSWER, $this, 'handleManialinkPageAnswer');
$this->maniaControl->commandManager->registerCommandListener('records', $this, 'showRecordsList');
$this->maniaControl->commandManager->registerCommandListener('delrec', $this, 'deleteRecord', true);
$this->maniaControl->commandManager->registerCommandListener(array('recs', 'records'), $this, 'showRecordsList', false, 'Shows a list of Local Records on the current map.');
$this->maniaControl->commandManager->registerCommandListener('delrec', $this, 'deleteRecord', true, 'Removes a record from the database.');
return true;
}