Event that is called when a client receives a packet with given name
name of the packet
Event that is called when server receives a packet with the specified name from client
name of the packet
Client object for player by player's entity id
array containing connected clients
array containing connected players uids
Converts item or block id from local to server value
Sends message to all players
text of the message
Sends packet object with specified name to all clients
Sends packet object with the specified name from client to server
Converts item or block id from server to local value
Generated using TypeDoc
New module to work with client and server packets in multiplayer.