All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cat.nyaa.nyaacore.cmdreceiver.SubCommand Maven / Gradle / Ivy

There is a newer version: 3.12.2
Show newest version
package cat.nyaa.nyaacore.cmdreceiver;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * SubCommands ARE CASE-SENSITIVE
 */
@Target({ElementType.METHOD, ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface SubCommand {
    String value() default "";

    String[] alias() default {};

    boolean isDefaultCommand() default false;

    String permission() default "";

    String tabCompleter() default "";
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy