Item as a key to specific block command plugin?

So I am trying to find a Plugin that allows me to use any item as a key and using it on a specified block to activate a command

For ex in pixelmon
Say i use an anvil and turn a ruby into A ruby Key. The ruby key has a command to spawn A groudon but only in a certain spot. You make a custom location and a certain block activates the key and it spawns groudon with some text.

Is there something like that?