Uses of Class
org.bukkit.permissions.PermissionAttachment
Packages that use PermissionAttachment
Package
Description
Classes relating to handling specialized non-chat player input.
Classes dedicated to providing binary state properties to players.
-
Uses of PermissionAttachment in org.bukkit.command
Methods in org.bukkit.command that return PermissionAttachmentModifier and TypeMethodDescriptiondefault @NotNull PermissionAttachmentMessageCommandSender.addAttachment(@NotNull Plugin plugin) Deprecated, for removal: This API element is subject to removal in a future version.default @NotNull PermissionAttachmentMessageCommandSender.addAttachment(@NotNull Plugin plugin, int ticks) Deprecated, for removal: This API element is subject to removal in a future version.default @NotNull PermissionAttachmentMessageCommandSender.addAttachment(@NotNull Plugin plugin, @NotNull String name, boolean value) Deprecated, for removal: This API element is subject to removal in a future version.default @NotNull PermissionAttachmentMessageCommandSender.addAttachment(@NotNull Plugin plugin, @NotNull String name, boolean value, int ticks) Deprecated, for removal: This API element is subject to removal in a future version.Methods in org.bukkit.command with parameters of type PermissionAttachmentModifier and TypeMethodDescriptiondefault voidMessageCommandSender.removeAttachment(@NotNull PermissionAttachment attachment) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of PermissionAttachment in org.bukkit.permissions
Methods in org.bukkit.permissions that return PermissionAttachmentModifier and TypeMethodDescriptionPermissible.addAttachment(@NotNull Plugin plugin) Adds a new emptyPermissionAttachmentto this objectPermissible.addAttachment(@NotNull Plugin plugin, int ticks) Temporarily adds a new emptyPermissionAttachmentto this objectPermissible.addAttachment(@NotNull Plugin plugin, @NotNull String name, boolean value) Adds a newPermissionAttachmentwith a single permission by name and valuePermissible.addAttachment(@NotNull Plugin plugin, @NotNull String name, boolean value, int ticks) Temporarily adds a newPermissionAttachmentwith a single permission by name and valuePermissibleBase.addAttachment(@NotNull Plugin plugin) PermissibleBase.addAttachment(@NotNull Plugin plugin, int ticks) PermissibleBase.addAttachment(@NotNull Plugin plugin, @NotNull String name, boolean value) PermissibleBase.addAttachment(@NotNull Plugin plugin, @NotNull String name, boolean value, int ticks) PermissionAttachmentInfo.getAttachment()Gets the attachment providing this permission.Methods in org.bukkit.permissions with parameters of type PermissionAttachmentModifier and TypeMethodDescriptionvoidPermissionRemovedExecutor.attachmentRemoved(@NotNull PermissionAttachment attachment) Called when aPermissionAttachmentis removed from aPermissiblevoidPermissible.removeAttachment(@NotNull PermissionAttachment attachment) Removes the givenPermissionAttachmentfrom this objectvoidPermissibleBase.removeAttachment(@NotNull PermissionAttachment attachment) Constructors in org.bukkit.permissions with parameters of type PermissionAttachmentModifierConstructorDescriptionPermissionAttachmentInfo(@NotNull Permissible permissible, @NotNull String permission, @Nullable PermissionAttachment attachment, boolean value)