2020-11-03 00:19:26 +00:00
|
|
|
package me.totalfreedom.plex.command.annotation;
|
2020-10-31 04:51:22 +00:00
|
|
|
|
2020-10-31 08:55:27 +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;
|
2020-11-02 00:06:08 +00:00
|
|
|
RequiredCommandSource source() default RequiredCommandSource.ANY;
|
2020-10-31 04:51:22 +00:00
|
|
|
}
|