Skip to content

Recieve Message Event

wagyourtail edited this page Jun 28, 2020 · 5 revisions

This event is fired when the client receives a message from the server.

This event passes some arguments to javascript which can be accessed by the ArrayList<String, Object> global called args. a list of these properties is:

  • message: 1.0.8+ TextHelper of the recieved message.
    • 1.0.7: string of recieved message.

changing the contents of the message will change the displayed message to chat. you can also cancel the message by making it null.