Inactive [MECH] DropChest v0.8.3 - Chests that absorb dropped items [1.1-R3]

Discussion in 'Inactive/Unsupported Plugins' started by narrowtux, Feb 9, 2011.

  1. Offline


    DropChest - Chests that absorb dropped items
    Version 0.8.2
    Important! When migrating from 0.6 to any above version, you have to move the DropChest.txt from server/plugins/DropChest.txt to server/plugins/DropChest/DropChest.txt
    This is because I have to follow the Bukkit plugin saves guidelines.

    This plugin automatically adds dropped items to near chests. That is very useful for automatic farming and monster traps that gather loot.
    • automatically suck dropped items that are near a chest to that chest
    • customizable warning if the chest is nearly full
    • list your DropChests and watch how much percent is still free
    • Permissions
    • Filter
    • Storage Minecart support
    • Dispenser and Furnace support
    • Item information
    • Chest protection
    • Automatic Owner tracking
    • Double-Chest support

    GitHub Project (Source Download)
    Download development version

    Donate, if you want to support me ;)


    Show commands (open)

    To add a chest to the "watchlist", type
    /dropchest add [radius]
    After that, rightclick the chest that you want to add. Radius is the radius in which the Chest should suck items. Default value is 2.

    To remove a chest from the "watchlist", just type
    /dropchest remove chestid
    where chestid is the number of the chest that you get when you call /dropchest list

    You can list the chests that are on the watchlist via
    /dropchest list
    You can adjust the radius of a chest via
    /dropchest setradius chestid radius
    You can check which id and radius the Chest in front of you has:
    /dropchest which
    after that, rightclick on the Chest to get information about it.
    If you are sitting in front of the console, or don't want to rightclick, you can use
    /dropchest info chest
    It will generate the same output as /dc which.

    You can teleport to a chest via
    /dropchest tp chestid
    where chestid is the ID of the dropchest

    You can set the name of a DropChest via
    /dropchest setname {chestid} {newname}
    The name is displayed in chest is full warnings, and in the DropChest list!

    If you migrate from 0.6 to 0.7, you can set the owner of a dropchest by typing:
    /dropchest setowner {chest} {newowner}
    You can protect a chest by typing
    /dropchest protect {chest} {on|off}
    You can always use /dc instead of /dropchest if you are lazy.

    Another very helpful command is /dcitem:
    /dcitem [NAME|id]
    This can be used to obtain the name of an item by it's id or get an id of the item-name.
    This doesn't work with all names, though.

    Use the new command /chestinfo {name|id} to get info about what's inside the chest.
    Omit the argument and rightclick on any chest to get info about that.
    >/dcitem 4
    >/dcitem cobblestone

    Show Configuration (open)

    You can configure DropChest by pasting the contents of the following block to plugins/DropChest/dropchest.cfg
    #Should the dropchest drop items when it gets a redstone signal?
    #How long should the dropchest not suck items after it has dropped them
    #Should users be able to protect chests like in LWC?
    #Which is the default radius if you omit the radius argument in /dropchest add?
    #Which should be the maximum radius for players that have not dropchest.setBig and aren't ops?
    #At which fill-status should the chest warn you?
    #Which message should appear as warning?
    #You can use this variables (example):
    # $owner : the owner of the chest (narrowtux)
    # $name  : the name of the chest (my superduper mobtower chest/#42)
    # $fill  : The fill status, in percent (81)
    warnmessage=$owner, your chest $name is nearly full($fill%).

    Filter / Storage Minecarts
    Show Filter/Storage Minecarts (open)

    Filters have changed in version 0.6. There are now 3 seperate filters that are for sucking items, pulling items from passing minecarts and pushing them to passing minecarts.
    You can now set the filters by either using commands or using the interactive mode. Let me show you the interactive mode first:
    to begin, type
    /dropchest filter {suck|push|pull}
    Note: choose one of suck, push or pull, please (for example /dropchest filter suck)
    Then you will enter the interactive mode. In this mode you can edit the selected filter by hitting the chest with the desired item in your hand.
    To edit another filter, type the above command again.
    To finish your filter, type
    /dropchest filter finish
    Commands mode:
    /dropchest filter {suck|push|pull} {chestid} {itemid|itemtype|clear}
    Call the filter-command like above, as second argument, use the chest-ID, and as third argument, either type the item-ID, the name of the item (as they appear here: org.bukkit.Material) or type clear to clear this filter.
    Please note! The suck filter acts different from the Pull/Push-Filter when it's empty. When the suck-filter is empty, the chest will suck every item. When a Pull/Push filter is empty, it won't take or give any items to a passing minecart.

    Show Permissions nodes (open)

    You can use these nodes:
    • dropchest - To get the right to use DropChest
    • dropchest.create - To call /dropchest add
    • dropchest.remove - To call /dropchest remove chestid
    • dropchest.radius.set - To set the radius of a Chest to something else than 2
    • dropchest.radius.setBig - To have unlimited radius
    • dropchest.which - To have access to the /dropchest which command
    • dropchest.teleport - To be able to teleport via /dropchest tp chestid
    • dropchest.filter - To set or reset filters
    • dropchest.filter.set - To set filters in interactive mode
    • dropchest.filter.reset - To reset filters in interactive mode (click with nothing in hand)
    • dropchest.list - To have access to /dc list and /dc info
    • dropchest.destroy - To be able to break a dropchest without removing it before.
    • dropchest.protect - To be able to protect a chest
    • dropchest.moderator - To be able to modify a dropchests properties even if you're not the owner. Also, ops and the console can do that.
    You can use these variables:

    • dropchestmaxradius - To adjust the maximum radius for a group or a user
    How to use variables:

          dropchestmaxradius: 1000
    This is just an example and this also works with groups!

    Version 0.8.2
    • Fixed the loading issue.
    Version 0.8.1
    • Supports SuperPermissions (when no Permissions plugin was found)
    • Fixed show stopping bugs.
    • Use YAML as persistence storage. You can find the new file at plugins/DropChest/dropchests.yml
    Show Changelog (open)

    Version 0.8
    • Performance improvements
    • Fixed a bug that caused dropchest to eat stacks in storage minecarts (thanks @Tenebria )
    • Implemented per-chest delay (thanks @Gibbers )
    • Made /dc list per player. Use /dc list {pagenum} all to see all showcases (works without all in the console)
    Version 0.7.9
    • Fixed bug where items were lost when a chest/minecart was full on pushing/pulling
    • Little code cleanup
    Version 0.7.8
    • Fixed a bug where, for example, if you had several ItemStacks of 1 block each, only 1 ItemStack would be pulled to the chest or pushed to the MineCart, the others would be deleted.
    • Minecarts can now be over/under DropChests to be handled
    Thanks M-Type!
    Version 0.7.7
    • Double Chest support
    Version 0.7.6

    • Fixed some issues when using a Permissions implementation that is not complete (in this case EssentialsGroupManager as reported by @Kartus )
    Version 0.7.5

    • you can add all items to a filter by using the keyword "all" instead of the material-type
    • you can obtain info about a dropchest without having to rightclick (/dc info {chest}). However, the output is the same as when you would have called /dc which
    Version 0.7.4

    • warnfillstatus=-1 now disables the "chest is full"-warning
    Version 0.7.3

    • Fixed a bug that came with a new Bukkit release
    Version 0.7.2

    • /dc which now says something again, thanks to @Liger_XT5.
    Version 0.7.1

    • Removed debug messages :D
    Version 0.7

    • Configuration added
    • DropChests can drop their contents when a redstone input is present
    • Now, only the owner of a dropchest can adjust it's properties
    • The owner of a dropchest can protect the chest. So other players can't open it.
    • Customizable warning message and fill threshold.
    • Warnings will now be displayed to the owner of a chest, if he is online.
    • And made compatible to Minecraft 1.5_01. Older versions of craftbukkit won't work!
    Version 0.6.9

    • /dc which even more fancy
    • Removed debug message reported by @Reterg
    • Implemented the /item command which tells you what item this id is or vice-versa.
    Version 0.6.8

    • /dc which now looks fancy and shows the filtered items, too.
    Version 0.6.7

    • Added dropchest-id to the /dc which output.
    Version 0.6.6

    • Fixed NullPointerException on startup
    Version 0.6.5

    • Fixed /dc which
    • Refactored some code
    • You can now also use names of dropchests in the commands.
    Version 0.6.4

    • Fixed chunk unload that results in crash
    Version 0.6.3

    • Updated to bukkit-version 602
    • Tried to fix Thread-Exceptions. Breaking DropChests still not fixed, maybe happens later this day ;)
    Version 0.6.2

    • Permissions not required anymore.
    • Thread-Safe. No more ConcurrentModificationCheck Exceptions!
    Version 0.6.1

    • Fixed loading issues. You have to move your old DropChest.txt to the folder DropChest/ in your plugin directory!
    Version 0.6

    • Seperate filters for sucking, pushing to minecarts, pulling from minecarts
    • Multiple users can add dropchests at the same time now!
    • Added a name to the DropChests
    • Fixed Minecraft 1.3-Bug (method net.minecraft.server.Entity.q() was not available any more)
    I'm working on extended furnace handling, that fuels automatically go to the fuel slot and so on. This is still buggy so I didn't released it, it comes in the next version.

    Version 0.5.1
    • Multiworld works now
    • Paginated /dc list
    • Persistent DropChest IDs
    Version 0.5

    • Added support for Storage Minecarts
    • Added support for Dispensers and Furnaces
    Version 0.4.2

    • Fixed bug that Tearlow described.
    Version 0.4.1

    • Fixed loading bug when migration from versions 0.3 or below
    Version 0.4

    • Added filters.
    Version 0.3.1

    • Multiple world support
    • Since the Craftbukkit version from feb, 13 at 12:00 CET, Chests that are destroyed by Players are rebuilt
    • Worked around NullPointerException when Permissions is not loaded properly
    • Files now hosted on github ;) that non-members also can download DropChest
    Version 0.3

    • Permissions support.
    • Configure the maximum radius for each single user or group (via Permissions)
    • Fixes bug with unhandled Exception in the EntityWatcher-Timer.
    • /dropchest can be called via /dc for short
    • /dropchest without arguments just lists the commands that the user can execute, as well as his maximum radius.
    • Oh, and I corrected the Pythagoras formula for radius calculation. Shame on me...
    Version 0.2.3

    This is quite a huge bugfix update. Permissions come next ;)
    • Broken DropChests are now automatically removed from the list
    • changed package name from com.bukkit.narrowtux.DropChest to com.narrowtux.DropChest to prevent not loading issues coming up next monday
    • Added command "which", that allows you to see which id a chest has and if it is already a dropchest.
    • Linked against the most recent versions of Bukkit and Craftbukkit. The Bukkit guys have fixed a lot of bugs that affected this plugin. In my tests, there were no more nullPointerExceptions or similar errors. Also, DropChest now also works on very fresh placed Chests
    • And a currently constant maximum radius of 20 blocks
    Version 0.2.2

    • DropChest are now removed when you call /dropchest remove chestid
    • DropChest now have a minimum radius of 2
    • Fixed some saving issues
    Version 0.2.1

    • Fixed a problem where the radius has not been saved
    Version 0.2

    • Added a radius
    Version 0.1

    • First Release of DropChest
  2. Offline


    Does dropchest need powered tracks or do normal work with a powered cart?
  3. Offline


    Please roll out a stable version for 1.1 before you implement new features.
    I recommend this step to get a clean solid base for further development.


    Minecart Mania is doing that. / Not necessary for dropchest

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


    First of all thanks for this awesome plugin, and such a joyous addition my server!
    But on every reload/restart the IDs start over when adding new dropchests, rendering the plugin unusable on my part still.. :(

    EDIT: Scratch that, I thought I had the latest version, but messed up the files, sorry! :p
  5. Offline


    So i'm using this addon with 1.1-r3, and everything seems to be working just fine, except for the setradius command. I get an error (which i will update this post with when i get access to my server this morning) when i use this.

    Is anyone else getting a similar error?
  6. Offline


    Hello, I think this plugin is amazing. It's great for mob traps and mass organization with the pull feature. But the drop chest sem to reset after random times on the server that I play on. Is there anything that I could do myself or anything that I could tell the owner of the server to do? It's just really sucks to have to reset the drop chests every time I have to use them. Please help :(
  7. Offline



    can you please confirm in your threadtitle oder plugindescription the "against bukkit build #"? #1060 seems to be very outdated ;)
  8. Offline


    Yeah. I hereby confirm that it works with 1.1-R3
  9. Offline


    Thanks for a great plugin. In my attempts of balancing things out for my players, i try and make everything cost a little. Would it be possible for dropchest to support iconomy/vault and charge a configurable price for making a dropchest?

    Deathtp plugin has it, and if its open source, maybe it will give some pointers on how to do it.
  10. Offline


    I know how to do it, I was just a bit too lazy ;)
  11. Offline


    just use a plugin that creates cost for every command you can configure. for that it exists at least 2 plugins and you can make every plugin command economical ;) then every /dc add will cost something and dropchest doesn't need to implement economy ;)
  12. Offline


    Awesome on so many levels! Thanks :D

    I used your suggestion and used something called commandlimiter, but I have issues with the permissions:
    Ive enabled these for users:
    dropchest.remove: true
    dropchest.create: true
    dropchest.list: true
    dropchest.destroy: true
    dropchest.which: true
    dropchest.setname: true

    And still it says I need admin to enable dropchest for me. (testing as non op)
    Am I missing some?

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


    Give them the "dropchest" node too ;)
    That is the basic node so you can use the commands at all.
  14. Offline


    dropchest: true?
  15. Offline


  16. Offline


    Sorted it. Thanks :D
  17. Offline


    This picks up things from your showcase plugin, is there a way to fix that?
  18. Offline


    Nice plugin.
  19. Offline


    Unfortunately, we cannot run this plugin on the server that I play on. Our server owner, o0AzzA0o, claims that this plugin causes so much lag that it is not even debatable to keep running the plugin, and I was wondering if there are any way to reduce the lag that is produced by this plugin? Maybe fewer chests, or making the drop collecting radius smaller? I really love this plugin, and it really helps me because I am so unorganized. So if there is anything at all that could fix this problem, please let me know.
    Thanks :)
  20. Offline


    Love the plugin and I got a suggestion. For the filtering it would be cool if you could add multiple items in the same line. Something like /dc filter pull 1 1:4:109
  21. Offline


    I added DropChest support in Showcase to prevent that, maybe I broke it...
    Looking into it...

    Ah, good idea.

    It is not that easy to have such a plugin performant, because it has to check all dropped items constantly. However, bukkit added some nice methods to access only items in worlds (but in the dev build), so I could make it a bit more performant that way.
    Also, another way to save performance would be to decrease the frequency it checks for items.
    I'll have to add that option.

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


    Love the plugin! Wouldnt play minecraft without it, SO USEFUL :D

    I do have 2 requests though :p
    • Would it be possible to differentiate items like say Lapiz Lazuli, bone meal and coco beans for example because the plugin seems to identify them all as ink Sack and that kind of breaks the sorting a little bit
    • Would it be possible to add an option to dropchests for them to push any items they're not supposed to pull? That way if a user on my server were to place an object in the wrong chest it would be pushed back into the sorting cart
    Thanks again for the plugin ^^
  23. Offline



    must say idea for plugin is amazing. Working very well, except one small thing (which is possible that i dont know how to configure it).

    Thing is when i put two chest near each other only 1st created chest suck items, but other dont - no matter filter defined. I tried to do skeleton mob spawner loot so one chest take only bones, and other only arrows. But, as i said, only one chest working other not. but 2nd chest starts to work when i delete 1st one.

    I think theres problem when their radius interfere with each one.

    I created chest with 10000 radius, and after that couple chest in that radius - they didnt work until i delete 1st one.

    Any thoughts?

    many thnx in advance :)
  24. Offline


    im having the same exact problem.. :(
  25. Offline


    Released version 0.8.3

    Sorry, just noticed that I uploaded an older version - hold on...

    New version is up now!

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


    Having an issue at startup. The error appears with both the developer version and the recommended; as the only plugin or with those shown:

    2012-02-28 20:16:51 [INFO] Starting minecraft server version 1.1
    2012-02-28 20:16:51 [INFO] Loading properties
    2012-02-28 20:16:51 [INFO] Starting Minecraft server on *:25565
    2012-02-28 20:16:52 [INFO] This server is running CraftBukkit version git-Bukkit-1.1-R4-32-g1316b61-b1964jnks (MC: 1.1) (Implementing API version 1.1-R5-SNAPSHOT)
    2012-02-28 20:16:52 [INFO] [MagicCarpet] Loading MagicCarpet v2.1.1
    2012-02-28 20:16:52 [INFO] [DropChest] Loading DropChest v0.8.3
    2012-02-28 20:16:52 [INFO] [BleedingMobs] Loading BleedingMobs v3.4e
    2012-02-28 20:16:52 [INFO] [WorldEdit] Loading WorldEdit v5.2
    2012-02-28 20:16:52 [INFO] [BlockHat] Loading BlockHat v1.8
    2012-02-28 20:16:52 [INFO] [PermissionsBukkit] Loading PermissionsBukkit v1.5
    2012-02-28 20:16:52 [INFO] [CommandBook] Loading CommandBook v2.0
    2012-02-28 20:16:52 [INFO] [WorldGuard] Loading WorldGuard v5.5.1
    2012-02-28 20:16:53 [INFO] Preparing level "world"
    2012-02-28 20:16:53 [INFO] Default game type: 0
    2012-02-28 20:16:53 [INFO] Preparing start region for level 0 (Seed: 608960790)
    2012-02-28 20:16:54 [INFO] Preparing spawn area: 52%
    2012-02-28 20:16:54 [INFO] Preparing start region for level 1 (Seed: 608960790)
    2012-02-28 20:16:55 [INFO] Preparing spawn area: 60%
    2012-02-28 20:16:55 [INFO] Preparing start region for level 2 (Seed: 608960790)
    2012-02-28 20:16:56 [INFO] Preparing spawn area: 65%
    2012-02-28 20:16:56 [INFO] [MagicCarpet] Enabling MagicCarpet v2.1.1
    2012-02-28 20:16:56 [INFO] [MagicCarpet] Loading carpets...
    2012-02-28 20:16:56 [INFO] [MagicCarpet] is now enabled!
    2012-02-28 20:16:56 [INFO] [DropChest] Enabling DropChest v0.8.3
    2012-02-28 20:16:56 [SEVERE] Error occurred while enabling DropChest v0.8.3 (Is it up to date?)
    java.lang.NoClassDefFoundError: net/milkbowl/vault/permission/Permission
        at com.narrowtux.dropchest.DropChest.setupPermissions(
        at com.narrowtux.dropchest.DropChest.onEnable(
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(
        at net.minecraft.server.MinecraftServer.t(
        at net.minecraft.server.MinecraftServer.a(
        at net.minecraft.server.MinecraftServer.init(
    Caused by: java.lang.ClassNotFoundException: net.milkbowl.vault.permission.Permission
        at$ Source)
        at$ Source)
        at Method)
        at Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 12 more
  27. Offline


    You need vault for DropChest.
  28. Offline


    you could mention that in the readme or the first post somewhere, since this quite a big change imho ...
    ha11oga11o likes this.
  29. Offline


    Agree! I had this plugin working on server on MC1.1 was excellent, but now ill not use it cause DONT WANT Vault on mine server cause is messing with too many things. (please dont start debate Vault is good or such, i really dont care about it).

    Anyways it will be nice to get back good old permissions support without Vault requirement.Because we have DropChests all over the place, but they dont work anymore :(

    Thnx !
  30. It's not a debate of Good vs Bad, Vault is simply an API, it's basically saying a table is bad when there's a bad book placed on it. Vault can only cause you trouble when you use a plugin that uses Vault badly, and that's thus not Vault's fault.
  31. Offline


    I got this error:
    2012-03-06 23:23:36 [INFO] [DropChest] Enabling DropChest v0.8.3
    2012-03-06 23:23:36 [SEVERE] Exception in thread "Thread-13"
    2012-03-06 23:23:36 [SEVERE] java.lang.NoSuchMethodError: org.bukkit.plugin.PluginDescriptionFile.getAuthors()Ljava/util/ArrayList;
    2012-03-06 23:23:36 [SEVERE]    at com.narrowtux.dropchest.Metrics.postPlugin(
    2012-03-06 23:23:36 [SEVERE]    at com.narrowtux.dropchest.Metrics.access$100(
    2012-03-06 23:23:36 [SEVERE]    at com.narrowtux.dropchest.Metrics$
    2012-03-06 23:23:36 [SEVERE]    at
    2012-03-06 23:23:36 [SEVERE]    at
    Is there a way to fix this?

Share This Page