public function addOp($name) { $this->operators->set(strtolower($name), true); if (($player = $this->getPlayerExact($name)) !== null) { $player->recalculatePermissions(); } $this->operators->save(true); }