CommandButtons
CommandButtons
A Bukkit plugin that lets you set a command that a button will execute when pressed. Can be used with any command you could usually run from the console.
COMMANDS:
/cb [set/clear/show]
Aliases: CommandButtons, CommandButton
- /cb set <command> - set the command that the button you are looking at will execute.
<sub> permission: commandbuttons.edit</sub> - /cb clear - clears the command from the button you are looking at.
<sub> permission: commandbuttons.edit</sub> - /cb show - show the command of the button you are looking at.
<sub> permission: commandbuttons.view</sub>
How to set commands:
Look at the button and type /cb set <command>
Example /cb set say Hello - When the button is pressed the server will say "Hello".
You can use "@p" (without quotes) to target the player that pressed the button Example: /cb set msg @p Stop pressing me you animal! - When the button is pressed, the player that pressed it will get the message "Stop pressing me you animal!!
You can use "&" to seperate multiple commands. Example: /cb set give @p 276 & tp @p 100 64 100 - When the button is pressed, the player that pressed it will be given a diamond sword and teleported to coordinates 100, 64, 100 (maybe there's an arena there).
I hope you find this plugin fun, useful or in any way good. Please post suggestions on what I should add next and report any bugs in the comments.
Comments