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 PermissionAttachment |
MessageCommandSender.addAttachment(Plugin plugin) |
default PermissionAttachment |
MessageCommandSender.addAttachment(Plugin plugin,
int ticks) |
default PermissionAttachment |
MessageCommandSender.addAttachment(Plugin plugin,
String name,
boolean value) |
default PermissionAttachment |
MessageCommandSender.addAttachment(Plugin plugin,
String name,
boolean value,
int ticks) |
Modifier and Type | Method and Description |
---|---|
default void |
MessageCommandSender.removeAttachment(PermissionAttachment attachment) |
Modifier and Type | Method and Description |
---|---|
PermissionAttachment |
PermissibleBase.addAttachment(Plugin plugin) |
PermissionAttachment |
Permissible.addAttachment(Plugin plugin)
Adds a new empty
PermissionAttachment to this object |
PermissionAttachment |
PermissibleBase.addAttachment(Plugin plugin,
int ticks) |
PermissionAttachment |
Permissible.addAttachment(Plugin plugin,
int ticks)
Temporarily adds a new empty
PermissionAttachment to this
object |
PermissionAttachment |
PermissibleBase.addAttachment(Plugin plugin,
String name,
boolean value) |
PermissionAttachment |
Permissible.addAttachment(Plugin plugin,
String name,
boolean value)
Adds a new
PermissionAttachment with a single permission by
name and value |
PermissionAttachment |
PermissibleBase.addAttachment(Plugin plugin,
String name,
boolean value,
int ticks) |
PermissionAttachment |
Permissible.addAttachment(Plugin plugin,
String name,
boolean value,
int ticks)
Temporarily adds a new
PermissionAttachment with a single
permission by name and value |
PermissionAttachment |
PermissionAttachmentInfo.getAttachment()
Gets the attachment providing this permission.
|
Modifier and Type | Method and Description |
---|---|
void |
PermissionRemovedExecutor.attachmentRemoved(PermissionAttachment attachment)
Called when a
PermissionAttachment is removed from a Permissible |
void |
PermissibleBase.removeAttachment(PermissionAttachment attachment) |
void |
Permissible.removeAttachment(PermissionAttachment attachment)
Removes the given
PermissionAttachment from this object |
Constructor and Description |
---|
PermissionAttachmentInfo(Permissible permissible,
String permission,
PermissionAttachment attachment,
boolean value) |
Copyright © 2021. All rights reserved.