Uses of Class
org.bukkit.permissions.Permission
Packages that use Permission
Package
Description
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 org.bukkit.command
Methods in org.bukkit.command with parameters of type PermissionModifier and TypeMethodDescriptiondefault booleanMessageCommandSender.hasPermission(@NotNull Permission perm) default booleanMessageCommandSender.isPermissionSet(@NotNull Permission perm) -
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 @NotNull PermissionPermission.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 PermissionLoads 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 @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.Methods in org.bukkit.permissions with parameters of type PermissionModifier and TypeMethodDescriptionvoidPermission.addParent(@NotNull Permission perm, boolean value) Adds this permission to the specified parent permission.booleanPermissible.hasPermission(@NotNull Permission perm) Gets the value of the specified permission, if set.booleanPermissibleBase.hasPermission(@NotNull Permission perm) booleanPermissible.isPermissionSet(@NotNull Permission perm) Checks if this object contains an override for the specifiedPermissionbooleanPermissibleBase.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.voidPermissionAttachment.setPermission(@NotNull Permission perm, boolean value) Sets a permission to the given valuevoidPermissionAttachment.unsetPermission(@NotNull Permission perm) Removes the specified permission from this attachment.Method parameters in org.bukkit.permissions with type arguments of type PermissionModifier and TypeMethodDescriptionstatic @NotNull PermissionPermission.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
Methods in org.bukkit.plugin that return PermissionModifier and TypeMethodDescriptionPluginManager.getPermission(@NotNull String name) Gets aPermissionfrom its fully qualified nameSimplePluginManager.getPermission(@NotNull 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 TypeMethodDescriptionvoidPluginManager.addPermission(@NotNull Permission perm) Adds aPermissionto this plugin manager.voidSimplePluginManager.addPermission(@NotNull Permission perm) voidSimplePluginManager.addPermission(@NotNull Permission perm, boolean dirty) Deprecated.voidPluginManager.recalculatePermissionDefaults(@NotNull Permission perm) Recalculates the defaults for the givenPermission.voidSimplePluginManager.recalculatePermissionDefaults(@NotNull Permission perm) voidPluginManager.removePermission(@NotNull Permission perm) Removes aPermissionregistration from this plugin manager.voidSimplePluginManager.removePermission(@NotNull Permission perm) -
Uses of Permission in org.bukkit.util.permissions
Methods in org.bukkit.util.permissions that return PermissionModifier and TypeMethodDescriptionstatic @NotNull PermissionDefaultPermissions.registerPermission(@NotNull String name, @Nullable String desc) static @NotNull PermissionDefaultPermissions.registerPermission(@NotNull String name, @Nullable String desc, @NotNull Permission parent) static @NotNull PermissionDefaultPermissions.registerPermission(@NotNull String name, @Nullable String desc, @Nullable PermissionDefault def) static @NotNull PermissionDefaultPermissions.registerPermission(@NotNull String name, @Nullable String desc, @Nullable PermissionDefault def, @NotNull Permission parent) static @NotNull PermissionDefaultPermissions.registerPermission(@NotNull String name, @Nullable String desc, @Nullable PermissionDefault def, @Nullable Map<String, Boolean> children) static @NotNull PermissionDefaultPermissions.registerPermission(@NotNull String name, @Nullable String desc, @Nullable PermissionDefault def, @Nullable Map<String, Boolean> children, @NotNull Permission parent) static @NotNull PermissionDefaultPermissions.registerPermission(@NotNull Permission perm) static @NotNull PermissionDefaultPermissions.registerPermission(@NotNull Permission perm, boolean withLegacy) static @NotNull PermissionDefaultPermissions.registerPermission(@NotNull Permission perm, @NotNull Permission parent) static @NotNull PermissionBroadcastPermissions.registerPermissions(@NotNull Permission parent) static @NotNull PermissionCommandPermissions.registerPermissions(@NotNull Permission parent) Methods in org.bukkit.util.permissions with parameters of type PermissionModifier and TypeMethodDescriptionstatic @NotNull PermissionDefaultPermissions.registerPermission(@NotNull String name, @Nullable String desc, @NotNull Permission parent) static @NotNull PermissionDefaultPermissions.registerPermission(@NotNull String name, @Nullable String desc, @Nullable PermissionDefault def, @NotNull Permission parent) static @NotNull PermissionDefaultPermissions.registerPermission(@NotNull String name, @Nullable String desc, @Nullable PermissionDefault def, @Nullable Map<String, Boolean> children, @NotNull Permission parent) static @NotNull PermissionDefaultPermissions.registerPermission(@NotNull Permission perm) static @NotNull PermissionDefaultPermissions.registerPermission(@NotNull Permission perm, boolean withLegacy) static @NotNull PermissionDefaultPermissions.registerPermission(@NotNull Permission perm, @NotNull Permission parent) static @NotNull PermissionBroadcastPermissions.registerPermissions(@NotNull Permission parent) static @NotNull PermissionCommandPermissions.registerPermissions(@NotNull Permission parent)