PHPDoc improvements
Replaced deprecated method call
This commit is contained in:
@ -96,7 +96,7 @@ class ChatMessagePlugin implements CommandListener, Plugin {
|
||||
$this->maniaControl->commandManager->registerCommandListener('afk', $this, 'chat_afk', false, 'Writes an away from keyboard message to the chat.');
|
||||
$this->maniaControl->commandManager->registerCommandListener(array('bm', 'bootme'), $this, 'chat_bootme', false, 'Gets you away from this server quickly!');
|
||||
$this->maniaControl->commandManager->registerCommandListener(array('rq', 'ragequit'), $this, 'chat_ragequit', false, 'Gets you away from this server in rage!');
|
||||
//TODO block commandlistener for muted people
|
||||
//TODO block command listener for muted people
|
||||
$this->maniaControl->settingManager->initSetting($this, self::SETTING_AFK_FORCE_SPEC, true);
|
||||
|
||||
return true;
|
||||
|
@ -101,6 +101,8 @@ class ChatlogPlugin implements CallbackListener, Plugin {
|
||||
|
||||
/**
|
||||
* Build the Log File Name and Folder
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
private function buildLogFileName() {
|
||||
$folderName = $this->maniaControl->settingManager->getSettingValue($this, self::SETTING_FOLDERNAME);
|
||||
@ -132,6 +134,7 @@ class ChatlogPlugin implements CallbackListener, Plugin {
|
||||
}
|
||||
}
|
||||
$this->fileName = $folderDir . DIRECTORY_SEPARATOR . $fileName;
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -108,7 +108,7 @@ class DonationPlugin implements CallbackListener, CommandListener, Plugin {
|
||||
// Register for commands
|
||||
$this->maniaControl->commandManager->registerCommandListener('donate', $this, 'command_Donate', false, 'Donate some planets to the server.');
|
||||
$this->maniaControl->commandManager->registerCommandListener('pay', $this, 'command_Pay', true, 'Pays planets from the server to a player.');
|
||||
$this->maniaControl->commandManager->registerCommandListener('planets', $this, 'command_GetPlanets', true, 'Checks the planets-balance of the server.');
|
||||
$this->maniaControl->commandManager->registerCommandListener(array('getplanets', 'planets'), $this, 'command_GetPlanets', true, 'Checks the planets-balance of the server.');
|
||||
$this->maniaControl->commandManager->registerCommandListener('topdons', $this, 'command_TopDons', false, 'Provides an overview of who donated the most planets.');
|
||||
|
||||
// Register for callbacks
|
||||
|
Reference in New Issue
Block a user