Currently the mod only sends minecraft chat JSON messages. This doesn't allow for more information like timestamps, server information or other non minecraft messages to the webclient.
So I want to create specific JSON format for websocket traffic. Where minecraft chat JSON messages would be wrapped in.
Something along the lines of
{
timestamp: 1234,
server: "servername",
type: "chatMessage",
minecraftVersion: "future proofing, won't do anything right now",
payload: {},
}
Currently the mod only sends minecraft chat JSON messages. This doesn't allow for more information like timestamps, server information or other non minecraft messages to the webclient.
So I want to create specific JSON format for websocket traffic. Where minecraft chat JSON messages would be wrapped in.
Something along the lines of