ButtonCommands

ButtonCommands
- Version 1.9 -
- # Main Page
- Documentation
- Commands & Permissions Page
- Variables & Color Codes Page
- Config File Page
- White-List Config File Page
- Alias Config File Page
- Source code
Features
- Execute one or multiple commands after a button has been pressed.
- Execute normal commands.
- Execute console commands,using the console command sender.
- Execute redstone triggered commands.
- Execute alias commands, which lets you specify multiple normal or console commands to be ran.
- Command white-list. White-list all or only selected commands. Not for normal button commands.
- Variables. Get inserted before the command gets ran.
- A few somewhat useful commands.
Buttons in relevant positions to command-signs will execute the commands on the signs.
Long version (kind of important): Documentation
This plugin doesn't hook into NMS or CraftBukkit, only the Bukkit API, so it should work on most upcoming Bukkit versions. If there's no big red line somewhere in this description saying it's broken, it isn't yet.
FAQ
Q: Why don't redstone commands work?
A: You or your server is doing it wrong. These three ways work as long as you haven't touched any weird settings and don't use any weird plugins: Three ways of setting up redstone command signs
Q: Why don't something else work?
A: Please check the Known caveats on the latest file (files).
-
View User Profile
-
Send Message
Posted Jul 19, 2012@HON95
lol, I figured out what happened. I just forgot I set my attack with a button to do something similar to what I made the sign to do. It wasn't the same, but similar and I forgot about it.
-
View User Profile
-
Send Message
Posted Jul 19, 2012@DrakenStark
Tried it. Nope.
-
View User Profile
-
Send Message
Posted Jul 18, 2012I found an interesting glitch that will allow for people to use a command button without a sign. Put up a sign and place two buttons around it. Take apart the sign and one of the buttons, the remaining one will continue to work.
-
View User Profile
-
Send Message
Posted Jul 18, 2012@sleepyprince
There are options for that both in the config and the alias config. If you want want all command buttons to forward the current, change
current.hasPermandcurrent.missingPermin the main config. If you want just some of them to forward the current, make aliases and change the relevant settings there.-
View User Profile
-
Send Message
Posted Jul 18, 2012@DrakenStark
You're right. I forgot to insert the variables into alias commands. :P I'll release a fix when I get the time.
-
View User Profile
-
Send Message
Posted Jul 17, 2012Is it possible to have the button pass-through after the sign command? I mean when the a sign is assigned to a button, the button currently cannot activate things like dispenser anymore.
-
View User Profile
-
Send Message
Posted Jul 16, 2012It seems like Alias's won't use {N} to pick up their username. Maybe I'm doing something wrong? I'm looking to use the following:
youcanfly: commands: - xp {N} -25 - fly {N} enable: true current: missingPerm: true hasPerm: false permission: '' ignoreOtherPerms: true ignoreWhiteList: true
-
View User Profile
-
Send Message
Posted Jun 27, 2012@Zroom28
Use aliases. If things are still unclear, just ask (again).
I added one line to all of the command types under "How to use" to hopefully make things a little bit clearer.
-
View User Profile
-
Send Message
Posted Jun 26, 2012How do you make 1 button run multiple commands? I noticed that was in the plugin description, but can't figure out how to do it. any assistance would be great :D
-
View User Profile
-
Send Message
Posted Jun 25, 2012@Talocitie97
Redstone commands are using the console command executor. If you want a player to run the command, you can probably use Essential's (if you have it insrtalled)
sudocommand. I probably won't add a function like that, but thanks for the suggestion though. :)-
View User Profile
-
Send Message
Posted Jun 23, 2012@HON95
Alright, well on installation of the plugin command-signs reset its configuration. When both configs are set up, they seem to run fine together.
Also, with the Redstone Commands, what player runs the command? Or does it only work for console-enabled commands? It would be a great feature to be able to choose what player runs the command for normal commands and Redstone Commands.
-
View User Profile
-
Send Message
Posted Jun 16, 2012Wow! Great plugin! Very useful in SO MANY WAYS!!!
-
View User Profile
-
Send Message
Posted Jun 9, 2012@Talocitie
It didn't.
-
View User Profile
-
Send Message
Posted Jun 7, 2012Can I ask why this plugin deleted all my 'Commandsigns' data from the Command-signs plugin and rendered it useless? I would like to use this plugin for its red-stone capabilities, in conjunction with Command-signs.
-
View User Profile
-
Send Message
Posted May 31, 2012@jullegend
Long story short: No.
For the plugins which registered a permission with the command I could check, but most devs on here don't do that. If they (other plugins) check for the permission in their command execution code, there will be no way for me to check what permission the command might look for. Sorry :(
-
View User Profile
-
Send Message
Posted May 29, 2012Can you make the buttons work for Players who normally do not have premission to use the
command?
-
View User Profile
-
Send Message
Posted May 15, 2012Well done! I'm using it for my Server, and I love it
-
View User Profile
-
Send Message
Posted May 12, 2012@LMGH
It should and does work perfectly with PEX, as long as PEX is set up correctly.
How my PEX YAMLs looked like when i tested it: BC PEX Test
-
View User Profile
-
Send Message
Posted May 12, 2012@HON95
normal players cant use the buttons: You are not allowed to use command signs! But they have got the permissions use command signs: buttoncommands.use.normal, buttoncommands.* Hereis a list of my plugins
-
View User Profile
-
Send Message
Posted May 11, 2012@LMGH
I tested it with PEX. It worked perfectly. So I won't be able to help you without further information.