PermissionSubject's permissions are being setup. This event is typically called for the
Players who join the proxy.
This event is only called once per subject, on initialisation.
Velocity will wait for this event to finish firing before proceeding further with server startup (for the console command source) and logins (for players) but it is strongly recommended to minimize the amount of work that must be done in this event.
getSubjectpublic PermissionSubject getSubject()
subject- the subject
- the obtained permission function
getProviderpublic PermissionProvider getProvider()
setProviderpublic void setProvider
(@Nullable PermissionProvider provider)Sets the
PermissionFunctionthat should be used for the subject.
nullwill reset the provider to the default instance given when the event was posted.
provider- the provider
toStringpublic String toString()