Join the Discord and talk with me (Andrew Gazelka#0001
). I am very open to having people contribute. :)
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.
{
path: "{command idenitifier}",
// ...
}
where ...
represents other fields. For example GoTo
can be represented as
{
path: "goto",
location: {
x: 123,
y: 233,
z: 323
}
}
Look at the Command enum
. All
structs are deserialized with serde and are in the format one would expect given the struct.