InvocableCommand

A command that may be invoked with arbitrary arguments.

Parameters

A

the type of the arguments

Inheritors

Functions

Link copied to clipboard
abstract fun execute(sender: Sender, args: A)

Invokes this command with the given sender and args.

Link copied to clipboard
open fun hasPermission(sender: Sender, args: A): Boolean

Checks if the given sender has permission to execute this command with the given args.

Link copied to clipboard
open fun suggest(sender: Sender, args: A): List<String>

Gets the list of suggestions for the given sender and the given args.