Struct managecraft::Client [−][src]
pub struct Client { pub url: String, pub port: u16, pub connection: Connection, }
Expand description
Client used to communicate with the Minecraft server
Fields
url: String
Url That connection
is pointing to
port: u16
Port that connection
is pointing to
connection: Connection
RCON Connection client uses to communicate with server
Implementations
Instantiates a new client for communicating with the minecraft server. This will also attempt to connect to the server
Executes an arbitrary command on the server
Broadcasts the message provided to the server
Auto Trait Implementations
impl !RefUnwindSafe for Client
impl !UnwindSafe for Client