mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-04 00:59:51 +00:00
Update PlayerPreLoginEvent documentation (#4940)
Removed outdated documentation that was very misleading. Replaced with better documentation that accurately describes how to cancel the event.
This commit is contained in:
parent
6bea2961d9
commit
f924208881
@ -31,7 +31,7 @@ use function count;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Called when a player connects to the server, prior to authentication taking place.
|
* Called when a player connects to the server, prior to authentication taking place.
|
||||||
* Cancelling this event will cause the player to be disconnected with the kick message set.
|
* Set a kick reason to cancel the event and disconnect the player with the kick message set.
|
||||||
*
|
*
|
||||||
* This event should be used to decide if the player may continue to login to the server. Do things like checking
|
* This event should be used to decide if the player may continue to login to the server. Do things like checking
|
||||||
* bans, whitelisting, server-full etc here.
|
* bans, whitelisting, server-full etc here.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user