TorchCommand
TorchCommand 1.4

With this plugin you can change redstone torch state with command.
Vault dependency.
Usage
Place a redstone torch.
Type: /tc set name
After this right-click on the redstone torch.
Type: /tc on/off name or /tc name >>> To enable or disable the redstone torch.
Commands
/tc set <name> >>> Set a redstone torch with name <name>.
/tc (on/off) <name> (world) (time) >>> Toggle redstone torch with name <name>between on and off state.
/tc <name> (world) >>> Toggle redstone torch with name <name>between on and off state.
/tc info <name> >>> Get the info about redstone torch with name <name>
/tc delete <name> >>> Delete a redstone torch with name <name>.
/tc list <page> >>> List redstone torches.
Permissions
torchcommand.use.<torchname> >> Permission for command enabling/disabling redstone torches for <torchname>.
torchcommand.set >> Permission for command: /tc set
torchcommand.torch >> Permission for command enabling/disabling redstone torches.
torchcommand.info >> Permission for command: /tc info
torchcommand.delete >> Permission for command: /tc delete
torchcommand.list >> Permission for command: /tc list
Installation
Download latest file and put it to your 'plugins/' folder.
Then restart your server or load it with PlugMan or with other plugin manager.

-
View User Profile
-
Send Message
Posted Apr 16, 2012the torches now stay out with the update but I get this when ever a door or plate is interacted with:
2012-04-16 18:18:58 [SEVERE] Could not pass event BlockRedstoneEvent to TorchCommand org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:303) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:459) at net.minecraft.server.BlockDoor.doPhysics(BlockDoor.java:188) at net.minecraft.server.World.k(World.java:520) at net.minecraft.server.World.applyPhysics(World.java:500) at net.minecraft.server.World.update(World.java:461) at net.minecraft.server.World.setData(World.java:404) at net.minecraft.server.BlockPressurePlate.g(BlockPressurePlate.java:143) at net.minecraft.server.BlockPressurePlate.a(BlockPressurePlate.java:67) at net.minecraft.server.World.a(World.java:2409) at net.minecraft.server.World.doTick(World.java:1757) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:538) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:449) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) Caused by: java.lang.IndexOutOfBoundsException: Index: 0 at java.util.Collections$EmptyList.get(Collections.java:3164) at me.newboy.TorchCommand.Listen.Rs(Listen.java:43) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301) ... 14 more
-
View User Profile
-
Send Message
Posted Apr 16, 2012TorchCommand
...
CommandTorch v1.0
...
/tc
-
View User Profile
-
Send Message
Posted Apr 14, 2012I love the concept of this plugin, I downloaded it so I could use it with scriptblock which runs commands after punching a block, anyway, I set up a torch that was powering a piston with a block above and a piston attached to the block above, basically making a 2 block high piston door.
b p b
t p b
b=block t= torch p= sticky piston
I named the torch, did the /tc torch name the torch went off and then came right back on. so I then just put a torch down named it ran the command, the torch went off for about 30 seconds then came back on.
I am using cb 1.2.5 b1 with a whole bunch of plugins I can get more specific if need be.
This plugin will be very useful I hope there is something easy with it to make it work. thanks.
-
View User Profile
-
Send Message
Posted Mar 25, 2012Awesomeness