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
|
|
|
|
2020-11-02 00:06:08 +00:00
|
|
|
RequiredCommandSource source() default RequiredCommandSource.ANY;
|
2020-10-31 04:51:22 +00:00
|
|
|
}
|