Command

@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class Command(val name: String, val aliases: Array<String> = [], val description: String = "", val usage: String = "", val permission: String = "")

Mark this class as a command

Properties

Link copied to clipboard

The aliases of the command. This is the other names that players can use to execute the same command.

Link copied to clipboard

The description of the command. This currently has no effect.

Link copied to clipboard

The name of the command. This is the name that players will use when executing the command. eg. /frost

Link copied to clipboard

The permission required to execute the command.

Link copied to clipboard

The usage of the command. This currently has no effect.