Privileges

20.5k Downloads

Permissions registration

gravypod opened this issue ยท 2 comments

commented

Right now you add permissions one at a time. If you look in GM/Bperms they reflect that part and allow themselves to put in HashMaps rather than Permissions. It is ugly but if you want to have very fast timings it /needs/ to be done.

commented

Oh, and by the way. Very nice code. Works well and is nice and fat-free. Props, I can see you put A LOT of time into this!

commented

I create a template permission node for every group on every world. This makes it so that assigning each group's permission set is the same as assigning a single node (with potentially hundreds of children). The creation of each one of these template permission nodes is only done one time (when the server starts).

Average profiling time is considerably less than all other plugins I tested with similar amounts of permissions nodes.