public class Permissions
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Permissions.Permission
Permission List
|
Modifier and Type | Field and Description |
---|---|
static boolean |
allowOpPermissions |
static boolean |
debugMode |
static boolean |
denyOpPermissions |
Constructor and Description |
---|
Permissions() |
Modifier and Type | Method and Description |
---|---|
static boolean |
hasPermissions(Permissions.Permission permission,
java.lang.Object sender)
Check if a sender has command permissions
|
public static boolean allowOpPermissions
public static boolean denyOpPermissions
public static boolean debugMode
public static boolean hasPermissions(Permissions.Permission permission, java.lang.Object sender)
permission
- Permissionsender
- Sender of the command