Uses of Class
org.bukkit.permissions.PermissionAttachment
Package | Description |
---|---|
org.bukkit.permissions |
Classes dedicated to providing binary state properties to players.
|
-
Uses of PermissionAttachment in org.bukkit.permissions
Methods in org.bukkit.permissions that return PermissionAttachment Modifier and Type Method Description PermissionAttachment
Permissible. addAttachment(Plugin plugin)
Adds a new emptyPermissionAttachment
to this objectPermissionAttachment
Permissible. addAttachment(Plugin plugin, int ticks)
Temporarily adds a new emptyPermissionAttachment
to this objectPermissionAttachment
Permissible. addAttachment(Plugin plugin, String name, boolean value)
Adds a newPermissionAttachment
with a single permission by name and valuePermissionAttachment
Permissible. addAttachment(Plugin plugin, String name, boolean value, int ticks)
Temporarily adds a newPermissionAttachment
with a single permission by name and valuePermissionAttachment
PermissibleBase. addAttachment(Plugin plugin)
PermissionAttachment
PermissibleBase. addAttachment(Plugin plugin, int ticks)
PermissionAttachment
PermissibleBase. addAttachment(Plugin plugin, String name, boolean value)
PermissionAttachment
PermissibleBase. addAttachment(Plugin plugin, String name, boolean value, int ticks)
PermissionAttachment
PermissionAttachmentInfo. getAttachment()
Gets the attachment providing this permission.Methods in org.bukkit.permissions with parameters of type PermissionAttachment Modifier and Type Method Description void
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)
Constructors in org.bukkit.permissions with parameters of type PermissionAttachment Constructor Description PermissionAttachmentInfo(Permissible permissible, String permission, PermissionAttachment attachment, boolean value)