[SPIGOT-908] Add PermissionCheckEvent Created: 22/May/15  Updated: 27/May/15  Resolved: 27/May/15

Status: Closed
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Minor
Reporter: Jannik8500 Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: Craftbukkit, event, spigot


 Description   

I've been thinking that it would be cool if there is a PermissionCheckEvent in Bukkit, like the PermissionCheckEvent of BungeeCord.

But why?
With this Event is it possible to give permissions of unloaded plugins to a user, without inject or anything.
So is it very simple to handle permissions for a permissions plugin.

I don't know if this is possible, please excuse me if that's a bad idea/it's not possible.



 Comments   
Comment by md_5 [ 27/May/15 ]

The original permission system implementors decided against this. If you really want this it is possible to inject your own PermissibleBase but that is not supported by the API

Comment by Oliver Dunk [ 26/May/15 ]

I feel this is bad as it'd essentially create an overlap of an already implemented feature.

Comment by PickNChew [ 23/May/15 ]

It's not possible. it wasn't designed for that.

Comment by Jannik8500 [ 22/May/15 ]

I know, but how can i add add permissions like '*' in PEX without injecting?
But i see the problem, any plugins check permissions in the PlayerMoveEvent, so is it not possible because of the server performance.

Comment by LaxWasHere [ 22/May/15 ]

A permissions plugin already has the ability of giving permissions of unloaded plugins without injecting or anything and permissions plugins are there to make handling permissions, well, easy.

Generated at Mon Apr 21 21:30:33 UTC 2025 using Jira 10.3.5#10030005-sha1:190c783f2bd6c69cd5accdb70f97e48812a78d14.