-
Notifications
You must be signed in to change notification settings - Fork 12
Description
It is not an issue. It's a request. Can you add that on the join event?
$player = $event->getPlayer();
$name = $player->getName();
$text[0] = TextFormat::DARK_PURPLE . "##########################";
$text[1] = TextFormat::AQUA . "Welcome, $name";
$text[2] = TextFormat::LIGHT_PURPLE . "Website: " . TextFormat::WHITE . "Customizable via config";
$text[3] = TextFormat::LIGHT_PURPLE . "Vote Website " . TextFormat::WHITE . "Customizable via config";
$text[4] = TextFormat::AQUA . "To Login do /login . To Register do /register ";
$text[5] = TextFormat::DARK_PURPLE . "##########################";
$player->sendMessage($text[0]);
$player->sendMessage($text[1]);
$player->sendMessage($text[2]);
$player->sendMessage($text[3]);
$player->sendMessage($text[4]);
$player->sendMessage($text[5]);