began adminlists, severall design fixes

This commit is contained in:
kremsy authored and Steffen Schröder committed 2014-05-01 17:35:10 +02:00
1 parent 337e6e18f9
commit 7a15aef94d
8 files changed
+252 -73

No files matched your search

@@ -2,6 +2,7 @@
namespace ManiaControl\Players;
use ManiaControl\Admin\AdminLists;
use ManiaControl\Callbacks\CallbackListener;
use ManiaControl\Callbacks\CallbackManager;
use ManiaControl\Formatter;
@@ -33,6 +34,7 @@ class PlayerManager implements CallbackListener {
public $playerCommands = null;
public $playerDetailed = null;
public $playerList = null;
public $adminLists = null;
public $players = array();
/**
@@ -53,6 +55,7 @@ class PlayerManager implements CallbackListener {
$this->playerActions = new PlayerActions($maniaControl);
$this->playerDetailed = new PlayerDetailed($maniaControl);
$this->playerList = new PlayerList($this->maniaControl);
$this->adminLists = new AdminLists($this->maniaControl);
// Init settings
$this->maniaControl->settingManager->initSetting($this, self::SETTING_JOIN_LEAVE_MESSAGES, true);