2016-03-02 19:28:01 +00:00
|
|
|
package me.totalfreedom.totalfreedommod.command;
|
2012-11-23 03:48:28 +00:00
|
|
|
|
|
|
|
import java.lang.annotation.Retention;
|
|
|
|
import java.lang.annotation.RetentionPolicy;
|
2016-03-06 15:56:15 +00:00
|
|
|
import me.totalfreedom.totalfreedommod.rank.Rank;
|
2012-11-23 03:48:28 +00:00
|
|
|
|
|
|
|
@Retention(RetentionPolicy.RUNTIME)
|
|
|
|
public @interface CommandPermissions
|
|
|
|
{
|
2015-11-22 18:26:47 +00:00
|
|
|
|
2020-08-04 22:16:11 +00:00
|
|
|
Rank level() default Rank.NON_OP;
|
2012-11-23 03:48:28 +00:00
|
|
|
|
2020-07-14 23:07:46 +00:00
|
|
|
SourceType source() default SourceType.BOTH;
|
2012-11-23 03:48:28 +00:00
|
|
|
|
2014-04-21 12:52:23 +00:00
|
|
|
boolean blockHostConsole() default false;
|
2019-12-12 22:02:33 +00:00
|
|
|
|
|
|
|
int cooldown() default 0;
|
2017-10-13 18:35:11 +00:00
|
|
|
}
|