public static enum NBTProxy.Permissions extends java.lang.Enum<NBTProxy.Permissions>
/nbt command.| Enum Constant and Description | 
|---|
READ_BLOCK
Required for executing:
 
      
/nbt get block
  | 
READ_ENTITY
Required for executing:
 
      
/nbt get entity
     /nbt get player <name>
  | 
READ_FILE
Required for executing:
 
      
/nbt get file <path>
  | 
READ_ITEM
Required for executing:
 
      
/nbt get item
  | 
WRITE_BLOCK
Required for executing:
 
      
/nbt set block <nbt-data>
     /nbt write block <nbt-data>
     /nbt add block <nbt-data>
  | 
WRITE_ENTITY
Required for executing:
 
      
/nbt set entity <nbt-data>
     /nbt write entity <nbt-data>
     /nbt add entity <nbt-data>
     /nbt set player <name> <nbt-data>
     /nbt write player <name> <nbt-data>
     /nbt add player <name> <nbt-data>
  | 
WRITE_FILE
Required for executing:
 
      
/nbt set file <path> <nbt-data>
     /nbt write file <path> <nbt-data>
     /nbt add file <path> <nbt-data>
  | 
WRITE_ITEM
Required for executing:
 
      
/nbt set item <nbt-data>
     /nbt write item <nbt-data>
     /nbt add item <nbt-data>
  | 
| Modifier and Type | Field and Description | 
|---|---|
java.lang.String | 
CONFIG_KEY
The relative path from 'enabled-commands' to the config key for setting the
 enabled state of the query this permission guards. 
 | 
int | 
PERM_ENABLED_FLAG
A unique key for use in an  
'enabled' bit set. | 
java.lang.String | 
PERMISSION
The full name of the permission that a  
Permissible
 must have to execute the query this permission guards. | 
| Modifier and Type | Method and Description | 
|---|---|
static NBTProxy.Permissions | 
get(java.lang.String queryType,
   java.lang.String queryTarget)
Lookup a permission based on the  
queryType and queryTarget | 
static NBTProxy.Permissions | 
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. 
 | 
static NBTProxy.Permissions[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final NBTProxy.Permissions READ_ITEM
/nbt get itempublic static final NBTProxy.Permissions READ_BLOCK
/nbt get blockpublic static final NBTProxy.Permissions READ_ENTITY
/nbt get entity/nbt get player <name>public static final NBTProxy.Permissions READ_FILE
/nbt get file <path>public static final NBTProxy.Permissions WRITE_ITEM
/nbt set item <nbt-data>/nbt write item <nbt-data>/nbt add item <nbt-data>public static final NBTProxy.Permissions WRITE_BLOCK
/nbt set block <nbt-data>/nbt write block <nbt-data>/nbt add block <nbt-data>public static final NBTProxy.Permissions WRITE_ENTITY
/nbt set entity <nbt-data>/nbt write entity <nbt-data>/nbt add entity <nbt-data>/nbt set player <name> <nbt-data>/nbt write player <name> <nbt-data>/nbt add player <name> <nbt-data>public static final NBTProxy.Permissions WRITE_FILE
/nbt set file <path> <nbt-data>/nbt write file <path> <nbt-data>/nbt add file <path> <nbt-data>public final int PERM_ENABLED_FLAG
'enabled' bit set.public final java.lang.String PERMISSION
Permissible
 must have to execute the query this permission guards.public final java.lang.String CONFIG_KEY
public static NBTProxy.Permissions[] values()
for (NBTProxy.Permissions c : NBTProxy.Permissions.values()) System.out.println(c);
public static NBTProxy.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 static NBTProxy.Permissions get(java.lang.String queryType, java.lang.String queryTarget)
queryType and queryTargetqueryType - the type of the query. One of get, read,
                  set, write, and addqueryTarget - the target of the query. One of item, block,
                    entity, and filepermission or null if and
         unknown queryType or queryTarget