McPermissionsRegisterEvent

An event fired on every server or proxy start for permission registration.

Register every permission you check here. Some platforms (NeoForge's PermissionAPI) only accept permissions declared at this point. Permission registered later still resolves to its PermissionDefault, but permission handlers such as LuckPerms never see it.

Register the listener as early as possible, from the constructor of your plugin or mod.

Types

Link copied to clipboard
fun interface Callback

Properties

Link copied to clipboard

Functions

Link copied to clipboard