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