PlotSquared/src/main/java/com/intellectualsites/commands/CommandDeclaration.java

29 lines
689 B
Java
Raw Normal View History

package com.intellectualsites.commands;
import com.intellectualcrafters.plot.commands.CommandCategory;
2015-07-27 15:10:14 +02:00
import com.intellectualcrafters.plot.commands.RequiredType;
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();
String[] aliases() default "";
String permission() default "";
String usage() default "";
String description() default "";
2015-07-27 15:10:14 +02:00
RequiredType requiredType() default RequiredType.NONE;
CommandCategory category();
}