Uses of Interface
com.velocitypowered.api.permission.PermissionFunction
Packages that use PermissionFunction
Package
Description
Provides events to handle setting up permissions for permission subjects.
Provides the basic building blocks for a custom permission system.
-
Uses of PermissionFunction in com.velocitypowered.api.event.permission
Methods in com.velocitypowered.api.event.permission that return PermissionFunctionModifier and TypeMethodDescriptionPermissionsSetupEvent.createFunction
(PermissionSubject subject) Uses the provider function to obtain aPermissionFunction
for the subject. -
Uses of PermissionFunction in com.velocitypowered.api.permission
Fields in com.velocitypowered.api.permission declared as PermissionFunctionModifier and TypeFieldDescriptionstatic final PermissionFunction
PermissionFunction.ALWAYS_FALSE
A permission function that always returnsTristate.FALSE
.static final PermissionFunction
PermissionFunction.ALWAYS_TRUE
A permission function that always returnsTristate.TRUE
.static final PermissionFunction
PermissionFunction.ALWAYS_UNDEFINED
A permission function that always returnsTristate.UNDEFINED
.Methods in com.velocitypowered.api.permission that return PermissionFunctionModifier and TypeMethodDescriptionPermissionProvider.createFunction
(PermissionSubject subject) Creates aPermissionFunction
for the subject.