Uses of Enum Class
org.bukkit.permissions.PermissionDefault
Package
Description
The paper configuration package contains the new java representation of a plugins configuration file.
Classes dedicated to providing binary state properties to players.
Classes specifically relating to loading software modules at runtime.
Static methods for miscellaneous
permission
functionality.-
Uses of PermissionDefault in io.papermc.paper.plugin.configuration
Modifier and TypeMethodDescriptionPluginMeta.getPermissionDefault()
Provides the default values that apply to the permissions defined in this plugin meta. -
Uses of PermissionDefault in org.bukkit.permissions
Modifier and TypeMethodDescriptionstatic @Nullable PermissionDefault
Looks up a PermissionDefault by namePermission.getDefault()
Gets the default value of this permission.static PermissionDefault
Returns the enum constant of this class with the specified name.static PermissionDefault[]
PermissionDefault.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionstatic @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 List<Permission>
Permission.loadPermissions
(@NotNull Map<?, ?> data, @NotNull String error, @Nullable PermissionDefault def) Loads a list of Permissions from a map of data, usually used from retrieval from a yaml file.void
Permission.setDefault
(@NotNull PermissionDefault value) Sets the default value of this permission.ModifierConstructorDescriptionPermission
(@NotNull String name, @Nullable String description, @Nullable PermissionDefault defaultValue) Permission
(@NotNull String name, @Nullable String description, @Nullable PermissionDefault defaultValue, @Nullable Map<String, Boolean> children) Permission
(@NotNull String name, @Nullable PermissionDefault defaultValue) Permission
(@NotNull String name, @Nullable PermissionDefault defaultValue, @Nullable Map<String, Boolean> children) -
Uses of PermissionDefault in org.bukkit.plugin
Modifier and TypeMethodDescriptionPluginDescriptionFile.getPermissionDefault()
Gives the defaultdefault
state ofpermissions
registered for the plugin.ModifierConstructorDescriptionPluginDescriptionFile
(String rawName, String name, List<String> provides, String main, String classLoaderOf, List<String> depend, List<String> softDepend, List<String> loadBefore, String version, Map<String, Map<String, Object>> commands, String description, List<String> authors, List<String> contributors, String website, String prefix, PluginLoadOrder order, List<Permission> permissions, PermissionDefault defaultPerm, Set<PluginAwareness> awareness, String apiVersion, List<String> libraries) Don't use this. -
Uses of PermissionDefault in org.bukkit.util.permissions
Modifier and TypeMethodDescriptionstatic @NotNull Permission
DefaultPermissions.registerPermission
(@NotNull String name, @Nullable String desc, @Nullable PermissionDefault def) static @NotNull Permission
DefaultPermissions.registerPermission
(@NotNull String name, @Nullable String desc, @Nullable PermissionDefault def, @NotNull Permission parent) static @NotNull Permission
DefaultPermissions.registerPermission
(@NotNull String name, @Nullable String desc, @Nullable PermissionDefault def, @Nullable Map<String, Boolean> children) static @NotNull Permission
DefaultPermissions.registerPermission
(@NotNull String name, @Nullable String desc, @Nullable PermissionDefault def, @Nullable Map<String, Boolean> children, @NotNull Permission parent)