Inactive [MECH] PistonChest v0.5.2 - Pistons push Blocks into Chests [1060]

Discussion in 'Inactive/Unsupported Plugins' started by narrowtux, Jul 7, 2011.

  1. Offline


    Pistons push Blocks into Chests or pull them out
    Version: 0.5.2

    Source Code on GitHub

    • Push Blocks into Chests, Dispensers and Furnaces when they hit one
    • Special Furnace-Support, only uses the input stack there
    • Sticky pistons now pull the first block out of chests/dispensers and the product-block out of furnaces. Items won't be pulled for now.
    • No Permissions and Configuration needed, drag'n'drop install.
    • Lockette and LWC support (Pistons won't pull or push anything out of protected chests/dispensers/furnaces)
    • Configure if you want to protect your chests with LWC or Lockette (Config is auto-generated with nice defaults, so it runs great out of the box)
    • uses NarrowtuxLib
    Version 0.5.2
    • Updated for NarrowtuxLib
    See the whole changelog

    • Option to make pulling blocks/items random instead of using first block.
    CoD511, FrAz, skeletonofchaos and 4 others like this.
  2. Offline


    What do you mean?
  3. Idea: Make it able to pull boats and minecarts out as entity's :)
    narrowtux likes this.
  4. Offline


    Version 0.4 is out!
      • Sticky pistons can now pull Vehicles and Items
      • You can configure exactly what sticky pistons should pull (blocks, vehicles, items)
    Also, the download has been changed to my new site, to track download counts (only that ;))
  5. Offline


    I mean that dropped Items can be pushed into a chest :)
    Like in a Mob Farm :)
  6. Offline


    Very cool!
  7. Offline


    Ah, yes.
    I already thought about adding entities from the world to the chest. That would include Drops and Vehicles, so it's easy to revert what the sticky piston does.
  8. Offline


    on CB 953 and 0.4 of the plugin i get some problems.

    The piston pulls the block out of the chest, but then the piston brakes, so it is a one time use for me.
    It reports the following error btw.

    2011-07-16 19:04:41 [SEVERE] Could not pass event REDSTONE_CHANGE to PistonChest
            at com.griefcraft.lwc.LWC.findProtection(
            at com.narrowtux.PistonChest.PCMain.isChestPublic(
            at com.narrowtux.PistonChest.PCBlockListener.onBlockRedstoneChange(
            at org.bukkit.plugin.RegisteredListener.callEvent(
            at org.bukkit.plugin.SimplePluginManager.callEvent(
            at net.minecraft.server.BlockRedstoneWire.a(
            at net.minecraft.server.BlockRedstoneWire.g(
            at net.minecraft.server.BlockRedstoneWire.doPhysics(
            at net.minecraft.server.World.k(
            at net.minecraft.server.World.applyPhysics(
            at net.minecraft.server.BlockRedstoneWire.g(
            at net.minecraft.server.BlockRedstoneWire.doPhysics(
            at net.minecraft.server.World.k(
            at net.minecraft.server.World.applyPhysics(
            at net.minecraft.server.World.update(
            at net.minecraft.server.World.setData(
            at net.minecraft.server.BlockButton.interact(
            at net.minecraft.server.BlockButton.b(
            at net.minecraft.server.ItemInWorldManager.dig(
            at net.minecraft.server.NetServerHandler.a(
            at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
            at net.minecraft.server.NetworkManager.b(
            at net.minecraft.server.NetServerHandler.a(
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(
    With Lockette it get a similar error while using this plugin.
    Chest is not protectet in any way, even no worldguard region or something that could mess something up.

    Hope you can get why it is happening for me, would be nice to use this nice plugin.

  9. Offline


    Fixed ;)
    Released v0.4.1
    • Fixed NPE when using LWC as Chest Protection
  10. Offline


    May you add support for double chests?
  11. Offline


    Yep. Good idea ;)
  12. Offline


    Ok, errors are gone so far, nothing in the log.

    Piston pulls the block out of the chest, but still brakes after a one time use.
    So i have the chest with a block next to it and a dropped sticky piston next to it.

    I am not sure why this happens, and without any errors in the log i can not realy help you finding the problem.

  13. Offline


    Can you post 2 screenshots of this (aka before/after)?
  14. Offline


    Here they go,

    and it does not make any difference if i power the piston from any other side or with a diode next to it.

    Even tried it with putting blocks around the piston, still braking it.


    Hope that maybe can help you, even tried it to disable all other piston related stuff, but this still happens to me.

  15. Offline


    Oh, I got the same error too :D
    Let's see how I can fix it.


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


    Ok, thx for that fast fix, will test it out in about 20mins after the next planned server restart, my users start hating me for that not planned restarts in the last days.

    So thx again and keep up your good and fast work.

  17. Offline


    instead of restarting, just adds minimum lag as long as the reload is being done :p
  18. Offline


    how do i install this plugin i get this zip file istead of a .jar
  19. Offline


    Click on Save instead of open when you download it.
  20. Offline


    i did i got it saved in my plugin folder as
  21. Offline


    And you clicked on Showcase.jar in the description?
    Some Windows systems convert this to zip somehow. If you've got enough time, scrawl through the Showcase thread, someone had a similar problem there.
  22. Offline


    ty for trying too help
  23. Offline


    could you make a lil plugin to make pistons take from any chest connected to it?
  24. Offline


    It's already in this one. Just use sticky pistons.
  25. Offline


    oooh thx
  26. Offline


    When you say "entities", do you mean mobs too?

    And what is BukkitContrib? I'm not sure if I want it if I don't know what it does.
  27. Offline


    This should only be possible having an empty bucket in the chest.

    I'm using dropchest for collecting drops and minecart mania would provide minecart management if I wanted to.
  28. Offline


    It does nothing itself, it just offers developers access to things that are not possible with bukkit alone.
    I don't know if it would be good if mobs would be pushed into chests, that would just not be logic.
  29. Offline


    Yea I figured you wouldn't, but just making sure. That would be kind of funny though, to open up your chest and see a creeper.
  30. Offline


    Amazing, this is exactly the way I hoped that "duping" would be re-implemented. Glad someone who actually knows Java could make this. Now my users can make their auto-building houses again!

    Two things:
    1. Plugin does not like pulling blocks that can only be gathered by spawning, such as the bed "block", sign "block", portals, etc. (numbers 23, 63, 68, 90. I'm sure there are others, just can't think of them.) When such blocks are used, it places them and either destroys one of the pistons (bed) or halts their motion (sign). Maybe make the check for items also skip these?
    2. Does this work with double-wide chests, or is that still a work in progress?
    Regardless, great plugin. Thanks so much for making.
  31. Offline


    this is very useful, but do you think that in the future that if [wood][cobble][cobble][chest] with the wood as the piston it would still push the block into the chest? i'm using some other piston plugins with this to make a stone factory, but it won't work without the piston being at least 4 blocks away from the collecting device, whether it is a human or a chest, do you think you could put that on the list?

    hmm, maybe you could make it a sort of mob arena, where you could catch mobs in a chest with a piston, and then pull them out to fight them with a sticky piston...but it would just be a matter of storing the mob in the chest

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

Share This Page