diff options
Diffstat (limited to 'EssentialsExtra/src')
-rw-r--r-- | EssentialsExtra/src/net/ess3/extra/AnnotatedCommand.java | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/EssentialsExtra/src/net/ess3/extra/AnnotatedCommand.java b/EssentialsExtra/src/net/ess3/extra/AnnotatedCommand.java new file mode 100644 index 000000000..258b53bb5 --- /dev/null +++ b/EssentialsExtra/src/net/ess3/extra/AnnotatedCommand.java @@ -0,0 +1,20 @@ +package net.ess3.extra; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + + +@Retention(RetentionPolicy.RUNTIME) +@Target(ElementType.TYPE) +public @interface AnnotatedCommand +{ + String description() default ""; + + String usage() default ""; + + String[] aliases() default + { + }; +} |