on-use, on-aquire
Arisilde opened this issue ยท 7 comments
On my server I've made a pretty intricate class system with your blacklist that limits block usage to certain groups. I tried to make tools (pick, hoe, axe, etc) restricted by class as well, but on-use only applies to right clicking. Any chance to get it to work with left clicking of tools also, or at least get another flag that applies to that?
Also, do you have an estimate when on-aquire will work? It's the only way i know of to restrict armor usage, unless you know of another way?
Eh, that might be possible with ENTITY_DAMAGEDBY_ENTITY, but it would probably work somewhat differently than the normal blacklist...
That's fine, my only requirement would be that it still be group dependent, based off Permissions groups, like the blacklist.
I will look into the first issue.
With the latter, the problem is that I don't know when your inventory changes. Technically I can implement it right now, but I would have to continually poll your inventory very frequently, even if a player isn't doing anything with his/her inventory. Lastly, unless it's frequent enough, the player could have short bursts of time of the item in the player's inventory.
I could live with short bursts of time. My only aim is to keep farmers from wearing diamond armor and such, lol. Rp reasons.
Hell yes! Either that's newly added or I somehow never noticed it before. I'm setting that baby up tonight :D