public enum Permissions extends java.lang.Enum<Permissions>
Modifier and Type | Method and Description |
---|---|
java.lang.String |
get()
Returns the permission node in plugin.yml.
|
java.lang.String |
getPerm()
Same as
getPermission() . |
java.lang.String |
getPermission()
Returns the permission node in plugin.yml.
|
static Permissions |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Permissions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Permissions SERVER
public static final Permissions SERVERS
public static final Permissions NETWORK
public static final Permissions PLAYER_SELF
public static final Permissions PLAYER_OTHER
public static final Permissions SEARCH
public static final Permissions INGAME_SELF
public static final Permissions INGAME_OTHER
public static final Permissions REGISTER_SELF
public static final Permissions REGISTER_OTHER
public static final Permissions UNREGISTER_SELF
public static final Permissions UNREGISTER_OTHER
public static final Permissions INFO
public static final Permissions RELOAD
public static final Permissions DISABLE
public static final Permissions USERS
public static final Permissions DATA_BASE
public static final Permissions DATA_BACKUP
public static final Permissions DATA_RESTORE
public static final Permissions DATA_MOVE
public static final Permissions DATA_HOTSWAP
public static final Permissions DATA_CLEAR
public static final Permissions DATA_REMOVE_PLAYER
public static final Permissions DATA_REMOVE_SERVER
public static final Permissions DATA_EXPORT
public static final Permissions DATA_IMPORT
public static final Permissions JSON_SELF
public static final Permissions JSON_OTHER
public static final Permissions IGNORE_COMMAND_USE
public static final Permissions IGNORE_AFK
public static Permissions[] values()
for (Permissions c : Permissions.values()) System.out.println(c);
public static Permissions valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getPermission()
public java.lang.String getPerm()
getPermission()
.public java.lang.String get()