Skip to content

Create JSON format for websocket traffic allowing for more targeted traffic. #22

@creesch

Description

@creesch

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: {},
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions