Unsubscribe from a specific event.
Event name
Callback function
Subscribe to a specific event.
Event name
Callback function
Send custom message.
Custom message content.
Optionaloptions: { Other options.
Optionalbatch?: booleanBatch processing of messages: If set to true, the messages will be cached and sent together later.
OptionalentityEntity GUID: Specifies the entity that can receive the message through the receive:message event.
OptionalmessageMessage 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.