public function __construct(Server $server) { $this->server = $server; /** @var bool[] */ $this->commandConfig = $this->server->getProperty("commands"); $this->setDefaultCommands(); }