Important note for users of v1.0
The format in which the AddOn saves data has been changed slightly in v1.1. To make your existing data work with v1.1, follow the instructions here.
LootPrice records how many of an item you loot and displays the total value based on a price you set. This value is displayed both when you loot the item (off by default) and when you use the /lp display command.
You must add an item to the AddOn's database using the /lp add slash command for it to start recording the amount of the item you loot.
Slash command usage:
/lootprice or /lp command itemId price
spam on|off - Enable/disable price messages when looting an item
add itemId - Adds the item to the LootPrice database, allowing it to record how many you've looted.
set itemId XgYsZc - Sets the value of the item to the specified amount.
display itemId - Displays information for the item.
/lootpriceitemid or /lpitemid itemLink|itemName
Displays the itemId of the given item.
Note: Using the item's link will always return the correct itemId, but using the item's name may return the wrong itemId if there are multiple items with that name.
The original concept for LootPrice was outlined by Zelreth.
v1.01 - Zelreth's requests
• Added an optional price message when looting an item in the DB (off by default)
• Added the spam sub-command to /lootprice, allowing price messages when looting to be enabled/disabled.
• Added a new slash command /lootpriceitemid (alias /lpitemid), which displays the itemId of the given item name or link.
Was initially going to be a sub-command of /lp, but it was too difficult to implement due to the spaces in some item names.
• Moved the slash command help to its own function PrintHelp() so it can be easily called from both slash commands.