HideLooted is a simple addon designed to suppress chat messages when specified items are looted or created by characters other yours, or are of a lower quality than a set rarity level. Paired with addons such as PassLoot and GreedBeacon, this addon helps clean up loot spam in your chat window and allows you to focus on chat!
By default, HideLooted suppresses loot notifications for all battleground Marks of Honor, Badges of Justice, Emblems of Heroism and Valor and Stone Keeper's Shards. Any of these may be removed from the list of suppressions and further items may be added.
All configuration can be done through the Blizzard Interface Options frame and can be accessed directly via the slash commands /hl or /hidelooted.
To create/update translations for other languages than enUS, please do so though the Localization Page
I don't see any need for profiles (I almost never do, unless things are class- or faction- specific I want the same settings across the board)... I don't do enable/disable (disable the addon and reload works fine, as does proper LoD init)... and I don't see any need for adding/removing items because I can't think of any others I'd want to block, except maybe grey items, but that's not a huge deal...
So, a hardcoded list and always-on behavior is all I need, the rest is unneeded code ^^
As it happens, I've been toying with the idea of making a config panel, but still can't decide how to handle adding/deleting/displaying items in a reasonable manner.
The slash handler is ideal for adding items as you can just shift-click a link into the editbox, but I've got no idea what the best way to get a link into a config panel would be - I guess by allowing entry of items by name/itemid and then looking them up.
In this case a slash and a GUI would be fine, since as you said you could shift-click. You could also hijack the shift-click handler when your frame is open, and reset it when you frame is closed.
Oh and I think Torhal means StealYourCarbon, Buffet's items aren't configurable. I think it's really the case here as well, users don't need full blown any item config. Just give them groups of items they can block... PvP Marks, PvE Tokens, Grey items... if people see the need for blocking anything else they'll tell you.
Mhmm i tested this addon in BlackwingLair today , i set the rarity treshold to epic and added a loot of the trashitems (runecloth, hourglassand...) to the filter list.
But they still showed up. Im playing on a german client, could thatbe the reason?
The rarity filter is checked before the item list anyway, so with Epic selected, any non-epic items looted by others shouldn't have been shown, however it relies on GetItemInfo() actually returning the rarity. I've got an alternative i'm testing at the moment which just checks the item link's color to the same effect which will mean it wont fail on items not in the cache.
I can't explain the items you added into the list showing up though, unless you're expecting loot messages when you loot those items to be hidden (which won't ever be hidden).