TotalFreedomMod/src/main/java/me/totalfreedom/totalfreedommod/command/CommandPermissions.java

18 lines
430 B
Java
Raw Normal View History

package me.totalfreedom.totalfreedommod.command;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import me.totalfreedom.totalfreedommod.rank.Rank;
@Retention(RetentionPolicy.RUNTIME)
public @interface CommandPermissions
{
2020-07-14 23:07:46 +00:00
Rank level() default Rank.IMPOSTOR;
2020-07-14 23:07:46 +00:00
SourceType source() default SourceType.BOTH;
boolean blockHostConsole() default false;
2019-12-12 22:02:33 +00:00
int cooldown() default 0;
}