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.
|
org.bukkit.plugin |
Classes specifically relating to loading software modules at runtime.
|
org.bukkit.util.permissions |
Static methods for miscellaneous
permission functionality. |
Modifier and Type | Method and Description |
---|---|
default boolean |
MessageCommandSender.hasPermission(@NotNull Permission perm) |
default boolean |
MessageCommandSender.isPermissionSet(@NotNull Permission perm) |
Modifier and Type | Method and Description |
---|---|
@NotNull Permission |
Permission.addParent(@NotNull String name,
boolean value)
Adds this permission to the specified parent permission.
|
static @NotNull Permission |
Permission.loadPermission(@NotNull String name,
@NotNull Map<?,?> data,
@Nullable PermissionDefault def,
@Nullable List<Permission> output)
Loads a Permission from a map of data, usually used from retrieval from
a yaml file.
|
static @NotNull Permission |
Permission.loadPermission(@NotNull String name,
@NotNull Map<String,Object> data)
Loads a Permission from a map of data, usually used from retrieval from
a yaml file.
|
Modifier and Type | Method and Description |
---|---|
void |
Permission.addParent(@NotNull Permission perm,
boolean value)
Adds this permission to the specified parent permission.
|
boolean |
PermissibleBase.hasPermission(@NotNull Permission perm) |
boolean |
Permissible.hasPermission(@NotNull Permission perm)
Gets the value of the specified permission, if set.
|
boolean |
PermissibleBase.isPermissionSet(@NotNull Permission perm) |
boolean |
Permissible.isPermissionSet(@NotNull Permission perm)
Checks if this object contains an override for the specified
Permission |
void |
PermissionAttachment.setPermission(@NotNull Permission perm,
boolean value)
Sets a permission to the given value
|
void |
PermissionAttachment.unsetPermission(@NotNull Permission perm)
Removes the specified permission from this attachment.
|
Modifier and Type | Method and Description |
---|---|
@Nullable Permission |
SimplePluginManager.getPermission(@NotNull String name) |
@Nullable Permission |
PluginManager.getPermission(@NotNull String name)
Gets a
Permission from its fully qualified name |
Modifier and Type | Method and Description |
---|---|
void |
SimplePluginManager.addPermission(@NotNull Permission perm) |
void |
PluginManager.addPermission(@NotNull Permission perm)
Adds a
Permission to this plugin manager. |
void |
SimplePluginManager.addPermission(@NotNull Permission perm,
boolean dirty)
Deprecated.
|
void |
SimplePluginManager.recalculatePermissionDefaults(@NotNull Permission perm) |
void |
PluginManager.recalculatePermissionDefaults(@NotNull Permission perm)
Recalculates the defaults for the given
Permission . |
void |
SimplePluginManager.removePermission(@NotNull Permission perm) |
void |
PluginManager.removePermission(@NotNull Permission perm)
Removes a
Permission registration from this plugin manager. |
Copyright © 2021. All rights reserved.