Package | Description |
---|---|
org.bukkit.permissions |
Classes dedicated to providing binary state properties to players.
|
Modifier and Type | Method and Description |
---|---|
PermissionAttachment |
Permissible.addAttachment(Plugin plugin)
Adds a new empty
PermissionAttachment to this object |
PermissionAttachment |
PermissibleBase.addAttachment(Plugin plugin) |
PermissionAttachment |
Permissible.addAttachment(Plugin plugin,
int ticks)
Temporarily adds a new empty
PermissionAttachment to this
object |
PermissionAttachment |
PermissibleBase.addAttachment(Plugin plugin,
int ticks) |
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) |
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,
String name,
boolean value,
int ticks) |
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 |
Permissible.removeAttachment(PermissionAttachment attachment)
Removes the given
PermissionAttachment from this object |
void |
PermissibleBase.removeAttachment(PermissionAttachment attachment) |
Constructor and Description |
---|
PermissionAttachmentInfo(Permissible permissible,
String permission,
PermissionAttachment attachment,
boolean value) |
Copyright © 2016. All rights reserved.