[Request] Kit permissions
bartoke opened this issue ยท 2 comments
Since I can't post a Pull Request, I'll do it here.
I have a request: that you get specific commands on kit choose, for example, you choose the Archer kit and you get the permission "myplugin.area.archer" that allows you to enter the Archer area.
You may be thinking "you can do this with commands?"; well, my request is when you add the permission, and you die using that kit, the permission will be gone, because your kit will be reset. For example:
- Player chooses Archer kit: gets command potion speed 10 10 and permission myplugin.area.archer
- Player fights and dies
- Player loses permission myplugin.area.archer and his kit is reset
...... - Player chooses Ninja kit: gets command potion jump 10 10 and permission myplugin.area.ninja
..........
Would that be possible? That'd allow us to have kits with special abilities, such as explosive arrows, without other kits being able to do explosive arrows.
Thanks!
My thoughts would be targeted (kit specific) on-death commands. How's that idea sound?