Did you ever want to perform commands just by clicking on buttons? Then here is the solution! SignEXE allows you to execute commands with signs, buttons and levers.
Below you can see how to set them up. Also you can open the help page by doing /signexe on your server.
Write [SignEXE] on the 1st line of a sign, and a command on the others. If a player rightclicks it, he performs the command on the lines.
Write [SignEXE] C on the 1st line of a sign and a command on the others. If a player rightclicks it, the console performs the command.
Place down a button or lever. Then look at it and do /setcmd <command without / >. If a player interacts with it, he performs the command. If you want the console to perform the command, just do /setconsolecmd <command without />.
Since v1.4 you can insert the variable @p into commands. It will be replaced with the name of the player who clicked.
Example:
(Doesn't work on signs, I may add it too)