Token Price Display

Token Price Display is a lightweight World of Warcraft addon that shows the current WoW Token price in a small, movable window. It auto-updates every 5 minutes, ensuring you always have the latest market info.

File Details

v1.6.2

  • R
  • Feb 3, 2026
  • 4.67 KB
  • 111
  • 12.0.1+1
  • Retail

File Name

TokenPriceDisplay.zip

Supported Versions

  • 12.0.1
  • 12.0.0

v1.62 Changelog

Fixed

  • Icon mode width: Frame now calculates compact width (icon + text only) instead of being overly long with empty space
  • Input box display: Price alert values now properly display in settings (converted numbers to strings for EditBox compatibility)
  • Color picker cancel: Cancel button now properly reverts to previous colors instead of keeping changed values
  • Frame position: Position now saves correctly on logout and restores on login
  • Alert spam: Alert counters now reset when price moves back to safe zone (hysteresis) instead of 3-time limit per session

Changed

  • Arrow indicators: Now use proper up/down arrow textures with color coding (green=up, red=down, white=no change)
  • Gold formatting: Improved thousand separators (e.g., "312,215g" instead of raw numbers)
  • Settings persistence: Alert threshold values persist between sessions
  • Update timer: Switched to C_Timer.NewTicker for more efficient periodic updates

Code Quality

  • Reorganized into modular functions (InitSettings, SetupFrame, ApplySettings, etc.)
  • Added Retail (Dragonflight) and Classic compatibility for settings panel API
  • Removed global variable pollution by scoping locals properly
  • Fixed shadow variable bugs in input handling

Known Issues

  • Settings input boxes refresh display only on /reload (values save correctly to disk but UI updates only on next session when reopening settings without reload)