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).
-
View User Profile
-
Send Message
Posted Mar 1, 2014Can you please update this for CraftBukkit 1.7.2? That would be very nice
-
View User Profile
-
Send Message
Posted Dec 13, 2013I'm trying to get this plugin to work with ultimate skyblock. I want to link the button to /island or /skyblock That will automatically teleport to a custom warp. It doesn't work, even with the @p pointer
Here's my errors:
-
View User Profile
-
Send Message
Posted Sep 2, 2013@eogen
It runs as the console. As if you typed the command into the console. If you want to stop someone from using it without permission you can use sudo command from essentials.
Ex. /sudo @p time set day
Hope I helped.
-
View User Profile
-
Send Message
Posted Sep 1, 2013Does the command run as the person who set the button, or the person who pressed the button, for permissions purposes?
For example, I (as op) would like to make a button that would allow users to run '/time set day' by pressing the button, but not give them individually the right to run '/time set day' from the command line.