public function onRun($currentTick) { Server::getInstance()->broadcastTip(TextFormat::DARK_BLUE . "[HungerGames]" . TextFormat::WHITE . " Match will end in " . $this->countdownVal, $this->arena->getPlayers()); $this->countdownVal--; if ($this->countdownVal == 0) { $this->arena->onMatchEnd(); } }