Class PermissionGatherEvent.Handler

java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.neoforge.server.permission.events.PermissionGatherEvent
net.neoforged.neoforge.server.permission.events.PermissionGatherEvent.Handler
Enclosing class:
PermissionGatherEvent

public static class PermissionGatherEvent.Handler extends PermissionGatherEvent
Used to register a new PermissionHandler, a server config value exists to choose which one to use.

Note: Create a new instance when registering a PermissionHandler. If you cache it, make sure that your PermissionHandler is actually used after this event.