execute

abstract fun execute(source: McCommandSource, arguments: Array<String>)

Invoked when a McCommandSource executes the command.

Parameters

source

The command source that is executing the command.

arguments

An array of command arguments provided when executing the command.