execute

abstract fun execute(sender: Sender, args: A)

Invokes this command with the given sender and args.

This will be called by the command manager when this command is invoked.

A command is defined as being invoked when a Sender executes it through some medium, such as typing it out in chat, or in the console.

Parameters

sender

the sender who ran this command

args

the arguments provided by the sender