receive chat message - MoSadie/EffectMC GitHub Wiki
Display a message in the chat screen, as if a player sent a message. This message is displayed in a similar fashion to the /tellraw command in that no player is visibly attached to the message.
Note for 1.19 and up: The received message will show up as a 'system' message and will have a grey mark next to it.
- Title (optional): An optional title to display on the key. Customize location and font using the T icon to the right of the text box.
- Minecraft IP (required): The address that the EffectMC mod is running on. (Example:
http://localhost:3000
) - Message: The message to show in chat.
Two seperate send chat message effects are triggered in this gif to give examples of receive a normal chat message and a message with custom formatting.
- Method: GET
- Endpoint:
/receivechat
- Parameters:
-
device
: Device ID (String) -
message
: The message to show in chat. (String)
-