mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-23 21:56:45 +01:00
29 lines
691 B
Java
29 lines
691 B
Java
package com.plotsquared.general.commands;
|
|
|
|
import java.lang.annotation.ElementType;
|
|
import java.lang.annotation.Retention;
|
|
import java.lang.annotation.RetentionPolicy;
|
|
import java.lang.annotation.Target;
|
|
|
|
import com.intellectualcrafters.plot.commands.CommandCategory;
|
|
import com.intellectualcrafters.plot.commands.RequiredType;
|
|
|
|
@Target(ElementType.TYPE)
|
|
@Retention(RetentionPolicy.RUNTIME)
|
|
public @interface CommandDeclaration {
|
|
|
|
String command();
|
|
|
|
String[] aliases() default {};
|
|
|
|
String permission() default "";
|
|
|
|
String usage() default "";
|
|
|
|
String description() default "";
|
|
|
|
RequiredType requiredType() default RequiredType.NONE;
|
|
|
|
CommandCategory category();
|
|
}
|