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?)
@waflija
Glad to hear you got things sorted out. Not sure why config seems to give people issues sometimes. :/ (Perhaps a copy of people's non-working config would give a clue.)
@Enigma9N
jep. got it running. now. Damm file-permissions. That was the Problem...
@ExtraordinaryBen
no. It is one copy. the (1) is there because i downloaded it twice to make sure the download isn't broken
@waflija
Well right off the bat it looks like you might be trying to run two copies of ControllerBlock. ("ControllerBlock(1).jar")
Are you using my build in comment #72?
I allways get this error - I downloaded the newest version running on git-Bukkit-1.2.5-R1.3-13-g7ab0391-b2190jnks (MC: 1.2.5) (Implementing API version 1.2.5-R2.0)
@ExtraordinaryBen
Hey thanks for all that you're doing! I use this plugin ALL the time, mostly for wireless redstone using torches.
But one thing I was wondering... Do you think you could either share your fork, and or add something in the config maybe, to make it so we have to be crouching(sneaking) for it to start editing the block, and moving the block with the stick, etc... Reason I say... is because I put buttons on my blocks and CONSTANTLY accidentally, click the block instead of the lever or button and then it starts editing, and gets all messy and who is editing what on what etc.....
I implemented that exact feature in the past using an old fork, but considering I don't have access to your updated source... I can't do it myself..unless I re-updated everything you have already...
I don't remember where exactly I placed the code, but I remember it was something like this: (it's super easy to do, this is just a sloppy example.)
etc etc...
Thanks again hopefully this will be-able to be implemented! also... If you need anyhelp, just let me know. I love this plugin and would love to help.
Sorry I haven't checked back sooner, been busy with preparing for a math test.
@HostCow It's possible that it's MultiWorld, but I somewhat doubt it as CB capable of handling multiple worlds. I'm not sure but it might be some sort of permissions or protection plugin conflict. Is the ControllerBlock.dat file empty when you restart?
@vipar1812 What version of Bukkit are you using?
_______________
HELP!!!!
Extraordinary Ben.. i need your help 0.0 Everytime i restart my server all my controller blocks are cleared 0.0 btw i have multiworld if thats the prob.
Zero, can you please!!! add ExtraordinaryBen to the Authors-List?
Then he can maintain your plugin for you while youre being somewhere doing something. I love that plugin and having it maintained properly would bring some benefits, I guess.
@ExtraordinaryBen
Thanks for adding PEX! Now I can use this again. Your awesome!
@mje_register
ControllerBlock now uses PermissionsEx for permissions handling. (Change is not reflected in config file, but will work just the same. Read config file for available nodes.)
I use CraftBukkit 1.2.5-R1.3 (2149) from MC Port Central and ControllerBock from Post #61 and it works fine. Don't get crashes or errors if I or my players using it.
Tanks a lot to ExtraordinaryBen!
@mje_register
Thanks, I'll try to add support for it this weekend. ;)
@ExtraordinaryBen
Pex!
Clearing the dat file fixed it right up, thank you!
It looks like ControllerBlock is having trouble loading your "ControllerBlock.dat" file. Perhaps it's corrupt? I'd suggest temporarily moving it and see if your server start up fine then. (Maybe try using CB2167, I'm using that and it works fine.)
@ExtraordinaryBen
Using: CB 2149 & ControllerBlock.jar as linked in post #61 below
Whether using an old v1.52 config file, or generating a new one, everything seems to start up fine, but just after the server completes booting up, I get the following error:
Zero only designed ControllerBlocks to work with NijikokunPermissions, so it's probably not working for that reason.
What Permissions plugin are you using? I can probably add support for it. ;)
@ExtraordinaryBen
Hmmm permissions do not seem to work. The settings do in the file, I did not catch this right away since I am op, but the special groups cannot create them. If I set the config file to AnyoneCanCreate=true, everyone can build. It ignores permissions. If I set it to false nobody but ops can build and then only because ServerOpIsAdmin=true is set and I am in the op.txt.
Or am I totally missing something. I have the permission nodes set correctly.