lot of small minor changes

This commit is contained in:
Beu 2021-10-26 22:08:34 +02:00
parent b21dc97e79
commit 2fa810053a
6 changed files with 6 additions and 7 deletions

View File

@ -14,7 +14,7 @@ use \ManiaControl\Logger;
/** /**
* Plugin Description * Plugin Description
* *
* @author Template Author * @author Beu
* @version 1.0 * @version 1.0
*/ */
class GuestlistManager implements CommandListener, Plugin { class GuestlistManager implements CommandListener, Plugin {

View File

@ -84,7 +84,7 @@ class SimpleChatColorer implements CallbackListener, Plugin {
$this->maniaControl->getCallbackManager()->registerCallbackListener(SettingManager::CB_SETTING_CHANGED, $this, 'updateSettings'); $this->maniaControl->getCallbackManager()->registerCallbackListener(SettingManager::CB_SETTING_CHANGED, $this, 'updateSettings');
$this->maniaControl->getSettingManager()->initSetting($this, self::SETTING_CHATDAMDMINCOLORER_USEADMINCOLOR, true, "Use Admin Color of Maniacontrol settings"); $this->maniaControl->getSettingManager()->initSetting($this, self::SETTING_CHATDAMDMINCOLORER_USEADMINCOLOR, true, "Use Admin Color of Maniacontrol settings");
$this->maniaControl->getSettingManager()->initSetting($this, self::SETTING_CHATDAMDMINCOLORER_NUMBEROFGROUPS, 1, "Nomber of groups to setup"); $this->maniaControl->getSettingManager()->initSetting($this, self::SETTING_CHATDAMDMINCOLORER_NUMBEROFGROUPS, 1, "Number of groups to setup");
$this->InitGroupsSettings(); $this->InitGroupsSettings();
@ -174,4 +174,3 @@ class SimpleChatColorer implements CallbackListener, Plugin {
$this->maniaControl->getCallbackManager()->unregisterCallbackListening('ManiaPlanet.OnPlayerChat', $this); $this->maniaControl->getCallbackManager()->unregisterCallbackListening('ManiaPlanet.OnPlayerChat', $this);
} }
} }

View File

@ -166,4 +166,4 @@ class SimpleSkinsRemover implements CallbackListener, CommandListener, Plugin {
$this->maniaControl->getChat()->sendSuccess(' Skins are disabled on this server to improve the quality of life of all players', $player); $this->maniaControl->getChat()->sendSuccess(' Skins are disabled on this server to improve the quality of life of all players', $player);
} }
} }
} }

View File

@ -673,4 +673,4 @@ class MatchManagerGSheet implements CallbackListener, CommandListener, Plugin {
$asyncHttpRequest->postData(1000); $asyncHttpRequest->postData(1000);
} }
} }
} }

View File

@ -371,4 +371,4 @@ class MatchManagerPlayersPause implements ManialinkPageAnswerListener, CommandLi
$this->MLPauseAsked = $MLPauseAsked; $this->MLPauseAsked = $MLPauseAsked;
$this->MLPauseNotAsked = $MLPauseNotAsked; $this->MLPauseNotAsked = $MLPauseNotAsked;
} }
} }

View File

@ -350,4 +350,4 @@ class MatchManagerReadyButton implements ManialinkPageAnswerListener, CommandLis
$this->MLisReady = $MLisReady; $this->MLisReady = $MLisReady;
$this->MLisNotReady = $MLisNotReady; $this->MLisNotReady = $MLisNotReady;
} }
} }