@Documented @Retention(value=RUNTIME) @Target(value=TYPE) public @interface CommandDesc
Modifier and Type | Required Element and Description |
---|---|
String |
name
The actual command that can be typed in
|
Modifier and Type | Optional Element and Description |
---|---|
String[] |
aliases
The commands that can also be typed in to execute the same command
|
String |
permission
The required permission to execute the command
|
int |
priority
The priority of the command, which is used for conflicts between command names
|
public abstract int priority
public abstract String permission
Copyright © 2016. All rights reserved.