Package | Description |
---|---|
org.bukkit.permissions |
Classes dedicated to providing binary state properties to players.
|
org.bukkit.plugin |
Classes specifically relating to loading software modules at runtime.
|
org.bukkit.util.permissions |
Static methods for miscellaneous
permission functionality. |
Modifier and Type | Field | Description |
---|---|---|
static PermissionDefault |
Permission.DEFAULT_PERMISSION |
Modifier and Type | Method | Description |
---|---|---|
static PermissionDefault |
PermissionDefault.getByName(java.lang.String name) |
Looks up a PermissionDefault by name
|
PermissionDefault |
Permission.getDefault() |
Gets the default value of this permission.
|
static PermissionDefault |
PermissionDefault.valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static PermissionDefault[] |
PermissionDefault.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method | Description |
---|---|---|
static Permission |
Permission.loadPermission(java.lang.String name,
java.util.Map<?,?> data,
PermissionDefault def,
java.util.List<Permission> output) |
Loads a Permission from a map of data, usually used from retrieval from
a yaml file.
|
static java.util.List<Permission> |
Permission.loadPermissions(java.util.Map<?,?> data,
java.lang.String error,
PermissionDefault def) |
Loads a list of Permissions from a map of data, usually used from
retrieval from a yaml file.
|
void |
Permission.setDefault(PermissionDefault value) |
Sets the default value of this permission.
|
Constructor | Description |
---|---|
Permission(java.lang.String name,
java.lang.String description,
PermissionDefault defaultValue) |
|
Permission(java.lang.String name,
java.lang.String description,
PermissionDefault defaultValue,
java.util.Map<java.lang.String,java.lang.Boolean> children) |
|
Permission(java.lang.String name,
PermissionDefault defaultValue) |
|
Permission(java.lang.String name,
PermissionDefault defaultValue,
java.util.Map<java.lang.String,java.lang.Boolean> children) |
Modifier and Type | Method | Description |
---|---|---|
PermissionDefault |
PluginDescriptionFile.getPermissionDefault() |
Gives the default
default state of
permissions registered for the plugin. |
Modifier and Type | Method | Description |
---|---|---|
static Permission |
DefaultPermissions.registerPermission(java.lang.String name,
java.lang.String desc,
PermissionDefault def) |
|
static Permission |
DefaultPermissions.registerPermission(java.lang.String name,
java.lang.String desc,
PermissionDefault def,
java.util.Map<java.lang.String,java.lang.Boolean> children) |
|
static Permission |
DefaultPermissions.registerPermission(java.lang.String name,
java.lang.String desc,
PermissionDefault def,
java.util.Map<java.lang.String,java.lang.Boolean> children,
Permission parent) |
|
static Permission |
DefaultPermissions.registerPermission(java.lang.String name,
java.lang.String desc,
PermissionDefault def,
Permission parent) |
Copyright © 2018. All rights reserved.