Uses of Class
org.bukkit.permissions.Permission
Package
Description
Classes dedicated to providing binary state properties to players.
Classes specifically relating to loading software modules at runtime.
Static methods for miscellaneous
permission
functionality.-
Uses of Permission in org.bukkit.permissions
Modifier and TypeMethodDescriptionAdds 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 TypeMethodDescriptionstatic 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 TypeMethodDescriptionvoid
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 specifiedPermission
boolean
PermissibleBase.isPermissionSet(Permission perm)
void
PermissionAttachment.setPermission(Permission perm, boolean value)
Sets a permission to the given valuevoid
PermissionAttachment.unsetPermission(Permission perm)
Removes the specified permission from this attachment.Modifier and TypeMethodDescriptionstatic 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. -
Uses of Permission in org.bukkit.plugin
Modifier and TypeMethodDescriptionPluginManager.getPermission(String name)
Gets aPermission
from its fully qualified nameSimplePluginManager.getPermission(String name)
Modifier and TypeMethodDescriptionPluginManager.getDefaultPermissions(boolean op)
Gets the default permissions for the given op statusSimplePluginManager.getDefaultPermissions(boolean op)
PluginDescriptionFile.getPermissions()
Gives the list of permissions the plugin will register at runtime, immediately proceding enabling.PluginManager.getPermissions()
Gets a set of all registered permissions.SimplePluginManager.getPermissions()
Modifier and TypeMethodDescriptionvoid
PluginManager.addPermission(Permission perm)
Adds aPermission
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 givenPermission
.void
SimplePluginManager.recalculatePermissionDefaults(Permission perm)
void
PluginManager.removePermission(Permission perm)
Removes aPermission
registration from this plugin manager.void
SimplePluginManager.removePermission(Permission perm)
-
Uses of Permission in org.bukkit.util.permissions
Modifier and TypeMethodDescriptionstatic 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 TypeMethodDescriptionstatic 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)