[INACTIVE][MISC] AbsorbPlugin v2.1 - Chests, furnaces, dispensers and jukeboxes absorb items! [818]

Discussion in 'Inactive/Unsupported Plugins' started by robin0van0der0v, Mar 10, 2011.

  1. Offline

    robin0van0der0v

    AbsorbPlugin - Chests, furnaces, dispensers and jukeboxes absorb items!
    Version: v2.1

    Features:
    If you throw a item on a chest/furnace/dispenser/jukebox the item goes into them.
    Download AbsorbPlugin!
    Source is inside the jar file.

    Known bugs:
    Sometimes a duplication bug is triggered.
    If chest/dispenser is full then the item disappear.
    If a furnace is burning you can't throw items inside.

    Properties:
    This plugin creates a properties file on Plugins/AbsorbPlugin/config.yml. ;)

    Standard properties:
    Code:
    dispense:
        furnace: true
        dispenser: true
        chest: true
        jukebox: true
    absorb:
        furnace: true
        dispenser: true
        chest: true
        jukebox: true
    specialblock:
        furnace: ''
        dispenser: ''
        chest: ''
        jukebox: ''
    (Specialblock means that if the chest/furnace/dispenser/jukebox stands on that block they cannot absorb any items and cannot powered by redstone.)

    Changelog:
    Version 1.0
    • Release.
    Version 1.1
    • Fixed duplication bug.
    Version 1.2
    • Dispensers also absorb items, except the front of the dispenser.
    Version 1.3
    • Added furnaces.
    • Renamed plugin.
    Version 1.4
    • Changed namespace.
    • Added jukeboxes.
    • Added redstone.
    Version 1.5
    • Increased range.
    Version 1.6
    • Added properties file.
    Version 1.7
    • Fixed PLAYER_MOVE NullPointerException.
    Version 1.8
    • Fixed chests.
    Version 1.9
    • Removed check if the chest is full, it was to buggy.
    Version 2.0
    • Properties file is now saved in YAML format.
    • You can setup now multiple specialblocks separated by a comma.
    Version 2.1
    • Fixed a memory leak.
     
    kahlilnc likes this.
  2. Offline

    hofec

    Hi robin, great plug ! :)

    So, this is my observation .. when i try run your plug with MinecartMania Chest Control, redstone signal all of the chest items drops off the chest, so i can't launch my cart from chest wit MCM .. :D

    Can u please add config file, when i'll can change the option (true/false) like DisableChestDispensing ?

    Ty for answer in advence ! :cool:

    Yes .. and maybe try update this to latest RB[617] .. if u can :p
     
  3. Offline

    robin0van0der0v

    Added! :D
     
  4. Offline

    hofec

    U are my man <3
     
  5. Offline

    Lareneon

    How does this affect memory usage? My server is right on the edge of laggy.
     
  6. Offline

    BobSalawalatski

    Would it be possible to make a chest absorb only a specified item and output redstone power whenever a chest absorbs an item?

    I want to make a chest absorb a gold ingot (and not absorb anything else) and trigger a dispenser when it does.
     
  7. Offline

    Kenshin

    It would be great if you can add, in the config file parameter to choose all chest or not, and if not a command like /absorb.
    I just want to absorb items on 10 chests x)
    Thx
     
  8. Offline

    MineralMC

    We've got a conflict with Minecart Mania, Afforess said he'll be in contact to help resolve it.
     
  9. Offline

    Six_

    Hey, just started playing with this addon and i like it, very handy.

    Just wanted to throw out a suggestion, though: what about chests only absorb items while powered, and empty on the power off event? That way a chest that never comes in contact as redstone still behaves as a normal chest would. The empty on power off event may cause a slight inconvenience when modifying a structure, but personally I think it'd be worth it to easily have an in-game method of making the majority of chests still act as normal chests.

    Also, one bug I've noticed, sometimes when activating a chest to dispense it will immediately suck some of the material back in, in mid-air. I'm assuming this is the timing of the sweep ticking right after the chest receives the redstone power.
     
  10. Offline

    Fish

    Could you do the above and also make an option for chests to only absorb if they're on a certain block type i.e. I want them only to work on top of gold blocks.
     
  11. Offline

    Six_

    Actually that would probably be an easier solution then mine to implement since you already have code checking the blocks below the chest and would work just as well for giving the server admin a choice of how "rare" the chests would be.
     
  12. Offline

    o0AzzA0o

    this is working for 670 for other people ? its complaining about passing event player move to this plugin.

    2011-04-08 21:30:12 [INFO] AbsorbPlugin version 1.6 is enabled!
    2011-04-08 21:30:16 [SEVERE] Could not pass event PLAYER_MOVE to AbsorbPlugin
    at nl.robinvandervliet.AbsorbPlugin.AbsorbPlugin.is_full(AbsorbPlugin.java:84)
    at nl.robinvandervliet.AbsorbPlugin.AbsorbPlugin.chest(AbsorbPlugin.java:115)
    at nl.robinvandervliet.AbsorbPlugin.AbsorbPluginPlayerListener.onPlayerMove(AbsorbPluginPlayerListener.java:17)

    2011-04-08 21:35:52 [SEVERE] Could not pass event PLAYER_MOVE to AbsorbPlugin
    java.lang.NullPointerException
    at nl.robinvandervliet.AbsorbPlugin.AbsorbPlugin.is_full(AbsorbPlugin.java:84)
    at nl.robinvandervliet.AbsorbPlugin.AbsorbPlugin.chest(AbsorbPlugin.java:115)
    at nl.robinvandervliet.AbsorbPlugin.AbsorbPluginPlayerListener.onPlayerMove(AbsorbPluginPlayerListener.java:17)
    at org.bukkit.plugin.java.JavaPluginLoader$7.execute(JavaPluginLoader.java:240)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:128)
    at net.minecraft.server.Packet10Flying.a(SourceFile:126)
    at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    2011-04-08 21:35:52 [INFO] �0Waffledood�f: stewie let me see it
     
  13. Offline

    Don Redhorse

    me too... so let's wait for the update
     
  14. Offline

    robin0van0der0v

  15. Nice Plugin ;)

    But we need a suck radius and :D
     
  16. Offline

    l104693

    Hello Robin!

    When I try to download the newest version I'm getting 1.6.
    I think the download link is wrong.

    Kind regards,

    l104693
     
  17. Offline

    Nananea

    In the 1.7 version, chests don't seem to be accepting items. Furnaces work fine (haven't tried dispenser/jukebox).

    Thanks for the hardwork on this, really enjoy the plugin.
     
  18. Offline

    hofec

    I have same issue :( I really miss this plugin, it's very usefull for building farms ..
     
  19. Offline

    o0AzzA0o

    null pointer is fixed but chests still not absorbing items.......
     
  20. Offline

    robin0van0der0v

    Is "absorb-chest" true?
     
  21. Offline

    Nananea

    All absorbs set to true. Chests and dispensers not absorbing (don't have a jukebox to check; furnace works).
     
  22. Offline

    robin0van0der0v

    Is in the chest any free space? :p
     
  23. Offline

    Nananea

    Yes, tried with half empty chests, empy chests, empty dispensers. Tried uninstalling the .jar and config as well. This is on 670.

    :(
     
  24. Offline

    o0AzzA0o

    shame bukkit broke the plugin its one of the most sorely missed on server players are asking about it all the time :)
     
  25. Offline

    Butterquark

    I am having the same problem with this plugin. 1.5 destroyed items when the chest was full. 1.7 doesn't absorb at all for any chests. Any idea what changed? or at least post the old code so we can look at it?
     
  26. Offline

    robin0van0der0v

    Fixed chests again! ;)
     
  27. Offline

    Nananea

    Working again, thanks very much!

    I lied...sort of. The chests seem to be eating (destroying) items after sucking them in. Been testing this with stacks of blocks. Seems that the first item gets sucked in properly but anything else is destroyed.

    Anyone else had this issue?

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

    phaed

    Would really like to see the absorbtion being active only when it is triggered by redstone. this way they would function the same as before and those who need the absorb functionality for instance their mob traps could just add redstone current to it.
     
  29. personally i would rather not power it to collect, maybe have a config option for it. then you can toggle the way you want it to work would be best.

    i use these chests on my mob grinder, so they auto pickup the loot,
     
  30. Offline

    phaed

    Yes a config option to have them powered by redstone would be ideal.
     
  31. Offline

    RustyDagger

    Yes i would like this plugin on my server but there's a few things stopping me.

    1. the security risk for all chests To be stolen from (aka bypassing Lwc Im sure you could connect to lwc and run a simple check b4 emptying the items. It would not be required for this plugin to run its just a simple fix for those that do use it.)

    2. Should really have A way to only make some chests Into absorb chests this would improver performace 10 fold.
    Think about it running checks on say 30 chests vs 300 Big difference.
     

Share This Page