vital
Toggle table of contents
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
vital
vital-commands
/
dev.vitalframework.commands
/
VitalCommand
/
Info
Info
@
Component
@
Target
(
allowedTargets
=
[
AnnotationTarget.CLASS
]
)
annotation class
Info
(
val
name
:
String
,
val
description
:
String
=
"A Vital Command"
,
val
aliases
:
Array
<
String
>
=
[]
,
val
usage
:
String
=
""
,
val
permission
:
String
=
""
,
val
playerOnly
:
Boolean
=
true
)
Defines the metadata info for a
VitalCommand
.
Members
Properties
aliases
Link copied to clipboard
val
aliases
:
Array
<
String
>
description
Link copied to clipboard
val
description
:
String
name
Link copied to clipboard
val
name
:
String
permission
Link copied to clipboard
val
permission
:
String
player
Only
Link copied to clipboard
val
playerOnly
:
Boolean
=
true
usage
Link copied to clipboard
val
usage
:
String