[API] Permission check event
Closed this issue ยท 2 comments
hey,
it would be great if there is an event in the API for when LP checks the permissions which allows changing the result, so we can overwrite the LP permission check in some situations.
Terrible idea. Straight up kills the performance. Event systems are not cheap, you know?
The next best thing LP offers are transient permissions. They are permissions plugins can assign to players (and groups I think). They overrule all other permissions, they are never saved and don't show up with any commands. Perfect to override certain permissions.