[INACTIVE][MECH] QuickStash 1.3.2 [700-953]

Discussion in 'Inactive/Unsupported Plugins' started by Afforess, Mar 6, 2011.

  1. Offline

    Afforess

    Development discontinued due to the ability to shift move items naturally in Minecraft 1.6+

    The plugin is open source, feel free to work or borrow it's code.

    Preface:

    In my defense, I'm a lazy person. An incredibly lazy person. And that laziness has driven me to great lengths to avoid doing work. Work like opening chest GUI windows, just to drag stack of cobblestone after stack of cobblestone into my chest. Things like intuitive GUI's with fancy click and drag mechanics are just too tedious.

    What is QuickStash:

    It's item management for lazy people. Place a sign, with the name of an item on one of the lines, and tap it with your characters hand/paw/thing. Then tap any chest. All the items in your inventory that match the item on the sign will be placed into the chest, and the game will tell you how many items were "stashed", if any. If you tap a chest, then a sign, the reverse happens, and you withdraw all of the items on the sign available in the chest.

    But wait, there's more! One item at a time would be tedious. Which is why I used to lazy route, and simply borrowed my perfectly good item listing code from Minecart Mania. Okay, not borrowed so much as imported. (Yes, that means this plugin requires Minecart Mania).

    So you can do fancy things on signs, like "All Items" on line 1, and "!sugar cane" on the next to deposit all the items except sugar cane. Or use item ids, instead of names. Or just partial names, like "obbston" for cobblestone. You can use ":" to list multiple items. You can use ";" to give items a separate data value (like for bonemeal, wool, dyes, etc). You can use "!" to add an exception from the list. You can use "All Items" to deposit everything. You can use "-" to list a sequence of items. Perhaps most importantly, you can use "@" to decide how much to stash or withdraw. It's all documented here.

    What isn't QuickStash:

    QuickStash is a simple plugin for stashing items, nothing more. It does not affect retrieval, you still need to use the tried and true GUI for that.

    Download
    Source

    Dependancies:
    Change Log:
    • Version 1.0
      • Initial release
    • Version 1.1
      • Updated for CB 561+
    • Version 1.2
      • Updated for MM 1.08
    • Version 1.3
      • Supports quickWithdrawing of items
      • Respects Lockette and LWC chests.
    • Version 1.3.1
      • Fixed 0 item glitch
    • Version 1.3.2
      • Bug fixes
     
    TienSon and MindDefect like this.
  2. Offline

    Afforess

    Updated to support MM 1.08.

    Those of you who want the items to not stack, can turn off stacking from inside of MM now. (<StackAllItems>)
     
  3. Offline

    davr

    Thanks! FYI This actually also fixes a bug...it would stack tools together, for example if you had a brand new pickaxe and an almost worn out pickaxe, it would stack them and you'd end up with two worn out pickaxes. I came here to report it, and found you already had something that fixes the problem and my earlier request :)
     
  4. Offline

    Badzilla

    @Afforess

    This is SWEET. I just tried it out.

    Way cool. What is the range of the sign from the chest? Sorry to say the in this case I have not read up on it. I have read every single post in the MM thread and the Backpack thread though and keep up every day.

    @Afforess

    Can I put notes on other lines of the sign for instructions of how to use?
    Like Tap this and then the chest to deposit into?
     
  5. Offline

    Afforess

    @Badzilla

    The range is infinite. This can be a boon or a bust, depending. If you forget your last sign you tapped on was to deposit coal, and an hour later, you click on some chest, you dump all the coal into it. So you may want to have an empty sign to "clear" the memory.

    Yes. It only parses item names. It's actually the same item parsing code, from MM. It calls MM directly, hence the MM requirement. It disregards the '@' and '+" characters though.
     
  6. Offline

    Badzilla

    Dude this is totally awsome. So if I just put a blank sign somewhere around the area where I would use this and tap on it, it clears it out and then tapping on a storage chest would not dump items into it. Is that correct?

    That brings up another question. Should I always have a blank sign to click on to clear it?
     
  7. Offline

    Afforess

    @Badzilla

    Yes. It stores the last clicked on sign in memory, which is how it knows what to put in a chest. The sign doesn't have to be blank per-se, just have no item names or id's on it. You don't have to clear it if you don't want to. Also, the memory does NOT persist between server restarts, but it does persist between logins.
     
  8. Offline

    Badzilla

    Thanks, I'm thinking that maybe a blank sign somewhere near or just a sign like "This is storage area" would be a good idea.

    Way cool...I too am kinda lazy so really like this and will play with it more.
     
  9. Offline

    Afforess

    @Badzilla

    Laziness is the best inspiration. MM was born because using Pressure Plates's with rails was tedious and the minecart boosting glitch was a chore.
     
  10. Offline

    Badzilla

    All I can say is that there is going to be another donation to you soon. I am still out of work and trying to get finances in shape at this point. I love your plugins and you are the best I have seen at keeping up with new CB builds. I just wish other developers would keep up better.

    I will try tomorrow to get plugins up the the 67o tomorrow. Man this is the hard part about this game. I seem to spend more time upgrading than I do playing the game and building stuff.
     
  11. Offline

    Afforess

    Thanks - just don't go broke from the donations! I've pushed some of them onto the bukkit team. As a poor, unemployed college student, I salute you.
     
  12. Offline

    T.Hartman

    Looks like Quickstash isn't loading after updating Minecart Mania to 1.09. Thought I'd mention this in case it's not a "known issue".

     
  13. Offline

    Afforess

    Uh - you need to update to QuickStash 1.2. It's been fixed for days now.
     
  14. Offline

    T.Hartman

    A-whoops. My bad. Could you maybe put a version number in the output when it's loading? I didn't know there was an updated version. (I should probably go get that auto-updating plugin, hmm?)

    By the way, Afforess, I can't even imagine playing Minecraft without Minecart Mania and QuickStash any more. :D
     
  15. Offline

    Afforess

    QuickStash does load and report it's version number, at least 1.2 does. ;)
     
  16. Offline

    T.Hartman

    Er, I mean in the error messages. :oops: Unless that's fixed in 1.2 too. Heh.
     
  17. Offline

    commandantjones

    This looks completely brilliant. I'm going to install it after work today.

    But your 'it's all documented here' link to show how to format the sign commands points to a page about MM automatically picking up and dispensing minecarts. No info about the sign commands for items. Am I just missing something here? I haven't used MM yet either, so maybe I'm just not getting something here.

    In any case, thanks!!!

    EDIT: Looks like it's fixed and well-detailed now. Thanks!
     
  18. Offline

    Tahg

    In the interest of laziness, I'd like to suggest a couple features.
    1. An auto-search feature. For example placing radius@5 somewhere on the sign would search for a chest within 5 blocks of the sign that has some free space, and automatically place the items in that chest. Also, for it to not record or clear last clicked signs when used in this way.
    2. A warning if not all blocks could be placed in a chest (for either method of use), perhaps listing the block counts that were unstashable.
     
  19. Offline

    Badzilla

    Just my opinion but searching for a chest may not be a good idea. The Current mod works both ways. Store items in the chest and Retrieve items from a chest based on which order you click in. I myself like it much better so I can pick which sign and which chest and with the sign how many.
     
  20. Offline

    Afforess

    Updated QuickStash to 1.3

    Now supports withdrawing items as well. You stash by clicking on the sign, then the chest. You withdraw by clicking on the chest, then the sign. It withdraws everything if there's no amount, so be sure you put an amount with the '@' symbol.

    (e.g "Dirt@64").

    Also, respects Lockette and LWC.
     
  21. Offline

    MineralMC

    @Afforess

    We seem to be having some item duplication issues with version 1.3 of this mod. I was watching one of my players earlier on and he had two double chests in his wall (using the Cabinet mod) - he was depositing and withdrawing items using QuickStash and every now and then, a deposit would occur that /should/ remove 215 cookies from his inventory - it would add them to the chest, but not take them from his inventory.
     
  22. Offline

    Afforess

    Okay, I can add a fail safe, so that it doesn't move items if it fails for whatever reason.
     
  23. Offline

    MineralMC



    I want to echo this. If you add a 'search' feature, please make it optional and disabled by default, as I can see it messing up the current flow of using this mod - which is spot on at the moment - as well as screwing up some of the other sign/chest mods out there.

    Also, what would the failsafe do? Display an error message? Can we have a debug mode or a console error, so we can help pinpoint exactly what the problem is?

    ----

    Hey, how about max item support? I've got a chest that I keep specifically for bundles of arrows, but I process the bundles in stacks of 32;

    Max Items
    stick@32
    flint@32
    feather@32

    I'm currently trying to use this code for quickstashing those specific items, but no joy - any way the plugin can check to see if items are pre-existing in the chest and only stash enough to bring the amount of items up to the defined limits?

    ----

    On that note, support for the Trash Items sign would also be immensely useful. I think there are other 'trash sign' plugins out there, but hey - may as well try to keep it all in a single plugin, right?
     
  24. Offline

    sintri

    Anyone have a copy of 1.2? 1.3 keeps stashing phantom items and trying to withdraw phantom items when using All Items.
     
  25. Offline

    baunegaard

    Also interrested in 1.2. This version is acting all weird on me.
     
  26. Offline

    MineralMC

    Just found one hell of a bug - setting a sign as 'all items', hitting it and hitting a chest will fill the chest up with one of every single block type. D:
     
  27. Offline

    baunegaard

    confirmed, but if you try to use one of the blocks it disappears
     
  28. Offline

    MineralMC

    That's reassuring, I ended up throwing everything into a lava pit, and hoping none of my players came across it.
     
  29. Offline

    Afforess

    Yeah, the items have an amount of zero, attempting to use them will do nothing. Anyway, sorry about the slow response, Bukkit decided not to alert me to your posts for whatever reason.

    I'll have a fix as soon as possible.

    QuickStash updated to 1.3.1
    -Fixed the duping/zero item glitch.

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

    Afforess

    Updated to 1.3.2
    -Bug fixes.
     
  31. Offline

    sintri

    Code:
    2011-05-10 05:32:05 [SEVERE] Could not load 'plugins\QuickStash.jar' in folder 'plugins':
    java.lang.NoClassDefFoundError: com/afforess/minecartmaniacore/inventory/MinecartManiaInventory
        at com.afforess.quickstash.QuickStash.<clinit>(QuickStash.java:19)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Unknown Source)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:160)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:191)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:115)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:100)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:218)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:205)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:260)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: java.lang.ClassNotFoundException: com.afforess.minecartmaniacore.inventory.MinecartManiaInventory
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 12 more
    766

    nvm, some backpack or mmc update fixed it.
     

Share This Page