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).
@LeeTheENTP
Alias Commands @ Documentation
@HON45:
I use this plugin for a variety of uses on my server, but I've encountered a problem recently.
What I could really use is support for multiple commands on one sign, or multiple signs attached to one button.
If it's possible, I would really appreciate it if you could add this!
Thanks for your consideration!
@ChunkeeMunkee
I thought I had implemented a way to use aliases from redstone commands, but apparently not. :/ Guess I have to do that for the next update. So ATM, it's not possible.
Right - next question :)
Is there any way in which to call an alias command from a redstone sign?
I'm basically looking to have a number of long console commands set up through aliases, which can be activated from a ComputerCraft terminal, and so was looking at setting these up through RedPower wiring hooked up to redstone command signs. I'm aware that aliases can be daisy-chained through a single alias, but can I call these through a redstone input?
@HON95
Hi HON95,
Sorry, been away from the computer for a couple of days, but thanks for the reply!
I've done a bit of testing, and worked it out. Powering the sign worked the first time, I just hadn't used a command that showed any visible results in-game - checked the console and it had been firing off the command all that time and I hadn't even noticed!
Thanks again :)
@gangstagnu
{N} gets replaced by the player's name.
Hi! I like your Plugin really much, but is that %p for the acutal player name possible? (:
@HON95
Glad to hear that. I do have some future plans that the other plugin won't accommodate, so I expect your work will show up on my server sooner or later. Thanks for the efforts!
@eubie67
LOL, ironic how I just uploaded the fix. But np. :)
@HON95
No worries. I had a very narrow use case, and was able to meet my need with another plugin.
Thanks, eubie.
@ChunkeeMunkee
First of all, does the second line of the sign start with "/r "? Second, what is a "RP red wire"?
@heyitsguay
Hi HON95,
I'm having the same issue at the moment, can't seem to get redstone inputs to work. Tried powering the sign whilst attached to a block with RP red wire, RP repeater, vanilla repeater - no joy. I must admit that I've not tried powering the sign independently...
Am I doing something wrong?
@gangsta3
What?
@eubie67
A last minute fix on the last update messing up and excluding the space. I have fixed the problem, but I won't publicly release the next update until I find something else to add to it.
Why the absence of players OPS can't use buttoncommands?
Only ops can use buttoncommands. Why?
I'm trying to use an alias sign to execute two CEX commands. Here's my alias.yml:
If I take out the targets (NPE and Peasant), the sign will attempt to execute both commands. I get an error in-game telling me that I'm missing the targets from the commands, but at least that shows that the commands were issued correctly by the alias. With the targets included in the alias.yml, I get an Unknown Command error, meaning the commands were not issued correctly by the alias.
I can't specify the targets on the sign as a variable, because there are two different targets and the alias doesn't know what to do with them.
My question is why the alias will run the 'rmr' command, but won't run 'rmr NPE'?
Thanks, eubie
@DepokBoy
LOL, my bad. I managed to mix "pluginUpdateCheck" and "enable" in the config. :P Just set pluginUpdateCheck to "true" and "enable" to false until the next release.
BTW, 1.8 most likely works on 1.2.5
Good job i like this plugin
somehow I can't get this plugin to run. everytime I try enabling it, it automatically disable itself....
even restarting the server doesn't change anything
using v1.7 since I'm running a 1.2.5 tekkit server
other plugins:
- AuthMe
- LogBlock
- Essentials & GroupManager
- WorldEdit
- WorldGuard
- Vault
- LWC
- MobBountyReloaded
- VanishNoPacket
- WorldBorder
- PlugMan
@eagleFMJ
Pretty sure it't uploaded now.