Unsubscribe from a specific event.
Event name
Callback function
Subscribe to a specific event.
Event name
Callback function
Send custom message.
Custom message content.
Optional
options: { Other options.
Optional
batch?: booleanBatch processing of messages: If set to true
, the messages will be cached and sent together later.
Optional
entityEntity GUID: Specifies the entity that can receive the message through the receive:message event.
Optional
messageMessage ID: Used to override messages with the same ID that have not been sent yet.
Synchronization frequency of player's movement. Default value is 150ms, the configurable range is 30ms to 150ms.