PocketMine-MP 5.23.3 git-f7687af337d001ddbcc47b8e773f014a33faa662
|
Public Member Functions | |
__construct (Player $player, protected Translatable|string $joinMessage) | |
call () | |
getEventName () | |
getJoinMessage () | |
getPlayer () | |
setJoinMessage (Translatable|string $joinMessage) | |
Static Public Member Functions | |
static | hasHandlers () |
Protected Attributes | |
string | $eventName = null |
Player | $player |
Called when the player spawns in the world after logging in, when they first see the terrain.
Note: A lot of data is sent to the player between login and this event. Disconnecting the player during this event will cause this data to be wasted. Prefer disconnecting at login-time if possible to minimize bandwidth wastage.
Definition at line 36 of file PlayerJoinEvent.php.
pocketmine\event\player\PlayerJoinEvent::__construct | ( | Player | $player, |
protected Translatable|string | $joinMessage ) |
Definition at line 37 of file PlayerJoinEvent.php.
|
inherited |
pocketmine\event\player\PlayerJoinEvent::getJoinMessage | ( | ) |
Definition at line 48 of file PlayerJoinEvent.php.
|
inherited |
Definition at line 35 of file PlayerEvent.php.
|
staticinherited |
pocketmine\event\player\PlayerJoinEvent::setJoinMessage | ( | Translatable|string | $joinMessage | ) |
Definition at line 44 of file PlayerJoinEvent.php.
|
protectedinherited |
|
protectedinherited |
Definition at line 33 of file PlayerEvent.php.