| Package | Description | 
|---|---|
| org.bukkit.permissions | Classes dedicated to providing binary state properties to players. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| @NotNull PermissionAttachment | Permissible. addAttachment(@NotNull Plugin plugin) | Adds a new empty  PermissionAttachmentto this object | 
| @Nullable PermissionAttachment | Permissible. addAttachment(@NotNull Plugin plugin,
             int ticks) | Temporarily adds a new empty  PermissionAttachmentto this
 object | 
| @NotNull PermissionAttachment | Permissible. addAttachment(@NotNull Plugin plugin,
             @NotNull String name,
             boolean value) | Adds a new  PermissionAttachmentwith a single permission by
 name and value | 
| @Nullable PermissionAttachment | Permissible. addAttachment(@NotNull Plugin plugin,
             @NotNull String name,
             boolean value,
             int ticks) | Temporarily adds a new  PermissionAttachmentwith a single
 permission by name and value | 
| @NotNull PermissionAttachment | PermissibleBase. addAttachment(@NotNull Plugin plugin) | |
| @Nullable PermissionAttachment | PermissibleBase. addAttachment(@NotNull Plugin plugin,
             int ticks) | |
| @NotNull PermissionAttachment | PermissibleBase. addAttachment(@NotNull Plugin plugin,
             @NotNull String name,
             boolean value) | |
| @Nullable PermissionAttachment | PermissibleBase. addAttachment(@NotNull Plugin plugin,
             @NotNull String name,
             boolean value,
             int ticks) | |
| @Nullable PermissionAttachment | PermissionAttachmentInfo. getAttachment() | Gets the attachment providing this permission. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| void | PermissionRemovedExecutor. attachmentRemoved(@NotNull PermissionAttachment attachment) | Called when a  PermissionAttachmentis removed from aPermissible | 
| void | Permissible. removeAttachment(@NotNull PermissionAttachment attachment) | Removes the given  PermissionAttachmentfrom this object | 
| void | PermissibleBase. removeAttachment(@NotNull PermissionAttachment attachment) | 
| Constructor | Description | 
|---|---|
| PermissionAttachmentInfo(@NotNull Permissible permissible,
                        @NotNull String permission,
                        @Nullable PermissionAttachment attachment,
                        boolean value) | 
Copyright © 2020. All rights reserved.