CommandExecutor

class CommandExecutor(commandSender: CommandSender, args: Arguments)

Represents a command executor

Parameters

commandSender

The sender of the command

args

The arguments of the command

Constructors

Link copied to clipboard
fun CommandExecutor(commandSender: CommandSender, args: Arguments)

Functions

Link copied to clipboard
fun sendMessage(message: String)

Sends a message to the command sender

Properties

Link copied to clipboard
val args: Arguments
Link copied to clipboard
val commandSender: CommandSender
Link copied to clipboard
val console: ConsoleCommandSender?

Gets a console command sender from the command sender

Link copied to clipboard
val player: Player?

Gets a player from the command sender