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

    narrowtux

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


    Download
    PistonChest.jar
    Source Code on GitHub

    Features
    • 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
    Changelog
    Version 0.5.2
    • Updated for NarrowtuxLib
    See the whole changelog

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

    narrowtux

    That already works ;)
     
  3. Offline

    noahwhygodwhy

    i tried it, but it didn't work for me, could of been lag, i'll try again.
     
  4. Offline

    svennp

  5. Offline

    narrowtux

  6. Can you add some way to make this work (or not work) on specified worlds? I want to use this, but I don't want it enabled on my survival world.
     
  7. Offline

    narrowtux

    Maybe in the next release when I refactor some code to use the new piston events. The plugin should get even more reliable then.
     
  8. Offline

    svennp

    yes, its the newest.
    and btw why did it install bukkitcontrib to my server?
     
  9. Because it uses NarrowTuxLib, and that library somehow now auto-downloads BukkitContrib...

    I know, it's getting silly with this.
     
  10. Offline

    narrowtux

    Ah, I fixed that issue for LWC not for Lockette. Were the affected chests protected or not?
     
  11. Offline

    svennp

    not protected, i made an cobblestone factory, and just made pistons push it in the chest, it works great, but i get too many errors when i have the plugin active
     
  12. Offline

    narrowtux

    Ok, thank you for the tip, I'll fix that ;)
     
  13. Offline

    Fizzxwizz

    I love this mod, it is great for making factories that are fully automatic.
    Also, now it is possible to collect ice blocks when using this mod.
     
  14. Offline

    phaed

    Really? Are you really telling me that this simple one off plugin actually decided out of the blue to download BukkitContrib and install it on my server without my permission?

    Had a heck of a time trying to figure out how BukkitContrib MAGICALLY appeared on my plugins folder after begin deleted over and over again. FIX THAT.
     
    Rwembee likes this.
  15. Offline

    Sinazok

    If BukkitContrib is required for this plugin to fuction, then fine. Just make a download for BukkitContrib 0.1.5 available please. It automatically downloads 0.1.7 which errors a lot when people login under Bukkit 953. If BukkitContrib is not required for this plugin to function, please do not try to force us into getting it. I really want to use PistonChest but I either need to be rid of BukkitContrib or obtain a version that will shut up on Bukkit 953.

    On a side note, the fact that BukkitContrib automatically updates itself to the latest version by default is not very smart. Some people wait until at least their main plugins update before getting the latest recommended Bukkit. Also, PistonChest fetching the latest version of BukkitContrib is annoying because PistonChest appears to be built for Bukkit 953 (which I'm using) and the latest version of BukkitContrib is built for Bukkit 1000.
     
    Rwembee likes this.
  16. Offline

    Danjabis

    Is there any reason this was working with bukkit 1000 and then magically stopped, with no errors or anything?

    Its a damn shame, this is a cracking mod., I wouldn't mind trying to fix it.

    I know its not supposed to work, but it WAS, so I'd like to get it back to that state :D
     
  17. Offline

    woodzy

    ahh this will make for a VERY NICE automated cobble genorator
    does it support dubble chests?
     
  18. Offline

    Sinazok

    It will push blocks into a double chest but it will stop when it is half full. I haven't tried having 2 pistons shove blocks into both sides yet though.
     
  19. Offline

    JoelDaMole789

  20. Offline

    woodzy

    this isnt working for CB#1000
     
  21. Offline

    JoelDaMole789

    Its working fine for me on CB#1000, as proven in the video above
     
  22. Offline

    woodzy

    not for me what os are you running maby that makes a diffrence? im running liunx
     
  23. Offline

    7eggert

    CB#1000, linux: pushing cobblestone into chest works.

    Maybe this will help:http://forums.bukkit.org/threads/my-double-chest-code-in-development.24997/

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

    Master_Rudik

    EDIT: Fuck, posted error on the wrong plugin...
     
  25. Offline

    narrowtux

    Oh, I kinda missed all the posts here :D
    BukkitContrib shouldn't harm your server in any way, when you're on Bukkit #1000. Hence, this plugin works from build 1000 up. When you use a version that is lower than that, it's your fault.
    I can use BukkitContrib for the DoubleChest inventory, it automatically can give me the largest inventory.
    Soon, I'll switch from Redstone-Events to the builtin Bukkit Piston Events, so the plugin will work even more relieable.
    Then you'd got to update to build #1000 anyway.
     
  26. Offline

    Master_Rudik

    Well, one of my users did accidentally type the /3.1.2 command, which apparently causes BukkitContrib to send a packet to the user's client. If they don't have BukkitContrib installed, their client crashes.

    Just sayin'.
     
  27. Offline

    narrowtux

    Yeah, there's nothing I or even afforess can do about it. I don't know how anyone could get to the idea to type that command :D
    This command just tells the server the BukkitContrib client version. This is the only way to do it, because if the BC client would send a custom packet to the server, the server would crash.
    So the client is forced to send a command.
     
  28. Offline

    Master_Rudik

    Yeah, I understand, I just wanted to point out that forcing BukkitContrib does potentially have bad effects on the server. My user was typing 3.1.2 and actually left a slash there. We were all quite shocked when he said he had crashed from it. :)

    Also, did you take into account my comment on page 3? My (less competent who don't follow instructions) users continue to attempt to place beds and such with the pistonchests, with bad effects.
     
  29. Offline

    narrowtux

    Err, I should do that definitely :D
    BTW: I'd be shocked too when a client crashes. This happens quite often when you develop for Bukkit :D
     
  30. Offline

    Master_Rudik

    Awesome.

    Also, if you want to see what my users have been using this plugin for, here's a screenshot:
    Show Image
    [​IMG]

    In tandem with the InfChests plugin, this is an infinite cannon, similar to what was made back when duping still worked (I may have been one of those server owners who encouraged doing crazy things with duping :-D).

    The person who made this is also currently in production of a three-racked one.
     
  31. Offline

    Fipil

    Hi Narrowtux. Please I receive this error:

    Code:
    18:08:05 [SEVERE] Could not pass event REDSTONE_CHANGE to PistonChest
    java.lang.NullPointerException
            at org.yi.acru.bukkit.Lockette.Lockette.isProtected(Lockette.java:596)
            at com.narrowtux.PistonChest.PCMain.isChestPublic(PCMain.java:93)
            at com.narrowtux.PistonChest.PCBlockListener.onBlockRedstoneChange(PCBlo
    ckListener.java:35)
            at org.bukkit.plugin.java.JavaPluginLoader$34.execute(JavaPluginLoader.j
    ava:476)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:332)
            at net.minecraft.server.BlockRedstoneWire.a(BlockRedstoneWire.java:110)
            at net.minecraft.server.BlockRedstoneWire.g(BlockRedstoneWire.java:41)
            at net.minecraft.server.BlockRedstoneWire.doPhysics(BlockRedstoneWire.ja
    va:286)
            at net.minecraft.server.World.k(World.java:453)
            at net.minecraft.server.World.applyPhysics(World.java:433)
            at net.minecraft.server.BlockRedstoneWire.g(BlockRedstoneWire.java:49)
            at net.minecraft.server.BlockRedstoneWire.doPhysics(BlockRedstoneWire.ja
    va:286)
            at net.minecraft.server.World.k(World.java:453)
            at net.minecraft.server.World.applyPhysics(World.java:433)
            at net.minecraft.server.BlockRedstoneWire.g(BlockRedstoneWire.java:49)
            at net.minecraft.server.BlockRedstoneWire.doPhysics(BlockRedstoneWire.ja
    va:286)
            at net.minecraft.server.World.k(World.java:453)
            at net.minecraft.server.World.applyPhysics(World.java:429)
            at net.minecraft.server.BlockButton.interact(BlockButton.java:156)
            at net.minecraft.server.BlockButton.b(BlockButton.java:125)
            at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:7
    6)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:458)
            at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    I have installed the Lockette in my server.
    I use the latest version of your plugin: 0.4.2
    When i use the piston with a chest, the error doesn't appear.
    How to simulate: Put a piston to ground without a chest. Just piston and the redstone wire and a connected button. Then click to button, BANG - error.

    Please can you correct it?
     

Share This Page