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

28 lines
617 B
Java

package com.intellectualsites.commands;
import com.intellectualcrafters.plot.commands.CommandCategory;
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 "";
Class requiredType() default Object.class;
CommandCategory category();
}