Add close packet in server player API doc (#347)
This commit is contained in:
parent
ff658b2234
commit
c1f008a3c9
1 changed files with 1 additions and 0 deletions
|
|
@ -107,6 +107,7 @@ Server event emissions:
|
|||
|
||||
A ServerPlayer instance also emits the following special events:
|
||||
* 'join' - the client is ready to recieve game packets after successful server-client handshake/encryption
|
||||
* 'close' - emitted when client quit the server
|
||||
* 'login' - emitted by client after the client has been authenticated by the server
|
||||
* 'spawn' - emitted after the client lets the server know that it has successfully spawned
|
||||
* 'packet' - Emitted for all packets received by client
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue