begin Maplist widget

This commit is contained in:
kremsy
2013-12-14 22:00:59 +01:00
parent a1104c327a
commit 6bb13fb2df
7 changed files with 214 additions and 6 deletions

View File

@ -2,6 +2,7 @@
namespace ManiaControl\Players;
use FML\Controls\Quad;
use ManiaControl\ManiaControl;
use ManiaControl\Admin\AuthenticationManager;
use ManiaControl\Commands\CommandListener;
@ -25,7 +26,7 @@ class PlayerCommands implements CommandListener {
public function __construct(ManiaControl $maniaControl) {
$this->maniaControl = $maniaControl;
// Register for commands
// Register for admin commands
$this->maniaControl->commandManager->registerCommandListener('teambalance', $this, 'command_TeamBalance',true);
$this->maniaControl->commandManager->registerCommandListener('autoteambalance', $this, 'command_TeamBalance',true);
$this->maniaControl->commandManager->registerCommandListener('kick', $this, 'command_Kick',true);