rkon
Yet another RCON library.
Features
- No dependencies except for
std. - Exposes the internal Packet structure, useful for writing a server.
Client
An example client is available under examples/client.rs which uses the Client type.
Server
Since an RCON server would be tightly integrated with the game server, it doesn't make sense to provide a generic solution. Instead, you can use this crate to encode packets:
// read from client
let mut resp_bytes = ;
stream.read.unwrap;
// decode
let request = decode;
// send response
let response = Packet ;
let encoded = response.encode;
// send to the client
stream.write_all.unwrap;
Credits
Thanks to the minecraft-client-rs project where some of this code is based off of. I took a different approach for the API, and plan on expanding support beyond just Minecraft.
License

This project is licensed under the GNU General Public License 3.