promotional bannermobile promotional banner
premium banner
Track and Show currencies on demand, all tracked by Currency ID

Description

CurrencyTracker is a lightweight addon for World of Warcraft (Retail) designed to monitor the player's economy. It features two transparent, floating windows: one for tracking specific currencies (like Valor, Honor, etc.) and another dedicated exclusively to Gold, tracking both the current balance and the session's profit/loss.

Key Features

  1. Currency Tracking (Main Window):

    • Customizable List: You can manually add currencies by ID or enable "Auto-track" mode to automatically list all currencies you currently own (balance > 0).
    • Clear Visualization: Displays the icon, name, current quantity, and the maximum limit (cap) for each currency.
    • Smart Formatting: Large numbers are abbreviated (e.g., 12.345, 2m, 1.5b) for better readability.
    • Interactivity:
      • Reorder: Drag and drop lines to change the order of currencies.
      • Resize: The window can be resized by dragging the bottom-right corner.
      • Font Size: + and - buttons in the header to adjust text size.
      • Remove: Quick button (X) or Right-Click to remove a currency from the list.
  2. Gold Tracking (Secondary Window):

    • Current Balance: Displays how much Gold/Silver/Copper the character currently has.
    • Session: Shows the variation in gold since login (how much was earned or spent in the current session).
  3. Interface & Configuration:

    • Minimalist: Transparent background, no heavy borders, focused purely on information.
    • Persistence: Saves window positions, font size, frame size, and the currency list between sessions (SavedVariables).

Chat Commands (/ct)

Although the addon has a graphical interface, it can be controlled via chat commands:

  • /ct: Toggles the windows (Show/Hide).
  • /ct add <id>: Adds a specific currency by ID (e.g., /ct add 3292).
  • /ct remove <id>: Removes a currency from the list.
  • /ct track <id1> <id2>: Sets an exact list of currencies to track at once.
  • /ct autotrack on|off: Enables or disables automatic tracking of all owned currencies.
  • /ct list: Lists the IDs of currently tracked currencies in the chat.
  • /ct gold: Prints the current gold balance to the chat.
  • /ct size <width>x<height>: Sets a specific size for the main window (or /ct size reset).

Technical Aspects

  • Events: Uses CURRENCY_DISPLAY_UPDATE for real-time updates and PLAYER_MONEY for gold tracking.
  • API: Built on the modern Retail C_CurrencyInfo API.
  • Localization: The internal strings are hardcoded in Portuguese (PT-BR).