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
PermissionAttachment to this object |
@Nullable PermissionAttachment |
Permissible.addAttachment(@NotNull Plugin plugin,
int ticks) |
Temporarily adds a new empty
PermissionAttachment to this
object |
@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 |
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 |
@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
PermissionAttachment is removed from a Permissible |
void |
Permissible.removeAttachment(@NotNull PermissionAttachment attachment) |
Removes the given
PermissionAttachment from 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.