McProxyPlayer

Represents a Minecraft proxy player.

Properties

Link copied to clipboard
Link copied to clipboard
abstract val isOnline: Boolean
Link copied to clipboard
abstract val language: String
Link copied to clipboard
abstract val name: String
Link copied to clipboard

Gets the current server for the player.

Link copied to clipboard
abstract val uuid: UUID

Functions

Link copied to clipboard
abstract override fun <T> getInstance(): T

Gets the server's implementation instance for this player.

Link copied to clipboard
abstract fun getPermission(permission: String): PermissionTristate
Link copied to clipboard
abstract fun hasPermission(permission: String): Boolean
Link copied to clipboard
abstract fun kick(reason: McTextComponent)
Link copied to clipboard
open fun sendActionBar(text: String)
abstract fun sendActionBar(text: McTextComponent)
Link copied to clipboard
open fun sendMessage(text: String)
abstract fun sendMessage(text: McTextComponent)
Link copied to clipboard
abstract fun sendPacket(channel: String, data: ByteArray)