Console

private class Console(val server: MinecraftServer)

The console behind our source: the server's remote console, which on a hybrid hands plugins a Bukkit sender that keeps what they print. Built on first use — on a plain server a command rarely asks it anything. Its fields are written on the server thread and read after run's get(), which orders the two.

Constructors

Link copied to clipboard
constructor(server: MinecraftServer)

Properties

Link copied to clipboard
private var rcon: RconConsoleSource?
Link copied to clipboard

Set once something asked for a Bukkit sender: a plugin took the command, and may still be answering.

Link copied to clipboard
private val server: MinecraftServer

Functions

Link copied to clipboard
fun answer(m: Method, args: Array<out Any?>?): Any?
Link copied to clipboard

What reached the RCON buffer — a plugin's output, on a hybrid.