McProxyLib

interface McProxyLib : McLib

Represents a Minecraft proxy library.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract val configsFolder: File
Link copied to clipboard
Link copied to clipboard

Gets a collection of all players currently connected to the proxy.

Link copied to clipboard
abstract val port: Int

Gets the bound port of the proxy server.

Link copied to clipboard

Gets registered backend servers.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun createLogger(name: String): McLogger
Link copied to clipboard
abstract fun getPlayerById(playerId: UUID): McProxyPlayer?

Gets a proxy player by their unique identifier.

Link copied to clipboard
abstract fun getPlayerByInstance(instance: Any): McProxyPlayer

Gets a proxy player by their server-specific instance.

Link copied to clipboard
abstract fun getPlayerByName(name: String): McProxyPlayer?

Gets a proxy player by their name.

Link copied to clipboard

Gets server information by server name.

Link copied to clipboard

Gets server information by server-specific instance.