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 aPermissionFunctionfor the subject. -
Uses of PermissionFunction in com.velocitypowered.api.permission
Fields in com.velocitypowered.api.permission declared as PermissionFunctionModifier and TypeFieldDescriptionstatic final PermissionFunctionPermissionFunction.ALWAYS_FALSEA permission function that always returnsTristate.FALSE.static final PermissionFunctionPermissionFunction.ALWAYS_TRUEA permission function that always returnsTristate.TRUE.static final PermissionFunctionPermissionFunction.ALWAYS_UNDEFINEDA permission function that always returnsTristate.UNDEFINED.Methods in com.velocitypowered.api.permission that return PermissionFunctionModifier and TypeMethodDescriptionPermissionProvider.createFunction(PermissionSubject subject) Creates aPermissionFunctionfor the subject.