msp 0.1.2

Fast and lightweight Minecraft Server protocol client implemented in Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
use msp::{Conf, MspErr};

fn main() -> Result<(), MspErr> {
    // let server = Msp::create_with_port("play.elysion.network", 25565)?;
    let server = Conf::create_with_port("bteam.mineyourmind.net", 25565);

    println!("{}", server.get_netty_server_status()?);

    Ok(())
}