blockplacemods doesn't check permission #19
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I think you can use the right click event anywhere, you probably want to fire a block place event and check if it's cancelled before changing the block.
This is already done in the tilehelper module.
I have the priority set to "monitor" and I check if the event isn't cancelled before continuing. It should be fine.
The problem is that a right click doesn't (necessarily) change any blocks and thus the event is not cancelled by other plugins (e.g. PlotMe).
That's why you should fire a place block event to check if a player is actually allowed to build.