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 | Method | Description |
---|---|---|
Permission |
Permission.addParent(String name,
boolean value) |
Adds this permission to the specified parent permission.
|
static Permission |
Permission.loadPermission(String name,
Map<?,?> data,
PermissionDefault def,
List<Permission> output) |
Loads a Permission from a map of data, usually used from retrieval from
a yaml file.
|
static Permission |
Permission.loadPermission(String name,
Map<String,Object> data) |
Loads a Permission from a map of data, usually used from retrieval from
a yaml file.
|
Modifier and Type | Method | Description |
---|---|---|
static List<Permission> |
Permission.loadPermissions(Map<?,?> data,
String error,
PermissionDefault def) |
Loads a list of Permissions from a map of data, usually used from
retrieval from a yaml file.
|
Modifier and Type | Method | Description |
---|---|---|
void |
Permission.addParent(Permission perm,
boolean value) |
Adds this permission to the specified parent permission.
|
boolean |
Permissible.hasPermission(Permission perm) |
Gets the value of the specified permission, if set.
|
boolean |
PermissibleBase.hasPermission(Permission perm) |
|
boolean |
Permissible.isPermissionSet(Permission perm) |
Checks if this object contains an override for the specified
Permission |
boolean |
PermissibleBase.isPermissionSet(Permission perm) |
|
void |
PermissionAttachment.setPermission(Permission perm,
boolean value) |
Sets a permission to the given value
|
void |
PermissionAttachment.unsetPermission(Permission perm) |
Removes the specified permission from this attachment.
|
Modifier and Type | Method | Description |
---|---|---|
static Permission |
Permission.loadPermission(String name,
Map<?,?> data,
PermissionDefault def,
List<Permission> output) |
Loads a Permission from a map of data, usually used from retrieval from
a yaml file.
|
Modifier and Type | Method | Description |
---|---|---|
Permission |
PluginManager.getPermission(String name) |
Gets a
Permission from its fully qualified name |
Permission |
SimplePluginManager.getPermission(String name) |
Modifier and Type | Method | Description |
---|---|---|
Set<Permission> |
PluginManager.getDefaultPermissions(boolean op) |
Gets the default permissions for the given op status
|
Set<Permission> |
SimplePluginManager.getDefaultPermissions(boolean op) |
|
List<Permission> |
PluginDescriptionFile.getPermissions() |
Gives the list of permissions the plugin will register at runtime,
immediately proceding enabling.
|
Set<Permission> |
PluginManager.getPermissions() |
Gets a set of all registered permissions.
|
Set<Permission> |
SimplePluginManager.getPermissions() |
Modifier and Type | Method | Description |
---|---|---|
void |
PluginManager.addPermission(Permission perm) |
Adds a
Permission to this plugin manager. |
void |
SimplePluginManager.addPermission(Permission perm) |
|
void |
SimplePluginManager.addPermission(Permission perm,
boolean dirty) |
Deprecated.
|
void |
PluginManager.recalculatePermissionDefaults(Permission perm) |
Recalculates the defaults for the given
Permission . |
void |
SimplePluginManager.recalculatePermissionDefaults(Permission perm) |
|
void |
PluginManager.removePermission(Permission perm) |
Removes a
Permission registration from this plugin manager. |
void |
SimplePluginManager.removePermission(Permission perm) |
Modifier and Type | Method | Description |
---|---|---|
static Permission |
DefaultPermissions.registerPermission(String name,
String desc) |
|
static Permission |
DefaultPermissions.registerPermission(String name,
String desc,
Permission parent) |
|
static Permission |
DefaultPermissions.registerPermission(String name,
String desc,
PermissionDefault def) |
|
static Permission |
DefaultPermissions.registerPermission(String name,
String desc,
PermissionDefault def,
Map<String,Boolean> children) |
|
static Permission |
DefaultPermissions.registerPermission(String name,
String desc,
PermissionDefault def,
Map<String,Boolean> children,
Permission parent) |
|
static Permission |
DefaultPermissions.registerPermission(String name,
String desc,
PermissionDefault def,
Permission parent) |
|
static Permission |
DefaultPermissions.registerPermission(Permission perm) |
|
static Permission |
DefaultPermissions.registerPermission(Permission perm,
boolean withLegacy) |
|
static Permission |
DefaultPermissions.registerPermission(Permission perm,
Permission parent) |
|
static Permission |
BroadcastPermissions.registerPermissions(Permission parent) |
|
static Permission |
CommandPermissions.registerPermissions(Permission parent) |
Modifier and Type | Method | Description |
---|---|---|
static Permission |
DefaultPermissions.registerPermission(String name,
String desc,
Permission parent) |
|
static Permission |
DefaultPermissions.registerPermission(String name,
String desc,
PermissionDefault def,
Map<String,Boolean> children,
Permission parent) |
|
static Permission |
DefaultPermissions.registerPermission(String name,
String desc,
PermissionDefault def,
Permission parent) |
|
static Permission |
DefaultPermissions.registerPermission(Permission perm) |
|
static Permission |
DefaultPermissions.registerPermission(Permission perm,
boolean withLegacy) |
|
static Permission |
DefaultPermissions.registerPermission(Permission perm,
Permission parent) |
|
static Permission |
BroadcastPermissions.registerPermissions(Permission parent) |
|
static Permission |
CommandPermissions.registerPermissions(Permission parent) |
Copyright © 2020. All rights reserved.