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).
@HON95
Guess i'll have to switch, tiggercmds is going to break with R5and looks like no one else continuing it, was nice being able to use signs above those buttons without have to show the commands etc...
@metallicwafflez
Awesome :)
**APPROVED!** :D thanks for this plugin it works great
@XeonG8
Different, but based on the same concept. This one uses signs instead of a database, plus a lot of extra features.
Is this better than Triggercmds.. or just different???
@CosmicVoyager & @serpi90
Yeah, I could add an option for that I guess. :P Problem is that I need somewhere for the info to be stored/written to. There's not enough space for both the command, an optional permission line and an optional line for disabling the current or not... Although, I could make it so that if the player wants to change the redstone-current output or add a permission, they would have to use a custom alias command they could configure with current- and perm-options in the cmd-alias config. Awesome idea anyone? Yay or nay?
@CosmicVoyager
It means the redstone current is cancelled, not the command.
@HON95
Could it be possible to enabe the redstone current per button ? off by default, but possible to turn it on per buton.
"If the player pushes a commandbutton and has the right permission to use it, the button's redstone current will be canceled. "
I do not understand. Why is it cancelled if they have permission?
@Folas1337
Please add redstone! I do not only want to limit that to one command! I want to give rewards and people should be warped out first and then given the item, after a delay (with redstone). That would be soooo great, really!
@jacklink01
I can add a option for it in teh config.
Any chance of making it so the redstone connected to the button continues to work?
@jacklink01
It's not possible ATM, but I guess i can add it. Thanks for the suggestion :)
Also, doesn't the bukkit.yml allow for alias commands with multiple commends for each? Pretty sure it does.
Is it possible to execute multiple commands on 1 sign??? If not, you should def add that :D
@colony88
I'll do some more tests then... Is it urgent, or can it wait?
EDIT: It's working just fine. I tested it with bPermissions, ButtonCommands and MobDisguise (don't ask), giving myself permission to use, break and create console commands signs.
@HON95
Still not able to use or break a commandsign. Used a fresh R3 server, fresh bPermissions v2.8.3 and fresh ButtonCommands v1.3
Used all permission nodes provided.
@colony88
I tried it out. My perms are working. If your problems persist, give me some more info and I'll try and sort them out.
I did have a hard time trying to set the perm nodes though, since bperms enjoys automaticly saving it's configs.
@HON95
Tried all of them. Using bPermissions
@colony88
Did you give yourself 'buttoncommands.use.normal' or 'buttoncommands.*' which i recently added?
If I deop myself, I can't use the buttoncommands :( not even the ones I have permission for.