PermissionsBukkit icon indicating copy to clipboard operation
PermissionsBukkit copied to clipboard

Block interact permission

Open aarontwf opened this issue 12 years ago • 4 comments

Block interaction should have its own permission node.

aarontwf avatar Mar 05 '12 07:03 aarontwf

Oh and don't forget to register it in the plugin.yml like I did.

aarontwf avatar Mar 07 '12 08:03 aarontwf

I vote for this one. Very annoying having non-builders unable to interact.

leagris avatar Mar 25 '12 13:03 leagris

I've been playing around with this on my server.

It would seem that when permissions.interact is false you can't build even if permissions.build is true.

To make the interact permission work as you'd (well, I) expect it to you would have to modify the function to check event.getClickedBlock() against levers, buttons, pressure plates, fence gates, wooden doors, iron doors, trap doors, furnances, chests, crafting tables and anything else I missed. Which is way more than I think PermissionsBukkit should be doing.

credomane avatar Mar 26 '12 02:03 credomane

https://github.com/SpaceManiac/PermissionsBukkit/pull/10 Updated plugin.yml permissions.interact: description: Allows player to interact when build is false. default: false Only cancel interaction event if both build and interact are false permissions.build supersede permissions.interact This new node default to false, thus it will not interfere with existing configuration and settings

leagris avatar Mar 26 '12 07:03 leagris