EchoPet

EchoPet

882k Downloads

Menu permission PlayerInteract

recon88 opened this issue ยท 3 comments

commented

Could you please add the node "echopet.pet.menu" to the PlayerInteractEvent as well?
It currently only blocks the "/pet menu" command if you negate it but you still can access the menu by rightclicking your pet. I want to be able to completly disable that.

commented

Currently working on a better inventory menu system which will make this easier to support.

Sorry for the very very late reply :(

commented

The commit above implements your first suggestion ๐Ÿ˜„

commented

Even better would be:
Make the menu contents dependent on the permissions a player has.
Example: I negate "echopet.pet.ride.sheep" and the riding entry for sheeps no longer shows up in the menu.

I'm fine with both solutions but it would be nice to get at least the first one :) That's currently the only thing that prevents me from using the plugin.