mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-27 23:56:44 +01:00
28 lines
617 B
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();
|
|
}
|