2015-07-26 20:50:54 +02:00
|
|
|
package com.intellectualsites.commands;
|
|
|
|
|
|
|
|
import com.intellectualcrafters.plot.commands.CommandCategory;
|
2015-07-27 15:10:14 +02:00
|
|
|
import com.intellectualcrafters.plot.commands.RequiredType;
|
2015-07-26 20:50:54 +02:00
|
|
|
|
|
|
|
import java.lang.annotation.ElementType;
|
|
|
|
import java.lang.annotation.Retention;
|
|
|
|
import java.lang.annotation.RetentionPolicy;
|
|
|
|
import java.lang.annotation.Target;
|
|
|
|
|
|
|
|
@Target(ElementType.TYPE)
|
|
|
|
@Retention(RetentionPolicy.RUNTIME)
|
|
|
|
public @interface CommandDeclaration {
|
|
|
|
|
|
|
|
String command();
|
|
|
|
|
2015-07-27 19:28:39 +02:00
|
|
|
String[] aliases() default {};
|
2015-07-26 20:50:54 +02:00
|
|
|
|
|
|
|
String permission() default "";
|
|
|
|
|
|
|
|
String usage() default "";
|
|
|
|
|
|
|
|
String description() default "";
|
|
|
|
|
2015-07-27 15:10:14 +02:00
|
|
|
RequiredType requiredType() default RequiredType.NONE;
|
2015-07-26 20:50:54 +02:00
|
|
|
|
|
|
|
CommandCategory category();
|
|
|
|
}
|