Player

data class Player(val name: String, val uuid: UUID, val currentProxy: String, val currentServer: String)

Constructors

Link copied to clipboard
constructor(name: String, uuid: UUID, currentProxy: String, currentServer: String)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val uuid: UUID

Functions

Link copied to clipboard
fun connect(serverName: String)

Connects the player to a specific server.

Link copied to clipboard
fun kick(reason: String)

Kicks the player from the Network.

Link copied to clipboard
fun message(message: String)

Sends a message to the player.