Interface GeyserRegisterPermissionsEvent
- All Superinterfaces:
org.geysermc.event.Event
public interface GeyserRegisterPermissionsEvent
extends org.geysermc.event.Event
Fired by anything that wishes to gather permission nodes and defaults.
This event is not guaranteed to be fired, as certain Geyser platforms do not have a native permission system. It can be expected to fire on Geyser-Spigot, Geyser-NeoForge, Geyser-Standalone, and Geyser-ViaProxy It may be fired by a 3rd party regardless of the platform.
-
Method Summary
-
Method Details
-
register
Registers a permission node and its default value with the firer.TriState.TRUEcorresponds to all players having the permission by default.
TriState.NOT_SETcorresponds to only server operators having the permission by default (if such a concept exists on the platform).
TriState.FALSEcorresponds to no players having the permission by default.- Parameters:
permission- the permission node to registerdefaultValue- the default value of the node
-