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.btcvelocity.api.permission
Subinterfaces of PermissionFunction in com.btcvelocity.api.permissionModifier and TypeInterfaceDescriptioninterfaceAn extension ofPermissionFunctionthat allows the implementation of some more complex methods.Classes in com.btcvelocity.api.permission that implement PermissionFunctionModifier and TypeClassDescriptionclassAdapter implementation ofPermissionResolverbacked by aPermissionFunction.Methods in com.btcvelocity.api.permission with parameters of type PermissionFunctionModifier and TypeMethodDescription@Nullable PermissionResolverPermissionResolverProvider.createResolver(PermissionSubject subject, @Nullable PermissionFunction delegate) Creates aPermissionResolverfor the subject with an optionalPermissionFunctiondelegate.Constructors in com.btcvelocity.api.permission with parameters of type PermissionFunctionModifierConstructorDescriptionPermissionResolverFunctionAdapter(PermissionFunction permissionFunction) Instantiates aPermissionResolverFunctionAdapterwhich delegatesPermissionResolver.getPermissionValue(String)topermissionFunction#getPermissionValue(String). -
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.