Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 930 Bytes

CONTRIBUTING.md

File metadata and controls

32 lines (25 loc) · 930 Bytes

Join the Discord and talk with me (Andrew Gazelka#0001). I am very open to having people contribute. :)

Structure

Commands

All commands sent to SwamBot are created from a websocket using JSON message. Currently, the only full-command implementation is the Kotlin Minecraft mod, but any language supporting JSON and WebSockets should be able to control the bots.

Format

{
    path: "{command idenitifier}",
    // ...
}

where ... represents other fields. For example GoTo can be represented as

{
    path: "goto",
    location: {
        x: 123,
        y: 233,
        z: 323
    }
}

Command List

Look at the Command enum. All structs are deserialized with serde and are in the format one would expect given the struct.