module

Minecraft::RCON::Commands

Mixin providing a high-level binding to RCON commands

Instance methods

deop(player : String)

Revokes operator status from the respective player

Source
kick(player : String, reason : String | Nil = nil)

Kicks the respective player

Source
locate(structure : String)

Locates the respective structure

Source
me(message : String)

Sends a message from RCON in first-person perspective

Source
mkop(player : String)

Makes the respective player an operator

Source
players

Returns the players on the server

Source
say(message : String)

Broadcast a message to all players

Source
seed

Returns the server seed

Source
send_url(player : String, url : String, text : String | Nil = nil)

Sends a URL to the specified player

Source
summon(entity_name : String, x : Float64, y : Float64, z : Float64)

Summons the respective entity at the given position

Source
teleport(player : String, x : Float64, y : Float64, z : Float64, pitch : Float64, yaw : Float64)

Teleports one player to a specific position, with orientation

Source
teleport(player : String, x : Float64, y : Float64, z : Float64)

Teleports one player to a specific position

Source
teleport(player : String, destination_player : String)

Teleports one player to the other player

Source
tell_raw(player : String, object)

Sends a message represented by a JSON object

Source