SimpleCommand

A command styled after the convention popularised by Bukkit and BungeeCord.

Functions

Link copied to clipboard
abstract fun execute(sender: Sender, args: Array<String>)

Invokes this command with the given sender and args.

Link copied to clipboard
open fun hasPermission(sender: Sender, args: Array<String>): 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: Array<String>): List<String>

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