class

Minecraft::RCON::Client

Inherits Minecraft::RCON::Commands < Reference < Object

A client for running RCON commands on a Minecraft server.

Constructors

new(ip, port)

Creates a new Client bound to the given ip on port.

Source

Class methods

connect(ip, port, password)

Connects to the server at ip and port, and logs in with password

Source

Instance methods

close

Closes the connection

Source
execute(command : String)

Executes the given command on the server. You must be logged in first to use this method.

Source
execute(command : String, *args)

Executes the given command on the server. You must be logged in first to use this method.

Source
login(password)

Logs in to the bound Minecraft server with the given password.

Source

Nested types