Get an Epic Experience with Premium

Trashcan

Bags & Inventory Login to Add Favorites
  • 7 Likes
  • World of Warcraft
  • 657 Monthly Downloads
  • Supports: 5.4.1
  • 43,143 Total Downloads
  • Updated 11/21/2013
  • Created 11/02/2008
  • 69 Favorites
  • Project Site
  • Comments
  • Release Type: Release
  • 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
  • #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.

  • #90

    Yikes! Welcome back! Hope it wasn't too bad in there

  • #88

    This addon is great.  It is still working as of 5.3!

  • #85

    One of my favorite plugins of all time.  Unfortunately, I now get an error when trying to look at the trash list.  Is there a place I should report the bug?

  • #86

    I found the same problem, and turns out the plugin Recount does not play well with Trashcan for some reason.  I've found this by enabling each addon in my arsenal one by one until Trashcan's list broke.  When I disable Recount, Trashcan works flawlessly.. Enable it, and the list breaks.  TC still works in the background, but the list is simply not editable ingame.  So I've just got in the habit of disabling recount when i'm not raiding, and all is well.

    Here's hoping the TC team can figure out how to play nice with Recount or vice versa.

    Thanks guys for an awesomely useful addon.

  • #84

    I love this addon, please add a Destroy List to this as well. Blizz is always coming up with ways to fill your bags full of crap you can't sell and have to drag out of your bags. I want it to be seperate from the vendor trash sell list, if you can. Anything on the Destroy list is removed from bags immediately, no warning, no confirmation, just gone. :D

    Thanks so much for your time!

    Last edited by IronBits on 7/11/2013 9:52:05 AM
  • 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 »

Leaguepedia PAX Skin Giveaway