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?)
i was wondering if this plugin works with the newest version of bukkit ? as i seem to get some errors while trying to run it
@ExtraordinaryBen
SQL sounds like a great idea. We could work together on adding that, check your PMs, I sent you one earlier. Individual files may not be as efficient as SQL, so let's try that instead.
Techzune
Owner and Founder of Operon Technologies
@OperonTechnologies
Nice! :D Can't wait to try it out. I was thinking of using SQLite to manage CB data, but individual files works too. Great job O.T. ;)
@ExtraordinaryBen
Too late! Already added WorldEdit to it myself. Hehe, and I even improved the save/load configuration. However, I am unable to upload it without permission. Once I receive permission to do so, I will upload it.
Here is a list of what I added:
WorldEdit:
Currently adding /cblock s OR /cblock remove! :D
Save/Load:
On a side note, I would love to tag along on helping with the programming of this.
Techzune
Owner and Founder of Operon Technologies
ExtraordinaryBen: the plugin works perfectly with MCPortCentrals R3.1 build with IC, BC and Forestry installed, however I keep getting an exception thrown on BlockBreakEvent:
2012-06-14 17:03:06 [SEVERE] Could not pass event BlockBreakEvent to ControllerBlock org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:465) at ic2.common.TileEntityMiner.mine(TileEntityMiner.java:205) at ic2.common.TileEntityMiner.q_(TileEntityMiner.java:65) at net.minecraft.server.World.tickEntities(World.java:1188) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:563) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:463) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) Caused by: java.lang.NullPointerException at net.servfire.hellfire.bukkit.ControllerBlock.CBlockListener.onBlockBreak(CBlockListener.java:62) at sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ... 8 more
As far as I can gather I get these when my IC miners mine, however they work fine, and the ControllerBlock plugin works fine, both of these statements are of course as far as I can tell. Just thought you might like to know of this interaction, it would also be awesome if my serverlog wasn't spammed by this ;) The problem isn't more severe than that my log is getting spammed as far as I can tell. You're doing an awesome job at maintaining this plugin!
@OperonTechnologies That is a marvelous idea. :D I'll definitely try to work on that as soon as I learn how. ;)
@mima19 I'm currently maintaining ControllerBlock, As soon as I learn how to properly setup github with Eclipse I'll probably create a new page for CB. The latest build is on comment 72.
@bluehasia Thanks for pointing that out, I'll try to add face position and damage values in the next update.
Got my Final Exam in Data Structures tomorrow, so it'll all have to wait until probably the weekend. I've also started dabbling with Bukkit's Config API, so I'll start trying to switch over to it. Should make configuring stuff less glitchy. ;)
Love the plugin, but I think a way to make it even more extraordinary would be to add WorldEdit support.
A command like "/cblock add 5" would add all the wooden planks in the selected region to the current controllerblock that is being edited.
Thanks!
anyone taking over?
Oh well, now it works, im able to do that controllerblock.. Thanks bluehasia for the config file! :)
I didnt change anything in the config file, so it shud work as it is, with that config file u have to put the redstone even over the block too..
I went through the config file and i cant seem to find anything thats wrong in there, i can't make the controller block either though..
here is my config file im using my personal amazon hosting
mabye some one can look at and let me know what ime doing wrong?
https://s3.amazonaws.com/hpmss-24adeabf0d87a3ffd3a5982ab3557f63-default/Minecraft/ControllerBlock.ini
can you upload what should be in the ControllerBlock folder because my server just isnt creating one or loading a config file
ok there is one issue my players and i have noticed. is that it does not remember blocks position aka what way a smelter faces or things like wool color i saw with my wool block in the file it just got saved as WOOL no extra value saying it was blue wool
also on the config file i edited it so diamond and gold blocks by adding items to the semi protect list but i still cant use items for those blocks... infact its like the config file is not loading because i set it also for false so players can not break others controller block but we still can
@bluehasia
Okay..?
Well , a config file is always good to have so .. yea..
plugin works, the one linked in forums. just no config file 1.2.5 rb3
edit config loaded took 3 refresh to show filezillia was slow
actually i saw that theres a .jar file upload for 1.2.5 , going to test that out :P
When is controllerblock 1.2.5 comming out?
Are you using my build of CB on comment #72?
If so, please let me know what build of bukkit you're using.
Does this work for 1.2.5, if it does do I only have to put the jar in the plugin folder? Doesn't seem to working on my server. Any help?
quick question. why isnt it generating a ControllerBlock Folder??? any chance you can upload a full folder for me?