McCommandSource

Represents a source that can execute Minecraft commands.

Inheritors

Properties

Link copied to clipboard
abstract val language: String

Gets the current language of the chat holder.

Functions

Link copied to clipboard
abstract fun getPermission(permission: String): PermissionTristate

Gets the tristate of a specific permission.

Link copied to clipboard
abstract fun hasPermission(permission: String): Boolean

Checks if the holder has a specific permission.

Link copied to clipboard
open fun sendActionBar(text: String)
abstract fun sendActionBar(text: McTextComponent)

Sends an action bar message to the chat holder.

Link copied to clipboard
open fun sendMessage(text: String)
abstract fun sendMessage(text: McTextComponent)

Sends a chat message to the chat holder.