public function removeOp($name) { $this->operators->remove(strtolower($name)); if (($player = $this->getPlayerExact($name)) !== null) { $player->recalculatePermissions(); } $this->operators->save(); }