Uses of Class
org.bukkit.permissions.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
Modifier and TypeMethodDescriptiondefault @NotNull PermissionAttachment
MessageCommandSender.addAttachment(@NotNull Plugin plugin)
default @NotNull PermissionAttachment
MessageCommandSender.addAttachment(@NotNull Plugin plugin, int ticks)
default @NotNull PermissionAttachment
MessageCommandSender.addAttachment(@NotNull Plugin plugin, @NotNull String name, boolean value)
default @NotNull PermissionAttachment
MessageCommandSender.addAttachment(@NotNull Plugin plugin, @NotNull String name, boolean value, int ticks)
Modifier and TypeMethodDescriptiondefault void
MessageCommandSender.removeAttachment(@NotNull PermissionAttachment attachment)
-
Uses of PermissionAttachment in org.bukkit.permissions
Modifier and TypeMethodDescriptionPermissible.addAttachment(@NotNull Plugin plugin)
Adds a new emptyPermissionAttachment
to this objectPermissible.addAttachment(@NotNull Plugin plugin, int ticks)
Temporarily adds a new emptyPermissionAttachment
to this objectPermissible.addAttachment(@NotNull Plugin plugin, @NotNull String name, boolean value)
Adds a newPermissionAttachment
with a single permission by name and valuePermissible.addAttachment(@NotNull Plugin plugin, @NotNull String name, boolean value, int ticks)
Temporarily adds a newPermissionAttachment
with 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.Modifier and TypeMethodDescriptionvoid
PermissionRemovedExecutor.attachmentRemoved(@NotNull PermissionAttachment attachment)
Called when aPermissionAttachment
is removed from aPermissible
void
Permissible.removeAttachment(@NotNull PermissionAttachment attachment)
Removes the givenPermissionAttachment
from this objectvoid
PermissibleBase.removeAttachment(@NotNull PermissionAttachment attachment)
ModifierConstructorDescriptionPermissionAttachmentInfo(@NotNull Permissible permissible, @NotNull String permission, @Nullable PermissionAttachment attachment, boolean value)