Package-level declarations

Types

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

Marks a class as a LunaticChat command.

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class Permission(val value: KClass<out LunaticChatPermissionNode>)

Restricts command execution to senders with the specified permission.

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class PlayerOnly

Restricts command execution to players only. Console execution will be rejected with an appropriate message.