Uses of Class
org.bukkit.permissions.PermissionDefault
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 PermissionDefault in org.bukkit.permissions
Fields in org.bukkit.permissions declared as PermissionDefault Modifier and Type Field Description static PermissionDefault
Permission. DEFAULT_PERMISSION
Methods in org.bukkit.permissions that return PermissionDefault Modifier and Type Method Description static PermissionDefault
PermissionDefault. getByName(String name)
Looks up a PermissionDefault by namePermissionDefault
Permission. getDefault()
Gets the default value of this permission.static PermissionDefault
PermissionDefault. valueOf(String name)
Returns the enum constant of this type with the specified name.static PermissionDefault[]
PermissionDefault. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.bukkit.permissions with parameters of type PermissionDefault 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.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.void
Permission. setDefault(PermissionDefault value)
Sets the default value of this permission.Constructors in org.bukkit.permissions with parameters of type PermissionDefault Constructor Description Permission(String name, String description, PermissionDefault defaultValue)
Permission(String name, String description, PermissionDefault defaultValue, Map<String,Boolean> children)
Permission(String name, PermissionDefault defaultValue)
Permission(String name, PermissionDefault defaultValue, Map<String,Boolean> children)
-
Uses of PermissionDefault in org.bukkit.plugin
Methods in org.bukkit.plugin that return PermissionDefault Modifier and Type Method Description PermissionDefault
PluginDescriptionFile. getPermissionDefault()
Gives the defaultdefault
state ofpermissions
registered for the plugin. -
Uses of PermissionDefault in org.bukkit.util.permissions
Methods in org.bukkit.util.permissions with parameters of type PermissionDefault Modifier and Type Method Description 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)