Uses of Class
org.bukkit.permissions.PermissionAttachment
Package
Description
Classes dedicated to providing binary state properties to players.
-
Uses of PermissionAttachment in org.bukkit.permissions
Modifier and TypeMethodDescriptionPermissible.addAttachment
(Plugin plugin) Adds a new emptyPermissionAttachment
to this objectPermissible.addAttachment
(Plugin plugin, int ticks) Temporarily adds a new emptyPermissionAttachment
to this objectPermissible.addAttachment
(Plugin plugin, String name, boolean value) Adds a newPermissionAttachment
with a single permission by name and valuePermissible.addAttachment
(Plugin plugin, String name, boolean value, int ticks) Temporarily adds a newPermissionAttachment
with a single permission by name and valuePermissibleBase.addAttachment
(Plugin plugin) PermissibleBase.addAttachment
(Plugin plugin, int ticks) PermissibleBase.addAttachment
(Plugin plugin, String name, boolean value) PermissibleBase.addAttachment
(Plugin plugin, String name, boolean value, int ticks) PermissionAttachmentInfo.getAttachment()
Gets the attachment providing this permission.Modifier and TypeMethodDescriptionvoid
PermissionRemovedExecutor.attachmentRemoved
(PermissionAttachment attachment) Called when aPermissionAttachment
is removed from aPermissible
void
Permissible.removeAttachment
(PermissionAttachment attachment) Removes the givenPermissionAttachment
from this objectvoid
PermissibleBase.removeAttachment
(PermissionAttachment attachment) ModifierConstructorDescriptionPermissionAttachmentInfo
(Permissible permissible, String permission, PermissionAttachment attachment, boolean value)