Uses of Class
org.bukkit.permissions.Permission
Package
Description
The paper configuration package contains the new java representation of a plugins configuration file.
Classes relating to handling specialized non-chat player input.
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 io.papermc.paper.plugin
Modifier and TypeMethodDescriptionPermissionManager.getPermission
(String name) Gets aPermission
from its fully qualified nameModifier and TypeMethodDescriptionPermissionManager.getDefaultPermissions
(boolean op) Gets the default permissions for the given op statusPermissionManager.getPermissions()
Gets a set of all registered permissions.Modifier and TypeMethodDescriptionvoid
PermissionManager.addPermission
(Permission perm) Adds aPermission
to this plugin manager.void
PermissionManager.recalculatePermissionDefaults
(Permission perm) Recalculates the defaults for the givenPermission
.void
PermissionManager.removePermission
(Permission perm) Removes aPermission
registration from this plugin manager.Modifier and TypeMethodDescriptionvoid
PermissionManager.addPermissions
(List<Permission> perm) Adds a list of permissions. -
Uses of Permission in io.papermc.paper.plugin.configuration
Modifier and TypeMethodDescriptionPluginMeta.getPermissions()
Provides the list of permissions that are defined via the plugin meta instance. -
Uses of Permission in org.bukkit.command
Modifier and TypeMethodDescriptiondefault boolean
MessageCommandSender.hasPermission
(@NotNull Permission perm) Deprecated, for removal: This API element is subject to removal in a future version.default boolean
MessageCommandSender.isPermissionSet
(@NotNull Permission perm) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of Permission in org.bukkit.permissions
Modifier and TypeMethodDescriptionAdds this permission to the specified parent permission.static @NotNull Permission
Permission.loadPermission
(@NotNull String name, @NotNull Map<?, ?> data, @Nullable PermissionDefault def, @Nullable List<Permission> output) Loads a Permission from a map of data, usually used from retrieval from a yaml file.static @NotNull Permission
Loads a Permission from a map of data, usually used from retrieval from a yaml file.Modifier and TypeMethodDescriptionstatic @NotNull List
<Permission> Permission.loadPermissions
(@NotNull Map<?, ?> data, @NotNull String error, @Nullable 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
(@NotNull Permission perm, boolean value) Adds this permission to the specified parent permission.boolean
Permissible.hasPermission
(@NotNull Permission perm) Gets the value of the specified permission, if set.boolean
PermissibleBase.hasPermission
(@NotNull Permission perm) boolean
Permissible.isPermissionSet
(@NotNull Permission perm) Checks if this object contains an override for the specifiedPermission
boolean
PermissibleBase.isPermissionSet
(@NotNull Permission perm) Permissible.permissionValue
(@NotNull Permission permission) Checks if this object has a permission set and, if it is set, the value of the permission.void
PermissionAttachment.setPermission
(@NotNull Permission perm, boolean value) Sets a permission to the given valuevoid
PermissionAttachment.unsetPermission
(@NotNull Permission perm) Removes the specified permission from this attachment.Modifier and TypeMethodDescriptionstatic @NotNull Permission
Permission.loadPermission
(@NotNull String name, @NotNull Map<?, ?> data, @Nullable PermissionDefault def, @Nullable 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 TypeFieldDescriptionfinal Map
<Boolean, Set<Permission>> SimplePluginManager.defaultPerms
Deprecated, for removal: This API element is subject to removal in a future version.final Map
<String, Permission> SimplePluginManager.permissions
Deprecated, for removal: This API element is subject to removal in a future version.Modifier and TypeMethodDescriptionPluginManager.getPermission
(@NotNull String name) Gets aPermission
from its fully qualified nameSimplePluginManager.getPermission
(@NotNull String name) Deprecated, for removal: This API element is subject to removal in a future version.Modifier and TypeMethodDescriptionPluginManager.getDefaultPermissions
(boolean op) Gets the default permissions for the given op statusSimplePluginManager.getDefaultPermissions
(boolean op) Deprecated, for removal: This API element is subject to removal in a future version.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()
Deprecated, for removal: This API element is subject to removal in a future version.Modifier and TypeMethodDescriptionvoid
PluginManager.addPermission
(@NotNull Permission perm) Adds aPermission
to this plugin manager.void
SimplePluginManager.addPermission
(@NotNull Permission perm) Deprecated, for removal: This API element is subject to removal in a future version.void
SimplePluginManager.addPermission
(@NotNull Permission perm, boolean dirty) Deprecated.void
PluginManager.recalculatePermissionDefaults
(@NotNull Permission perm) Recalculates the defaults for the givenPermission
.void
SimplePluginManager.recalculatePermissionDefaults
(@NotNull Permission perm) Deprecated, for removal: This API element is subject to removal in a future version.void
PluginManager.removePermission
(@NotNull Permission perm) Removes aPermission
registration from this plugin manager.void
SimplePluginManager.removePermission
(@NotNull Permission perm) Deprecated, for removal: This API element is subject to removal in a future version.Modifier and TypeMethodDescriptionvoid
SimplePluginManager.addPermissions
(@NotNull List<Permission> perm) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of Permission in org.bukkit.util.permissions
Modifier and TypeMethodDescriptionstatic @NotNull Permission
DefaultPermissions.registerPermission
(@NotNull String name, @Nullable String desc) static @NotNull Permission
DefaultPermissions.registerPermission
(@NotNull String name, @Nullable String desc, @NotNull Permission parent) static @NotNull Permission
DefaultPermissions.registerPermission
(@NotNull String name, @Nullable String desc, @Nullable PermissionDefault def) static @NotNull Permission
DefaultPermissions.registerPermission
(@NotNull String name, @Nullable String desc, @Nullable PermissionDefault def, @Nullable Map<String, Boolean> children) static @NotNull Permission
DefaultPermissions.registerPermission
(@NotNull String name, @Nullable String desc, @Nullable PermissionDefault def, @Nullable Map<String, Boolean> children, @NotNull Permission parent) static @NotNull Permission
DefaultPermissions.registerPermission
(@NotNull String name, @Nullable String desc, @Nullable PermissionDefault def, @NotNull Permission parent) static @NotNull Permission
DefaultPermissions.registerPermission
(@NotNull Permission perm) static @NotNull Permission
DefaultPermissions.registerPermission
(@NotNull Permission perm, boolean withLegacy) static @NotNull Permission
DefaultPermissions.registerPermission
(@NotNull Permission perm, @NotNull Permission parent) static @NotNull Permission
BroadcastPermissions.registerPermissions
(@NotNull Permission parent) static @NotNull Permission
CommandPermissions.registerPermissions
(@NotNull Permission parent) Modifier and TypeMethodDescriptionstatic @NotNull Permission
DefaultPermissions.registerPermission
(@NotNull String name, @Nullable String desc, @NotNull Permission parent) static @NotNull Permission
DefaultPermissions.registerPermission
(@NotNull String name, @Nullable String desc, @Nullable PermissionDefault def, @Nullable Map<String, Boolean> children, @NotNull Permission parent) static @NotNull Permission
DefaultPermissions.registerPermission
(@NotNull String name, @Nullable String desc, @Nullable PermissionDefault def, @NotNull Permission parent) static @NotNull Permission
DefaultPermissions.registerPermission
(@NotNull Permission perm) static @NotNull Permission
DefaultPermissions.registerPermission
(@NotNull Permission perm, boolean withLegacy) static @NotNull Permission
DefaultPermissions.registerPermission
(@NotNull Permission perm, @NotNull Permission parent) static @NotNull Permission
BroadcastPermissions.registerPermissions
(@NotNull Permission parent) static @NotNull Permission
CommandPermissions.registerPermissions
(@NotNull Permission parent)