RawCommand

A command that passes its arguments as a single string, without processing the input.

This is useful for attaching external command frameworks to Krypton, and allowing them to do their own processing.

Functions

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

Invokes this command with the given sender and args.

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

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