How do i make my server notify who left the game pocketmine dosent notify i tried PHP: case player.quit this->api->chat->broadcast("data->['player'] left the game") doesent work
PHP: case 'player.quit':$issuer = $data['player'];$username = $issuer-> username;$this->api->chat->broadcast("$username Has Left The Game"); break;
I just changed the message to follow with vanilla PHP: $this->api->chat->broadcast("<server> ".$username." has left the game."); //follows vanilla theme