RedstoneCommandSigns
This plugin addresses a common request from people using SimpleCommandSigns. Redstone can now trigger commandsigns.
Features:
- SimpleCommandSigns or HiddenCommandSigns can be converted into RedstoneCommandSigns.
- RedstoneCommandSigns run command(s) upon being powered by redstone.
- No configuration necessary.
- Permissions (Permissions 2.x, 3.x, and Bukkit SuperPerms support)
How-To:
- Create a simplecommandsign.
- Type: /rcs
- Left click the simplecommandsign. (First line changes from green to red)
- When the sign is powered, the command will run.
Command:
- /rcs - Create a redstonecommandsign.
Permission node:
- rcs.create: Can create a redstone command sign.
Why is this a separate plugin?:
- Redstone is not a player. Thus permissions cannot be checked on commandsign trigger.
- Command sequences are handled by HiddenCommandSigns.
- SimpleCommandSigns was made to be as lightweight as possible.
- This plugin runs in parallel to the other plugins.
Notes:
- Because the player who triggers the sign is never identified, the %p identifier that was available in SimpleCommandSigns and HiddenCommandSigns will not work.
- Commands are run as the console. Be conscious about what command you have them run.
- Any permissions added to a HiddenCommandSign will be completely ignored by a RedstoneCommandSign.
@flames109
It's outdated. MC Version 1.1
"Left-click the sign you with to convert" I left click it and it breaks.
@Finelarme2
Any chance that the sign is receiving the redstone current from multiple sources?
An update is coming ? Because, it works ok, but when I run a command, I have this command x same lines, I don't know why :D.
For example, when I custom a sign for /butcher, I see on console :
15 mobs kill 15 mobs kill 15 mobs kill 15 mobs kill etc
@wukaboy
Buttons make redstone power, so it should work.
Does this work with button or is it required to always power it with redstone?
@AlmoGSurizon RCS doesn't need a configuration XD
So first you made the SimpleCommandSign and turned it green right? o.o
Then you used "/rcs" to turn the sign red?
I tried to put all the three plugins(SimpleCommandSign, HiddenCommandSign and RedstoneCommandSign) on my bukkit server and only the SCS and the HCS loaded and created a folder in the plugin folder but when I check "/Help" the RCS is there but the SCS is not there and when I use it the "[SCS]" turns red but the redstone power is not running the command.
@offroadguy56
I can't really do much with snapshots. Bukkit has to work with something before I can. They supply the API.
@Devil_Boy
i don't know if this would work. don't the command blocks come out 1.4. i guess you could take a look at the v1.4 snapshot and look at the code for the command blocks. surely they must be similar to your command signs.
@offroadguy56
I just hope that I won't have to write up some inconvenient system to see if the command has been run already before running the second command :/
I won't be able to do any research on this for the next or so though. I move into college tomorrow O.o
@Devil_Boy
well i'm not a programmer. i'm sad to say that the only good i'm good for is just testing. good luck man. guess i'll just stay away from pressure pads on my server. great plugin anyway. looking forward to the new updates, if any.
@offroadguy56
Hmm...
If the levers are working fine, then it seems that this plugin works the Bukkit API correctly.
Yet I don't know why Bukkit would be sending us the redstone-powered event twice for pressure plates :/
Even worse, I can't understand why it would happen on torch break....
We may have to look directly into MineCraft source...
@Devil_Boy
ok video is up now. only took me 17 hours for a 3 min video. next time ill compress it to a smaller file. i just uploaded the raw .avi file to youtube.
anyway here it is: http://www.youtube.com/watch?v=ShyIRHXE7y0&feature=plcp
if theres anything else you'd like me to test let me know.
@offroadguy56
Alright XD
Just tell me when it's up.
@Devil_Boy
ok i made a video but its taking some time to upload to youtube. should be done in about 5 more hours. if you dont want to wait. i found a problem with the pressure pads and redstone torch. not levers or buttons.
the video will show more detail. but pressure pads execute the command twice. while redstone torches execute the command whenever the current changes.
@offroadguy56
Yes please :)
@Devil_Boy
yeah, i put the sign on a block, put redstone infront of the sign, then put a lever next to the redstone.
want me to try with buttons and pressure plates as well?
@offroadguy56
Hmm... You've tested this with a switch? O.O
Sorry I haven't used this plugin in awhile so I'm not sure what happens with switches anymore.
@Devil_Boy
hmmm..... sign commands seem to execute whenever the state of the current changes. on to off. or off to on.