Command.java 490 Bytes
Newer Older
Jaida Wu's avatar
Jaida Wu committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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";

    String description() default "No description specified";

    String[] aliases() default {};

    String permission() default "";
AnimeGitB's avatar
AnimeGitB committed
17
18
    
    String permissionTargeted() default "";
BaiSugar's avatar
BaiSugar committed
19

BaiSugar's avatar
BaiSugar committed
20
    boolean threading() default false;
Jaida Wu's avatar
Jaida Wu committed
21
}