[MECH] ControlIt v1.0.1 - Turn blocks on and off [953]

Discussion in 'Inactive/Unsupported Plugins' started by Ghost_Sailor, Jun 30, 2011.

  1. Offline

    Ghost_Sailor

    ControlIt - The Controlling Plugin : v1.0.1
    First of all, This is my first plugin for Bukkit. I give credit for the original source to Hell_Fire, with his ControllerBlock, found here. I didn't change too much of it, so it still resembles it a lot. I made it a tad bit more efficient, and changed a few settings. I also updated some of it to work with the latest build. Nothing too noticeable. I don't claim credit for it, nor do I expect it.


    Iron blocks can be turned into control blocks. Place the block, place a redstone wire or torch on top, switch to the type of block you want to toggle and hit the iron block with it. (Can remove redstone on top after it's been set as a control block). 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 that block type.

    Once you're done placing blocks, hit the iron block again and it stops editing, and is ready to start. Power the iron block, and they will appear, remove the power and they'll disappear again. Invert the control with a redstone torch on top of the block. To remove the binding, just remove the iron block.

    Using redstone torches as a block is disabled, because it creates an infinite on/off loop.

    Issues:
    • Placing a block in snow/flowing water/lava doesn't register.
    • Liquids being directly controlled don't work properly.
    If anyone has any ideas or requests, tell me.

    Features:
    • Uses rcjrrjcr's permissions plugin.
    • Uses an iron block as a controller block.
    • Toggles blocks on and off.
    Download: [Jar]
    If updating, Copy any files in the ControlIt folder, besides Config.yml, and then delete that folder. The reason for this is that it cannot auto-update the config, and the copied things are your already placed ControlIts. Run your server, and then paste the copied files back into the new folder.

    Message me for the source.
    Changelog:
    • V1.0.1 Released. Added banned items list, and verified compatibility with Build 953.
    • V1.0.0 Released
     
    sinkir likes this.
  2. Offline

    captainawesome7

    So you changed pretty much nothing?
     
  3. Offline

    Ghost_Sailor

    I could of sworn I said exactly what I did for those that read English.. Oh well. Better go learn Portuguese.
     
  4. Offline

    shadrxninga

    your missing a small description in the thread title
     
  5. Offline

    captainawesome7

    I was just puzzled because the original plugin isn't inactive, so why did you make one that does the exact same thing?
     
  6. Offline

    Ghost_Sailor

    Multiple reasons. A: It's a few builds out of date, and not as efficient as it could be. B: I'm new to Bukkit plugins, and needed some practice. C: I thought it was a really good idea.

    Thanks shad, this layout is new to me.
     
  7. Offline

    captainawesome7

    Ahh just downloaded both the file size is alot smaller, I'm assuming thats part of being more efficient?
     
  8. Offline

    Ghost_Sailor

    Partially. It's not too much more efficient, so it isn't noticeable, but it is a small bit.
     
  9. Offline

    tha d0ctor

    can you convert your current controller blocks to this?
     
  10. Offline

    MatCat

    I'm so glad you picked this up to continue it! And my server is greatful for it too!
     
  11. Offline

    feildmaster

    This, and the original plugin, are pretty cool.

    I could see this working in conjunction with QuantumConnectors, and creating hidden doors and such...
     
  12. Offline

    MatCat

    I want to see what I can do with these + Pistons, I.E. Remote Controlled pistons ;)
     
  13. Offline

    kyku

    can u add source?

    plugin is still bugged...
    Show Spoiler

    [​IMG]

    Bugged materials: sand, gravel, torch, button, leaver, flowers, mushroom, ...

    edit:
    with piston all block are bugged :p
    screen:
    Show Spoiler
    [​IMG]


    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
  14. Offline

    MatCat

    Confirmed with the dupe glitch above, I just produced it and was coming here to report it ;).
     
  15. Offline

    Ghost_Sailor

    Oh, whoops. Thanks. Seems I forgot to add the list. I'll go do that now.

    If anyone wants to test the alpha version for 1.7.2, tell me, and I'll link you.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
  16. Offline

    Anthonydou91

    Hi. First of all, I want to thank you for having restarted the Hell_fire's project.

    On our server, we've installed the ControllerBlock plugin. There is arrond one thousand ControllerBlocks ! But there is a problem with the plugin : the server fails to manage them all well.

    When we use too many ControllerBlocks, the server give us this alert :

    [WARNING] Can't keep up! Did the system time change, or is the server overloaded?

    The problem does not resides in the error, but in the consequences on the server. When many ControllerBlocks are blinking, some lags appears and the error message floods the console.

    It is possible to optimize this or to split in some files the Controllers (eg. when 400 CBs are created, the plugin creates a new file to avoid overload of CBs in the file) ?

    Thanks for your response.
     
  17. Offline

    Nicofuma

    Hi. Can I have the source please ?
    I work with Anthonydou91 and I want to see if I can solve it.

    EDIT : I think that it's possible to solve it using an SQL Database like MySQL, can you see it ? But need to test it because I don't know if the database can endure.
     
  18. Offline

    Ghost_Sailor

    Okay. I have a running alpha version, and I'm testing it, and I might add a set limit of them. It is set up so that they are all managed in the same spot for less searching. If it had to search through multiple files to find one, would take longer. The SQL Database is a good idea, but I'm not too good at SQL. I'm gonna go find the source and then upload it, and then message both of you a link.
     
  19. Offline

    Nicofuma

    Thank you, I looked at the ControllerBlock today to see if it is possible to use a SQL database, but I think that there is too much to change and therefore it is almost easier to do a new plugin.
     
  20. Offline

    Plague

    Update the plugin to latest recommended build and change the title accordingly.
    Failure to do so will result in this moving to INACTIVE section.
     
  21. Offline

    colin8696909

    wait isn't this a rip off of control block the way you activate it is even the same.
     
  22. Offline

    kahlilnc

    No its basically a fork...
     
  23. Offline

    colin8696909

    no its a control block used to toggle between one block and another. ya i went through this again there the exact same thing. EXACT.
     
  24. Offline

    kahlilnc

    ... >_> It is a fork. The control block hasnt been updated for a long time.
     
  25. Offline

    Ghost_Sailor

    Colin. Kthxbye, If you fail to read both of the threads, I will not talk to you.

    Anyways, I put out V1.0.1. It has a larger disallowed types list, and is confirmed to work with build 953.

    I have updated the download link accordingly. Should I keep the old downloads up, or clear them out with every update?

    I just realised something. I forgot to tell you guys about the special upgrade instructions. I put that after the download link.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
  26. Offline

    colin8696909

    o i see sorry i misunderstood what fork was.
     
  27. Offline

    Rickster

    Some blocks that have different "items" than blocks (like redstone dust and sugarcane) do not work. If you harvest sugarcane, you get the item, but if you use "/item 83" you can get the sugarcane block. There is a difference, because trying to set the controller block to the item (the one everyone has) is not possible, but the block (only spawned or hacked into inventory) does work. So it is possible to control sugarcane with a controller block, but most normal players cannot because they have the item, not the block.
    You need to make it so that when the controller block is clicked with the sugarcane item, it sets the controller block to the sugar cane block (83), because a controller block cannot be set to an item. This is the same with redstone, as it also has a different item than block (the block is the one that looks like a white cross, id 55).
    Why would someone want to control sugarcane? For farms of course! It works great with cactus. Control the bottom block, let it grow, switch lever for instant harvest! The bottom block dissappears and the top ones pop off. This would be cool with sugarcane, but it is currently not possible without inventory hacks or spawning items, since the block sugarcane is necessary.
     
  28. Offline

    thenofearer

    Great job! I use ControllerBlock and I've been looking for a slightly more efficient and updated one ever since

    Keep at it bro, there is a lot of potential for this
     
  29. Offline

    QQCucumber

    Can we get some updated for this? SuperPerms would be nice. Maybe you could toss it up on BukkitDev too.
     
  30. Offline

    Kaito

    for cb 1000 pls :)
     

Share This Page