Get an Epic Experience with Premium

Trashcan

Bags & Inventory Login to Add Favorites
  • 7 Likes
  • World of Warcraft
  • 968 Monthly Downloads
  • Supports: 5.4.1
  • 48,390 Total Downloads
  • Updated 11/21/2013
  • Created 11/02/2008
  • 72 Favorites
  • Project Site
  • Comments
  • Release Type: Inactive
  • License: All Rights Reserved
  • Newest File: 5.4.03
or

About Trashcan

Trashcan keeps space free in your inventory by selling low value gray items or destroying them if you do not visit a vendor and are running out of space.

(Note: when first installed, Trashcan is disabled. Go to Options->Interface->AddOns to enable it.)

Features:
  • GUI configuration can be opened by clicking the Minimap / LDB icon or through the Bliz Options/Interface/Addons.
  • Maintains a Trashlist to which you can add non-gray items that will automatically be sold (or destroyed, depending on settings)
  • Any time you manually destroy an item, you will see a third button in the confirmation dialog allowing you to add the item to your Trashlist.
  • If selling is enabled, sells all grays and all items in your Tashlist whenever you visit a vendor.
  • If destroying is enabled, you can set a minimum number of free bag slots and a maximum item value to destroy. Whenever you have less than that number of free bag slots, Trashcan will destroy the least valuable gray or Trashlist item in your inventory to reach the set number of free slots.
  • GUI includes a page for managing your Trashlist where you can drag to add items or click to remove items. You can also add items to the Trashlist manually by name using the command line.
  • GUI shows the total vendor value of all items ever sold and of all items deleted by Trashcan.
  • Note that when calculating the vendor value of items to destroy, Trascan uses the value of a full stack of any stackable items, so that in the long run you will destroy less value if you repeatedly fill your inventory.

------------------------------------------------------------------------
r50 | msaint | 2013-11-21 20:39:10 +0000 (Thu, 21 Nov 2013) | 1 line
Changed paths:
   A /tags/5.4.03 (from /trunk:49)

Tagging as 5.4.03
------------------------------------------------------------------------
r49 | msaint | 2013-11-21 19:51:36 +0000 (Thu, 21 Nov 2013) | 1 line
Changed paths:
   M /trunk/tcmerchant.lua
   M /trunk/tcoptions.lua
   M /trunk/trashcan.lua
   A /trunk/trashcan.tga

Added missing LDB icon. Corrected text in options. When adding items to trash list by dropping on world, cursor is now cleared afterwards. Minor code beautification.
------------------------------------------------------------------------
r48 | msaint | 2013-11-21 16:56:11 +0000 (Thu, 21 Nov 2013) | 3 lines
Changed paths:
   M /trunk/Trashcan.toc
   A /trunk/libs/LibDBIcon-1.0
   A /trunk/libs/LibDBIcon-1.0/LibDBIcon-1.0.lua
   A /trunk/libs/libdatabroker-1.1
   A /trunk/libs/libdatabroker-1.1/LibDataBroker-1.1.lua
   A /trunk/libs/libdatabroker-1.1/README.textile
   M /trunk/tcmerchant.lua
   M /trunk/tcoptions.lua
   M /trunk/trashcan.lua

-Added LDB/Minimap icon to access options and trash list. Added toggle for minimap icon in options.
-Dropping items on the world and clicking Trashcan in the popup will not destroy the item, only add it to the trash list.
-When Trashcan options are accessed via the LDB/Minimap button or /tc config command, they are shown in their own, moveable, frame instead of locked in the huge and unmovable Blizzard options frame.
------------------------------------------------------------------------
r46 | msaint | 2013-11-17 01:27:29 +0000 (Sun, 17 Nov 2013) | 5 lines
Changed paths:
   M /trunk/Trashcan.toc
   M /trunk/libs/MSAceWidgets/MSAceGUIWidget-DropTarget.lua
   M /trunk/libs/MSAceWidgets/MSAceGUIWidget-ItemSelectList.lua
   M /trunk/tcmerchant.lua
   M /trunk/tcoptions.lua
   M /trunk/trashcan.lua

Bugfixes to gui widgets.

Updated toc interface version 50400

Changed Trashcan versioning to relate to game versions. New version is 5.4.01.
------------------------------------------------------------------------

Comments

First Previous Page 1 of 7 Next Last
  • #104

    Love this addon!  Any plans to update it for 6.x?

    If not, anyone know of an addon with similar functionality?  Specifically, the ability to keep a specified number of slots open in my bags?

    Last edited by Spunkymanker on 10/19/2014 6:20:49 PM
  • #103

    Very nice addon to keep my bags empty as I farm xmogs a lot.  But the minimap icon isnt there despite

        ["minimapIcon"] = {
            ["hide"] = false,
        },

    is always set in the .lua file before I launch the game.   Is there a cmd for calling the Trashcan window so I can macro it to a key?

     

    EDIT:

    Found it. -->> /tc config

    Last edited by jodlejodle on 8/31/2014 8:22:16 AM
  • #102

    Great add on. Not sure if this an error or not, but I can't add " An Exotic Cookbook " to the trashcan destroy list.

  • #101

    This addon does not seem to work with ElvUI.   Does anyone have a solution?

  • #100

    A few suggetions.

    Add a seperate "Auto destroy list"
    So the "Destroy Junk" feature is not the same as the one Im refering to. I want the addon to destroy all gear that have no sell value that are not quest item. Like potions from "Tempest Keep", stuff u get on Timeless isle. Shit I cant sell, that only take up bagspace.

    Add a 2 feature to "auto destroy soulbound" gear you cant use.
    So gear that are class based, and is not your class, and also gear that is wrong material, so cloth users auto destroys soulbound leather,mail,plate.

    By soulbound Im refering to "Bind of Pickup" gear, since they get soulbound at once.

    When to start destroying item. Its often bad to destroy gear that you could sell, so have numer you can set, Start destroying low value gear so I always have at least 4 bag space, for example. that way you can run around doing quests and dont have to vorry about sorting your bag to get room for quest gear, and not forced to have the addon detroy all gear you have in your bags.

    Last edited by TheWolfbane on 5/19/2014 11:28:55 PM
  • #98

    Is there any way to keep the list of items to be discarded between all your characterss?

     

  • #95

    Hi MSaint,

    Welcome back we missed you.  Love this addon thank you for it.

    For some reason there a many trash items that the addon does not delete.  things like fangs and claws and fur and such.  When I try to add them to TC it says "This Item would have been deleted anyway" and then it deletes it. However when you loot another fang it does not delete it.  And you have to try to add it again and force the delete to again not have it add it to the list.  Is there anyway to allow for grey items to be added to the delete list.  Say a check box for those of us that don't mind grey's being added.  Right now I have to manually go into SavedVariables and add the item# to the Trashcan.lua file.  Then and only then does TC delete stubborn grey buggers that stick to the inside of my bags like velcro.  Please help & thanks again sooo much for your work.

  • #97

    I am really unclear on what you are describing. Items in the trash list are treated exactly the same way as gray items, and will only be deleted if they are worth less than a certain amount. The only exception to this is that items in the trash list are not checked for the value of a full stack, but rather are treated as individual items. It's actually unintentional.  It should be checked.

    I think what is perhaps confusing you is that Trashcan assumes that a slot that is filling with, say, fangs, is worth as much as you will eventually fit in it if you keep doing what you are doing.  That way, a non stackable item worth 80s will be deleted before 10 fangs worth 5s each, on the assumption that you can loot 10 more fangs without using up another slot in inventory. If the stack will be worth more than your threshold, then it won't be deleted at all. If you max is 99s, then the fangs will never be deleted because a full stack is worth 1g.

    All of this is very intentional.  It saves money during long sessions of looting junk to do it this way.

  • #96

    A lucky guess, I found out how to do it myself actually.  I'm no programmer by any means, but the math seemed to make sense, assuming quality 0 is a grey item & values 1-5 are common, uncommon, rare, epic, legendary.

    I edited the main Trashcan.lua file and changed the following line very near the bottom of your code:

    if (quality > 0 or (tcDB.useMaxVal and value > tcDB.MaxVal)) then
                   tcDB.TrashList[name] = itemId

    To:

    if (quality < 5 or (tcDB.useMaxVal and value > tcDB.MaxVal)) then
                   tcDB.TrashList[name] = itemId

    Now it adds grey's to the trash list and forces TC to delete these sticky lil buggers from my bags immediately upon looting. :D

     

    Last edited by thisguyyouknow on 11/27/2013 1:30:45 PM
  • #99

    Nice little mod, will be trying it out now! :D

  • #94

    This update, 5.4.03, addresses convenience.

    First, if you drop items on the world, in the popup to confirm destroying them, the third button, "Trashcan", now adds the item to the trash list and clears the cursor, but does NOT destroy the item.  It is now the easiest way to add things to the list, but let them be treated in the normal way, i.e. sold unless you are out of space and they are the lowest value item in your bags (and below the value limit you have set).

    Second, there is now a Minimap icon / LDB icon (which means it can be added to, e.g. Titan Panel). Clicking this brings up the Trashcan Options frame, NOT the Bliz options frame.  So the frame is a bit smaller and you can move it around, and you can open it with one click, and it doesn't close your bags. Yeah, I know. A minimap icon. Nothing innovative, but useful for managing your trash list more conveniently.

  • #91

    I have a problem adding items to the trash can list.  I can only open the Trashcan UI through the Interfaces menu, which effectively closes my bag inventory view.  No way to drag an item into the Trashcan UI if I cannot keep both windows open at the same time.  Any suggestions?  Anyone else run into this? 

  • #93

    I just re-read your post.  For me, opening the config doesn't prevent me from opening my bag.  However this might be because I don not use the default bag ui.  I have used Trashcan with both OneBag and Bagnon (which I prefer).  The inconvenience for me is having to open interface/addons/trashcan and switch to the right tab.

    When I can , I will log in with Bagnon disabled and see what happens.

  • #92

    Very timely comment.  I was deciding today how to deal with that inconvenience.

    Currently, the 'fast' way to add things to the trash list is to drop them on the world, as you would normally do to delete them.  The usual confirmation popup box has an added button for adding the dropped item to your trash list.

    But many of the items you want on the list are for vendoring, and are above the destroy price threshold, so it is wasteful to delete one just to add it to the list faster.

    Possibilities I'm toying with: (1) Minimap / LDB / Titan button that pops open the config directly to the trashlist page. (2) Currently, typeing /tc in chat tells you the command line options, and you would have to type /tc config to get to the gui.  I may change that or add another, such as /tcc.

    I expect I will do one or both of those things in the near future.

  • #89

    Hi folks.

    Finally out of jail ;-)

    I'll look at what's broken and what folks have been doing to make it work.

    Sorry for the long absence, been a harrowing year.

  • To post a comment, please login or register a new account.
Login to Curse

Don't have an account? Create One.

Get an epic experience with Curse Premium
  • Faster addon downloads
  • Premium-Only Beta Giveaways
  • Ad-Free Curse experience
  • Premium Curse Client
  • and many More Features
  • Learn More »

VIP trip to SMITE World Championship