Package | Description |
---|---|
org.bukkit.command |
Classes relating to handling specialized non-chat player input.
|
org.bukkit.permissions |
Classes dedicated to providing binary state properties to players.
|
Modifier and Type | Method and Description |
---|---|
default @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 Type | Method and Description |
---|---|
default void |
MessageCommandSender.removeAttachment(@NotNull PermissionAttachment attachment) |
Modifier and Type | Method and Description |
---|---|
@NotNull PermissionAttachment |
PermissibleBase.addAttachment(@NotNull Plugin plugin) |
@NotNull PermissionAttachment |
Permissible.addAttachment(@NotNull Plugin plugin)
Adds a new empty
PermissionAttachment to this object |
@Nullable PermissionAttachment |
PermissibleBase.addAttachment(@NotNull Plugin plugin,
int ticks) |
@Nullable PermissionAttachment |
Permissible.addAttachment(@NotNull Plugin plugin,
int ticks)
Temporarily adds a new empty
PermissionAttachment to this
object |
@NotNull PermissionAttachment |
PermissibleBase.addAttachment(@NotNull Plugin plugin,
@NotNull String name,
boolean value) |
@NotNull PermissionAttachment |
Permissible.addAttachment(@NotNull Plugin plugin,
@NotNull String name,
boolean value)
Adds a new
PermissionAttachment with a single permission by
name and value |
@Nullable PermissionAttachment |
PermissibleBase.addAttachment(@NotNull Plugin plugin,
@NotNull String name,
boolean value,
int ticks) |
@Nullable PermissionAttachment |
Permissible.addAttachment(@NotNull Plugin plugin,
@NotNull String name,
boolean value,
int ticks)
Temporarily adds a new
PermissionAttachment with a single
permission by name and value |
@Nullable PermissionAttachment |
PermissionAttachmentInfo.getAttachment()
Gets the attachment providing this permission.
|
Modifier and Type | Method and Description |
---|---|
void |
PermissionRemovedExecutor.attachmentRemoved(@NotNull PermissionAttachment attachment)
Called when a
PermissionAttachment is removed from a Permissible |
void |
PermissibleBase.removeAttachment(@NotNull PermissionAttachment attachment) |
void |
Permissible.removeAttachment(@NotNull PermissionAttachment attachment)
Removes the given
PermissionAttachment from this object |
Constructor and Description |
---|
PermissionAttachmentInfo(@NotNull Permissible permissible,
@NotNull String permission,
@Nullable PermissionAttachment attachment,
boolean value) |
Copyright © 2021. All rights reserved.