Hello Gusy " How To Send Player Popup Number Kills ? Example : $kills = ? $player->sendtip("Kills : $kills");
You can either save the amount of kills in a config PHP: public $config;// On Enable$this->config = new Config($this->getDataFolder()."config.yml", Config::YAML);// On kill$this->config->setNested($playername . ".kills", $this->config->getNested($playername . ".kills") + 1);$this->config->save(); // Important!// On Command$kills = $this->config->getNested($playername . ".kills");$sender->sendMessage("Kills: $kills"); or save them in a database using MySQL, SQL, or anything else(Won't put a code here) Like if I helped
I said both is useable. Tho, MySQL requires the knowledge on how to use it, and of course, a database.