2022-04-20 12:21:38 +00:00
|
|
|
package emu.grasscutter.command;
|
|
|
|
|
|
|
|
import java.lang.annotation.Retention;
|
|
|
|
import java.lang.annotation.RetentionPolicy;
|
|
|
|
|
|
|
|
@Retention(RetentionPolicy.RUNTIME)
|
|
|
|
public @interface Command {
|
|
|
|
String label() default "";
|
|
|
|
|
|
|
|
String usage() default "No usage specified";
|
|
|
|
|
2022-05-08 06:44:14 +00:00
|
|
|
String description() default "commands.generic.no_description_specified";
|
2022-05-08 03:51:32 +00:00
|
|
|
|
2022-04-20 12:21:38 +00:00
|
|
|
String[] aliases() default {};
|
|
|
|
|
|
|
|
String permission() default "";
|
2022-05-04 06:32:09 +00:00
|
|
|
|
|
|
|
String permissionTargeted() default "";
|
2022-04-24 13:52:50 +00:00
|
|
|
|
2022-04-24 14:46:43 +00:00
|
|
|
boolean threading() default false;
|
2022-04-20 12:21:38 +00:00
|
|
|
}
|