GX.zip
What's new
GX - Gold Export
Changelog - v1.1.0
NEW
- Minimap icon now runs on LibDataBroker-1.1 + LibDBIcon-1.0. Replaces the hand-rolled trigonometry used to position the minimap button. The same gold data can now also be displayed through Titan Panel, ElvUI DataBars, Details!, or XIV Databar - anything that reads a standard LDB data source.
- /gx characters - lists every saved character together with its gold and the date it was last seen.
- /gx forget <number or Name-Realm> - removes the saved gold for a single character (e.g. one that was deleted, renamed, or moved to another realm) without wiping the whole database.
IMPROVEMENTS
- /gx reset now asks for confirmation in a dialog before permanently deleting all saved data (previously it wiped everything instantly with no prompt).
- More robust character keying. The realm name is normalized before saving (spaces and apostrophes stripped via GetNormalizedRealmName), so connected realms or a slightly different realm name reported between clients no longer create a duplicate entry for the same character. Existing old-format keys are merged automatically the first time the addon loads, with no data loss.
- More complete Warband Bank tracking. In addition to the bank opening and ACCOUNT_MONEY, the addon now also reacts to the bank closing (BANKFRAME_CLOSED) and does a short re-check 0.2s after each event, to catch a deposit/withdrawal made directly in the bank UI even if C_Bank.FetchDepositedMoney lags a frame behind.
- Debounced PLAYER_MONEY updates. Mass looting or quickly selling to a vendor now triggers a single recalculation + UI refresh 0.5s after the last money change, instead of recalculating on every individual event.
- Native number formatting. Thousands separators in /gx export now use the client's own BreakUpLargeNumbers function instead of a custom regex implementation.
- Safe fallback for zero copper. GetStyledMoneyString now returns "0g" if GetMoneyString ever returns an empty string on some client version.
TECHNICAL
- Added a Libs/ folder with vendored, public-domain libraries: LibStub, CallbackHandler-1.0, LibDataBroker-1.1, LibDBIcon-1.0.
- GX.toc now loads these libraries before GX_UI.xml / GX.lua.
- Removed the now-unused GXMinimapButtonTemplate from GX_UI.xml.
This mod has no additional files
