Plex/src/main/java/me/totalfreedom/plex/command/annotations/CommandPermissions.java

14 lines
434 B
Java
Raw Normal View History

package me.totalfreedom.plex.command.annotations;
2020-10-31 04:51:22 +00:00
import me.totalfreedom.plex.command.source.RequiredCommandSource;
2020-10-31 04:51:22 +00:00
import me.totalfreedom.plex.rank.enums.Rank;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
@Retention(RetentionPolicy.RUNTIME)
public @interface CommandPermissions
{
Rank level() default Rank.IMPOSTOR;
RequiredCommandSource source() default RequiredCommandSource.ANY;
2020-10-31 04:51:22 +00:00
}