Uses of Class
org.bukkit.permissions.Permission
Package | Description |
---|---|
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. |
-
Uses of Permission in org.bukkit.permissions
Methods in org.bukkit.permissions that return Permission Modifier and Type Method Description Permission
Permission. addParent(String name, boolean value)
Adds this permission to the specified parent permission.static Permission
Permission. loadPermission(String name, Map<?,?> data, PermissionDefault def, List<Permission> output)
Loads a Permission from a map of data, usually used from retrieval from a yaml file.static Permission
Permission. loadPermission(String name, Map<String,Object> data)
Loads a Permission from a map of data, usually used from retrieval from a yaml file.Methods in org.bukkit.permissions that return types with arguments of type Permission Modifier and Type Method Description static List<Permission>
Permission. loadPermissions(Map<?,?> data, String error, PermissionDefault def)
Loads a list of Permissions from a map of data, usually used from retrieval from a yaml file.Methods in org.bukkit.permissions with parameters of type Permission Modifier and Type Method Description void
Permission. addParent(Permission perm, boolean value)
Adds this permission to the specified parent permission.boolean
Permissible. hasPermission(Permission perm)
Gets the value of the specified permission, if set.boolean
PermissibleBase. hasPermission(Permission perm)
boolean
Permissible. isPermissionSet(Permission perm)
Checks if this object contains an override for the specifiedPermission
boolean
PermissibleBase. isPermissionSet(Permission perm)
void
PermissionAttachment. setPermission(Permission perm, boolean value)
Sets a permission to the given valuevoid
PermissionAttachment. unsetPermission(Permission perm)
Removes the specified permission from this attachment.Method parameters in org.bukkit.permissions with type arguments of type Permission Modifier and Type Method Description static Permission
Permission. loadPermission(String name, Map<?,?> data, PermissionDefault def, List<Permission> output)
Loads a Permission from a map of data, usually used from retrieval from a yaml file. -
Uses of Permission in org.bukkit.plugin
Methods in org.bukkit.plugin that return Permission Modifier and Type Method Description Permission
PluginManager. getPermission(String name)
Gets aPermission
from its fully qualified namePermission
SimplePluginManager. getPermission(String name)
Methods in org.bukkit.plugin that return types with arguments of type Permission Modifier and Type Method Description Set<Permission>
PluginManager. getDefaultPermissions(boolean op)
Gets the default permissions for the given op statusSet<Permission>
SimplePluginManager. getDefaultPermissions(boolean op)
List<Permission>
PluginDescriptionFile. getPermissions()
Gives the list of permissions the plugin will register at runtime, immediately proceding enabling.Set<Permission>
PluginManager. getPermissions()
Gets a set of all registered permissions.Set<Permission>
SimplePluginManager. getPermissions()
Methods in org.bukkit.plugin with parameters of type Permission Modifier and Type Method Description void
PluginManager. addPermission(Permission perm)
Adds aPermission
to this plugin manager.void
SimplePluginManager. addPermission(Permission perm)
void
SimplePluginManager. addPermission(Permission perm, boolean dirty)
Deprecated.void
PluginManager. recalculatePermissionDefaults(Permission perm)
Recalculates the defaults for the givenPermission
.void
SimplePluginManager. recalculatePermissionDefaults(Permission perm)
void
PluginManager. removePermission(Permission perm)
Removes aPermission
registration from this plugin manager.void
SimplePluginManager. removePermission(Permission perm)
-
Uses of Permission in org.bukkit.util.permissions
Methods in org.bukkit.util.permissions that return Permission Modifier and Type Method Description static Permission
DefaultPermissions. registerPermission(String name, String desc)
static Permission
DefaultPermissions. registerPermission(String name, String desc, Permission parent)
static Permission
DefaultPermissions. registerPermission(String name, String desc, PermissionDefault def)
static Permission
DefaultPermissions. registerPermission(String name, String desc, PermissionDefault def, Map<String,Boolean> children)
static Permission
DefaultPermissions. registerPermission(String name, String desc, PermissionDefault def, Map<String,Boolean> children, Permission parent)
static Permission
DefaultPermissions. registerPermission(String name, String desc, PermissionDefault def, Permission parent)
static Permission
DefaultPermissions. registerPermission(Permission perm)
static Permission
DefaultPermissions. registerPermission(Permission perm, boolean withLegacy)
static Permission
DefaultPermissions. registerPermission(Permission perm, Permission parent)
static Permission
BroadcastPermissions. registerPermissions(Permission parent)
static Permission
CommandPermissions. registerPermissions(Permission parent)
Methods in org.bukkit.util.permissions with parameters of type Permission Modifier and Type Method Description static Permission
DefaultPermissions. registerPermission(String name, String desc, Permission parent)
static Permission
DefaultPermissions. registerPermission(String name, String desc, PermissionDefault def, Map<String,Boolean> children, Permission parent)
static Permission
DefaultPermissions. registerPermission(String name, String desc, PermissionDefault def, Permission parent)
static Permission
DefaultPermissions. registerPermission(Permission perm)
static Permission
DefaultPermissions. registerPermission(Permission perm, boolean withLegacy)
static Permission
DefaultPermissions. registerPermission(Permission perm, Permission parent)
static Permission
BroadcastPermissions. registerPermissions(Permission parent)
static Permission
CommandPermissions. registerPermissions(Permission parent)