| PocketMine-MP 5.36.1 git-eaa7c4834c8fe2f379d24e7f0ee6cc63cfb18ccc
    | 
 Inheritance diagram for pocketmine\event\player\PlayerJoinEvent:
 Inheritance diagram for pocketmine\event\player\PlayerJoinEvent: Collaboration diagram for pocketmine\event\player\PlayerJoinEvent:
 Collaboration diagram for pocketmine\event\player\PlayerJoinEvent:| 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.