Uses of Enum Class
com.plotsquared.core.permissions.Permission
Packages that use Permission
-
Uses of Permission in com.plotsquared.core.permissions
Methods in com.plotsquared.core.permissions that return PermissionModifier and TypeMethodDescriptionstatic PermissionReturns the enum constant of this class with the specified name.static Permission[]Permission.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.plotsquared.core.permissions with parameters of type PermissionModifier and TypeMethodDescriptiondefault booleanPermissionHolder.hasPermission(@NonNull Permission permission) Check if the owner of the profile has a given (global) permissiondefault booleanPermissionHolder.hasPermission(@NonNull Permission permission, boolean notify) Checks if the owner of the profile has a permission, and optionally send the no permission message if applicable.default @org.checkerframework.checker.index.qual.NonNegative intPermissionHolder.hasPermissionRange(@NonNull Permission stub, @org.checkerframework.checker.index.qual.NonNegative int range) Check the highest permission a PlotPlayer has within a specified range.
- Excessively high values will lag
- The default range that is checked isSettings.Limit.MAX_PLOTS