Uses of Class
org.bukkit.permissions.Permission
Packages that use 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
Methods in org.bukkit.permissions that return PermissionModifier 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.Methods in org.bukkit.permissions that return types with arguments of type PermissionModifier 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.Methods in org.bukkit.permissions with parameters of type PermissionModifier 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.Method parameters in org.bukkit.permissions with type arguments of type PermissionModifier 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
Methods in org.bukkit.plugin that return PermissionModifier and TypeMethodDescriptionPluginManager.getPermission
(String name) Gets aPermission
from its fully qualified nameSimplePluginManager.getPermission
(String name) Methods in org.bukkit.plugin that return types with arguments of type PermissionModifier 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()
Methods in org.bukkit.plugin with parameters of type PermissionModifier 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
Methods in org.bukkit.util.permissions that return PermissionModifier 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) Methods in org.bukkit.util.permissions with parameters of type PermissionModifier 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)