public class Perm extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ADMIN |
static String |
BAN |
static String |
BYPASS_ALL |
static String |
BYPASS_BAN |
static String |
CHAT_CLEAR |
static String |
CHAT_LOCK |
static String |
CHAT_LOCK_BYPASS |
static String |
CHECK |
static String |
LANG |
static String |
MANAGE_CHEAT |
static String |
MOD |
static String |
PLATFORM_CHECKER |
static String |
RELOAD |
static String |
REPORT |
static String |
REPORT_WAIT |
static String |
SHOW_ALERT |
static String |
SHOW_REPORT |
static String |
UNBAN |
static String |
VERIF |
Constructor and Description |
---|
Perm() |
Modifier and Type | Method and Description |
---|---|
static @Nullable PermissionChecker |
getActiveChecker() |
static boolean |
hasPerm(CommandSender sender,
String perm) |
static boolean |
hasPerm(NegativityPlayer np,
String perm) |
static void |
init() |
static void |
registerChecker(String checkerId,
PermissionChecker checker) |
public static final String ADMIN
public static final String CHECK
public static final String CHAT_CLEAR
public static final String CHAT_LOCK
public static final String CHAT_LOCK_BYPASS
public static final String SHOW_ALERT
public static final String SHOW_REPORT
public static final String VERIF
public static final String MANAGE_CHEAT
public static final String RELOAD
public static final String REPORT_WAIT
public static final String REPORT
public static final String BAN
public static final String UNBAN
public static final String MOD
public static final String LANG
public static final String BYPASS_ALL
public static final String BYPASS_BAN
public static final String PLATFORM_CHECKER
public static boolean hasPerm(CommandSender sender, String perm)
public static boolean hasPerm(NegativityPlayer np, String perm)
public static @Nullable PermissionChecker getActiveChecker()
public static void registerChecker(String checkerId, PermissionChecker checker)
public static void init()