[INACTIVE][GEN] OChestDump v1.10 - Quickly stash, loot, or sort inventory [677]

Discussion in 'Inactive/Unsupported Plugins' started by Nayruden, Jan 25, 2011.

  1. Offline


    OChestDump - Quickly stash or loot inventory:
    Version: v1.10
    Download: https://github.com/downloads/Nayruden/ocd/OChestDump.jar
    Source: https://github.com/Nayruden/ocd
    Bugs/Requests: https://github.com/Nayruden/ocd/issues

    OChestDump allows you to dump the contents of your inventory to a container, or to dump the contents of a container into your inventory, or to swap the contents of a container with your inventory, or to sort a container.

    To use, type "/ocd swap", "/ocd loot", "/ocd stash", or "/ocd sort" in chat while looking at a chest or dispenser. Typing "/ocd" in chat will bring up the help for the command.

    Loot fits as many items from the container into your inventory as possible.
    Stash fits as many items from your inventory into the container as possible.
    Swap simply swaps the items from the container and your inventory.
    You can add an item name or ID after swap or loot to exchange only the specified item.
    Sort allows you to sort items by name (default) or total amount of items.

    All commands combine stacks where possible to save space!

    You can enable a basic compatibility with chest protection by requiring users to open a container before they're allowed to use OCD on it. Enable this behavior in the configuration file.

    v1.10 - 4/14/2011
    * [ADD] Multiworld support.
    * [ADD] Support for stashing/looting item durabilities (colored cloth).
    * [CHANGE] Updated item database.
    * [FIX] A protection issue with not recognizing a double chest as a single item.
    * [FIX] Various Bukkit breakages.

    v1.01 - 3/31/2011
    * [CHANGE] Various Bukkit breakages.

    v1.0 - 2/19/2011
    * [ADD] Support for Dispensers.
    * [CHANGE] Some tweaks that Bukkit devs have deemed necessary.
    * [CHANGE] Using Bukkit's ray tracer instead of OLib's now.
    * [REMOVE] Check for Bukkit chest bug, seems to have been fixed now.

    v0.9 - 2/07/2011
    * [ADD] Support for durability/colors throughout OCD, including sorting.
    * [ADD] Check for Bukkit bug, warns user when the chest is bugged.
    * [FIX] A bug with compacting air due to Bukkit changes.
    * [CHANGE] Converted command implementation to new Bukkit command model.

    v0.8 - 1/30/2011
    * [ADD] New sort: sort by item id.
    * [ADD] A basic compatibility with chest protection mods: you must open the chest to prove ownership (Enable this behavior in config).

    v0.7 - 1/29/2011
    * [ADD] Sort command.
    * [ADD] All commands will now combine stacks as much as possible.
    * [FIX] Putting items in the wrong starting row with large chests.

    v0.6 - 1/27/2011
    * [ADD] Ability to stash and loot only a specific item.

    v0.5 - 1/25/2011
    * Initial release.
    Gea and kovarex like this.
  2. Offline


    CB RB 556 Groupmanager 1.0 Alpha 5
    00:42:29 [INFO] ocd sort
    00:42:29 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'ocd' in plugin OChestDump v1.0
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:229)
            at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:645)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:608)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:602)
            at net.minecraft.server.Packet3Chat.a(SourceFile:24)
            at net.minecraft.server.NetworkManager.a(SourceFile:230)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:76)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.IllegalArgumentException: Comparison method violates its general contract!
            at java.util.TimSort.mergeLo(TimSort.java:747)
            at java.util.TimSort.mergeAt(TimSort.java:483)
            at java.util.TimSort.mergeCollapse(TimSort.java:410)
            at java.util.TimSort.sort(TimSort.java:214)
            at java.util.TimSort.sort(TimSort.java:173)
            at java.util.Arrays.sort(Arrays.java:659)
            at net.omnivr.ocd.OChestDump.onCommand(OChestDump.java:138)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
            ... 12 more
    This only works for Ops and/or My Admin group withy the "*" node.
  3. Offline


    Need to sync it with permissions
  4. Offline


    Support for "Help" would be nice. :)
  5. Offline


    Not sure if this has been reported yet, but if you have LWC you can still use /ocd commands on it without needing access to the chest / dispenser.
  6. Offline

    Kevin Forte

    Woah, good catch man. Also, has this been tested on 600+?
  7. Offline


    Does this support WorldGuard Chestprotection?
  8. Offline


    If you look in the settings file you'll see an option to turn on for this issue.
  9. Offline


    600+ crashes it, didnt see anyone reporting it so...
  10. Offline


  11. Offline


    I have no plans to support unofficial permissioning systems. I believe all chest protection mods are supported when you enable the option in the settings.

    I did a version bump to v1.01 to support 600+ craftbukkit.
  12. Offline


    Can I request either a way to configure item names or just that you also ensure that all items are what the tooltip claims? You can't stash "wood," it has to be "log." This is the one I know off the top of my head. Obviously anything with a space doesn't work (wooden planks), but I am fine with it being called "planks."

    Or maybe unless I am blind could you post a list of names? Otherwise GREAT plugin. Thank you so much!
  13. Offline


    I don't need full Permissions support, but it would be nice if it didn't crash when trying to use it on my Permissions-using server. I get a big error like the one in post #59.

    I want to use this, and I don't need to specify permissions to restrict usage for this plugin. Does this work at all for anyone who is running Permissions?
  14. Offline


    19:34:20 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'ocd'
     in plugin OChestDump v1.0
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:2
            at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:596)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:559)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:553)
            at net.minecraft.server.Packet3Chat.a(SourceFile:24)
            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)
    Caused by: java.lang.NullPointerException
            at net.omnivr.ocd.OChestDump.compactStack(OChestDump.java:207)
            at net.omnivr.ocd.OChestDump.compactInventory(OChestDump.java:218)
            at net.omnivr.ocd.OChestDump.onCommand(OChestDump.java:137)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
            ... 12 more
    I'm getting this with newest version of bukkit..it's just when sorting it seems. /ocd sort is all i'm doing.
  15. Offline


    NEVER say (never) latest build, give you build since the latest is usually no longer latest when someone responds.
  16. Offline


    This wont work after I installed Lockette on my server.
    "An internal error occured while attempting to perform this command"
  17. Offline


    I didn't know how to tell the version number since the filename is just 0.0.1 always...but now I realize my server shows it when I start it. It says CraftBukkit 646...even though I downloaded the latest build that said it was 670? Not sure about that one...
  18. Offline

    Kevin Forte

    Okay, so a slight issue: On build 670, /ocd sort is not functioning.
  19. Offline


    Sort doesn't work for me either. Everything else seems fine. Is this plugin still being maintained?
  20. Offline


    It is, when I have time. I'll check the various reported bugs and feature requests when I have a chance to do so. :)
  21. Offline


    Updated to version 1.10, addressing the sort breakage and updating the item database.
  22. Offline


    hay plugin maker, small issue i dont know how to discribe it..... u need to login to my server and ill show you what im talking about. and theres no consol errors eather
  23. Offline


    logback in please you JUST missed me
  24. Offline


    i did that and im still haveing the same issue.
  25. Offline


    Please be specific. If you're having an error, provide the stack trace.
  26. Offline


    the ocd does not work on all chests. it says "You must be looing at a chest or dispencer" and we are looking at a chest . try ing to do the /ocd sort .
    and what is a stack trace?
    there is no errors in consol, CB#677
  27. Offline


    Are you within 4 units of the chest when you do this? Is there anything in your sight between you and the chest? This includes glass and water.
  28. Offline


    yes and no here is a screen shot for 325.jpg you.
  29. Offline


    I'm having issues with the itemID stash function. Stash, loot, sort etc, everything else works fine, but I can't seem to get it to stash only certain things. I'm standing directly in front of the chest, and I've tried with both single and double chests. CB#677, OCD 1.10.
  30. Offline


    Woodzy, I can't replicate your problem. Is anyone else having issues with the chest being recognized?

    Eifandil, sorry I think I messed something up on the last update, I opened a bug report here: https://github.com/Nayruden/ocd/issues/16
  31. Offline


    I shall wait patiently for the next release! I like everything else about it.

Share This Page