I'm working on a server where instead of buying ranks to get access to certain features such as nicknaming and and other donater features commonly found on most Minecraft servers, I'm hoping to add a system where you find one-use items that give you permissions like the ones you find on other servers.
So for example, lets say you are given an item that when right clicked, dissapears from your inventory, and gives you a permission that allows you to change your nickname with a command.
Are there any Plugins or other methods to doing this?