Controllerblock
ControllerBlock v1.52
Toggle blocks on and off with redstone
Original Created by @Hell_Fire
I didn't have any Problems while testing with CB1240. Please backup your Files! Just to be sure.
Iron blocks can be turned into controller blocks. Drop the block down, drop a redstone wire or torch on top, switch to the type of block you want to toggle and smack the iron block with it. (Can remove redstone on top after it's been set as a ControllerBlock).
Place those blocks down where you want them to be, you can work from multiple piles of it, where it is in the inventory doesn't matter, as long as you place the block of that type.
Once you're done placing blocks, wack the iron block again and it'll save the block locations and ready to go. Power the block they'll disappear, remove the power and they'll appear again. Invert the control with a redstone torch on top of the block. To remove the binding, just remove the block.
I will test this on my local Server and run it on my own Server.
A smallish howto of how to make blocks, and change between types. by Hell_Fire.
http://www.youtube.com/watch?v=pCiztOc8zyU
And a Tutorial of how to build a auto-repairing Spleef Arena @Omen (He used Snow_Blocks as unprotected ControllerBlockType. Standard is Diamondblock).
http://www.youtube.com/watch?v=GG-4g60NTWM
Another one from @Omen which shows us how to use the CBlock-moving feature (v1.41)!
http://www.youtube.com/watch?v=EzPmBaw820o
A video which shows a nice Gate and a moving Windmill @AaronThomas5 on his server ConquerCraft - 67.176.183.45:25565!
http://www.youtube.com/watch?v=LzsvT_lM-WQ
Features:
- Redstone toggleable blocks
Source available on GitHub! (this is old, I haven't set up GitHub on my computer yet, but it contains the main features so far)
Known Issues:
- Duplication Bug with Sand/Torches/Gravel (Right now not solvable due to Bukkit failing in BlockPhysics)
- Occasionally block hits/places/destroys don't register.
- Liquids being directly controlled don't work properly. (Anyone still has this problem?)
Are we likely to get an update for this? It doesn't seem to be happy with 1.2.5 due to similar errors found in the comments below this one. If not, do you think we could get someone to do a continuation of the Plugin?
10:32:30 [SEVERE] Could not load 'plugins\ControllerBlock.jar' in folder 'plugin s' org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: org/bu kkit/event/block/BlockListener at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j ava:148) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager. java:305) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager .java:230) at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:207) at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:541) at org.bukkit.Bukkit.reload(Bukkit.java:182) at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java: 22) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:16 6) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:4 73) at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler. java:821) at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:781)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:764) at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:33) at net.minecraft.server.NetworkManager.b(NetworkManager.java:229) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113) at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:7 8) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:554) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:452) at net.minecraft.server.ThreadServerApplication.run(SourceFile:490) Caused by: java.lang.NoClassDefFoundError: org/bukkit/event/block/BlockListener at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(Unknown Source) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$000(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader. java:41) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader. java:29) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at net.servfire.hellfire.bukkit.ControllerBlock.ControllerBlock.<init>(C ontrollerBlock.java:39) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou rce) at java.lang.reflect.Constructor.newInstance(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j ava:144) ... 18 more Caused by: java.lang.ClassNotFoundException: org.bukkit.event.block.BlockListene r at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader. java:41) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader. java:29) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 37 more HELP
would love if this was updated.
thanks.
@sorklin
How do I install the update? And is it updates to 1.2.4?
I was curious if Controllerblock was on the drawing board to be updated. My server truly enjoyed this gem of an addon and would like to see it come back.
@sorklin
When I try to make a new controller block, it will just say the normal "editing with X block" but then it will say "finished editing controllerblock" before i can put down any blocks. No error in the console at all. The controller blocks already made still work and this problem has happened with bukkit 1.1 R3 through 1.2.3 R0.2. Any help would be appreciated, thanks!
EDIT: I found out the cause is that this plugin conflicts with the plugin godpowers, which it used to not do in the original versions. Thanks for updating this to 1.2.3!
@ShitIDied
Somebody did update this just browse back the comments
Please update to MineCraft 1.2.3
@sorklin
Well Done!
@devilquak
Have you read the Karkuta's post ?
The working config file he give work fine with the sorklin patch
@sorklin Hey, sorry to be a bother, but after a few months of not using this plugin (I used to use the SSP mod), a few of my players needed it for a creative project, so I just installed your version. However, it refuses to seem to work. No conflicts appear in the console on startup, and it's listed under /plugins, so I know it's there and running.
I'm using the newest build of CB alongside your newest version. There are no errors, no conflicts (that are obvious), it just doesn't work. Whenever I place an iron block, and place redstone or a redstone torch on top, and click it with a block, or any other thing that you can do with ControllerBlock, nothing happens. No text comes up, nothing. A config is generated and I have the permission(s), and am OP'ed at the same time, so I don't think the issue is there.
I'm using McMMO however, which uses iron blocks as anvils (to repair tools and armor). Might this be a conflicting issue? I understand if you won't give support for this, since you only made it R6 compatible, but I'm just wondering if you know what's going on. Thanks for your time.
sorklin.... omg BIG THANK YOU ! ! ! !!!!! and Karkuta !! THANK YOUUU for the info and the config file
It's works fine on build 2036 !!
where is my god now ? XD
@sorklin
Not sure why but your version just killed off 220 of our controllerblocks, leaving only 50... no errors and the files are lost... silly me didn't back up.
Just throwing it out there in case someone else gets the same thign with more information..
@sorklin
Just tried out your patch on a fresh server. A while back for either 1.0 or 1.1 I attempted to do a recompiling by decompiling Zero's last release. Unfortunately the java decompiler I used could not handle switch/cases for enumerated types. (Or something like that..) As a result, while the recompiled jar did work. it could not properly generate a config file. Requiring the user to use one generated from Zero's original jar. Anyway, to get to my point, I noticed your patch is doing the same thing. So while it does work, it only works if you already have a working config file.
@nanashiRei The problem your experiencing is what I just mentioned. Here's a working config file. Place it within the "ControllerBlock" folder in your plugins directory.
Just saw you had already updated to R6
Comment Removed
@sorklin
http://www.pastie.org/3510321
Please fix!!! :D
I love you sorklin, and your creepy avatar :)
I've patched for R6: https://github.com/No-Heroes/ControllerBlock
I forked the original CB, decompiled Zero's changes, then patched for R6. I've tested on my server and it seems to work. There is a jar file under downloads on there, or you can clone and compile yourself. I've made all the changes as commits so you can see what i've done.
Not fully tested, use at your own risk.
it's widely used on our server update is needed
This is broken on 1.2
Is the dev still updating? I have never said this about any plugin, but our server relies on it. This is so unique... I've used it since hMod (back in the old 25 block limit...)
If noone else is, I will happily learn Java and update this myself. Out of 69 plugins, this is the most popular :(