TotalFreedomMod/src/main/java/me/totalfreedom/totalfreedommod/command/CommandPermissions.java
2019-12-12 17:02:33 -05:00

18 lines
384 B
Java

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
{
Rank level();
SourceType source();
boolean blockHostConsole() default false;
int cooldown() default 0;
}