Skip to content
This repository was archived by the owner on Oct 18, 2025. It is now read-only.

3.2 Sending Messages

AlexTape edited this page May 11, 2015 · 2 revisions

Sending messages

Now you should be able to send different types of messages. Basically you just need the sendGameMessage() method to send your game states, changes or events.

ClientProvider.sendChatMessage(<STRING>);
ClientProvider.sendCustomMessage(<STRING>);
ClientProvider.sendErrorMessage(<STRING>);
ClientProvider.sendGameMessage(<STRING>);
ClientProvider.sendSystemMessage(<STRING>);

NOTE: You have to implement your own protocol. UniBoxClient will not parse or cast any message content.

Clone this wiki locally