This plugin allows you to add commands to item frames, which execute when a player hits the frame
It allows commands to be executed as player or as console.
Usage is quite simple. First you place and item frame. Then you can add an item if you'd like, but that is not necessary, as it can be done later via a command.