CurrencyMonitor

This add-on monitors any combination of a player's justice points, valor points, conquest points, and/or honor points and flashes a raid warning with optional raid warning sound when any point gain above the minimum of 50 makes the points total exceed its player-defined threshold.

Using CM, it's easy to know as soon as you can afford that VP piece or when you're getting dangerously close to capping JP while chaining instance runs.

To configure, type /cm or /currencymonitor and fill in the fields and checkboxes.Don't forget to press the "Save" button!

--Before updating to V.2.0.2, you MUST delete your saved variables!--

Find these in the WTF folder under the character-specific Saved Variables folders.

This add-on is Copyright 2011 - All Rights Reserved

08/26/2012 - V.2.0.2
Restructured the saved variables table to prevent errors on load when currencies were not tracked.

07/11/2012 - V.2.0.1
CurrencyMonitor wasn't flashing any alerts, but at least the GUI worked. CM will again alert users that their currency is over the threshold.

07/08/2012 - V.2.0
Created the first in-game GUI. Bugs likely. Added slash command to hide or show the GUI.

07/02/2012 - V.1.2.3
Removed an unnecessary registered event. Matched default values to description. Flipped the change log. Moved variables around in the file to make maintaining it just a bit easier.

02/24/2012 - V.1.2.2
Fixed a problem with the currency warning not updating to reflect the current amount of points when points are awarded. Minor .toc file fix.

12/15/2011 - V.1.2.1
Changed some variables to local to avoid polluting the global environment.

12/09/2011 - V.1.2
Spam bug fix. Also warns of only the type of currency that triggered the warning. Considerable code rewrite for less redundancy.

I had a problem the other day where I spent some HP but it kept spamming me that I had money to spend. I think there needs to be an update to the call to let it know when you've spent currency. Flying around Org I kept getting raid warnings to spend points.

What version? That's the most important thing because 1.1 was a fairly substantial rewrite.

Regardless of version, that's definitely not intended. If you're using version 1.1, try changing line 131 to:

Code:

if event == "CHAT_MSG_CURRENCY" and tonumber(trigger) > tonumber(minToWarn) then

That should fix it for now. I don't have a function that runs when the player spends currency, so I guess version 1.2 will be coming soon. Thanks!

I had a problem the other day where I spent some HP but it kept spamming me that I had money to spend. I think there needs to be an update to the call to let it know when you've spent currency. Flying around Org I kept getting raid warnings to spend points.

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.