When i use a command then i will got a message in the console. In the error says the console that a class not found is. The class is uCore\C but i havent a class with that name
PHP: if(strtolower($cmd->getName() === "nick")){ if($sender->isOP() || $sender->hasPermission("nick.cmd")){ if($sender instanceof Player){ $nick = $this->RandomNick(); $this->refreshNicks(); $config->set(strtolower($sender->getName()), $nick); $config->save(); $skins = []; $server = $this->getServer(); $players = $server->getOnlinePlayers(); $selected = $players[array_rand($players)]; $skin = $selected->getSkinData(); $skinId = $selected->getSkinId(); $sender->setSkin($skin, $skinId); $sender->sendMessage($this->prefix." Dein Nick ist ". C::GOLD.$nick.C::WHITE." mach ".C::GOLD."/unnick".C::WHITE." um dich zu entnicken"); $sender->sendMessage($this->prefix." Falls der Nick nicht kommt nochmal §6/nick machen"); } else { $sender->sendMessage("Benutze den command ingame"); } } }