Plex/src/main/java/dev/plex/command/annotation/CommandPermissions.java

14 lines
397 B
Java
Raw Normal View History

2021-01-03 07:21:15 +00:00
package dev.plex.command.annotation;
2020-10-31 04:51:22 +00:00
2021-01-03 07:21:15 +00:00
import dev.plex.command.source.RequiredCommandSource;
import dev.plex.rank.enums.Rank;
2022-01-04 03:04:39 +00:00
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
2020-10-31 04:51:22 +00:00
@Retention(RetentionPolicy.RUNTIME)
public @interface CommandPermissions
{
Rank level() default Rank.IMPOSTOR;
2020-11-06 01:29:38 +00:00
RequiredCommandSource source() default RequiredCommandSource.ANY;
2020-10-31 04:51:22 +00:00
}