promotional bannermobile promotional banner

LedgerGoblin

A high-performance, event-driven mail routing system — it sends gold and items to your alts automatically, by rule.
Back to Files

2.0.0

File nameLedgerGoblin-2.0.0.zip
Uploader
KkthnxKkthnx
Uploaded
Nov 21, 2026
Downloads
22
Size
81.0 KB
Flavors
RetailForever
File ID
9728103
Type
R
Release
Supported game versions
  • 12.1.5
  • 1.60.1

What's new

Changelog

All notable changes to LedgerGoblin are documented here.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[2.0.0] - 2026-11-21

A full rework. LedgerGoblin now handles both sides of the mailbox and runs on WoW Forever as well as Retail.

Added

  • Forever support. The TOC lists 16001 next to Retail 120105.
  • Collect. Takes inbox mail by filter (everything, gold only, auction mail or mail from your alts), newest first and one command at a time. COD mail, GM letters and pending sales are never touched. It stops taking items at a free bag slot floor, leaves gold that would pass the cap, and refreshes the inbox when the server holds more than the 50 shown. Optional auto-collect on open runs before auto-send.
  • Income ledger. Gold taken from the inbox is recorded by source (auction sales, refunds, your alts, other players) per character per day. /ledger income [days].
  • Mail on every character. Each inbox scan saves how much mail, gold and items wait there and when the first one expires. A login warning lists characters whose mail expires soon, and /ledger alts shows gold and mail for every character.
  • Item type routing. Send whole item types, for example every herb to your alchemist. Trade goods are offered per subtype.
  • Restock routes. An item route can carry a max. Only enough is sent for the target to hold that many, counting its bags, bank, inbox and mail on the way.
  • Mail desk. Send, Preview, Collect and Rules above the mailbox, with a status line. Right-click Collect for a one-off filter.
  • Recipient picker beside the Send Mail "To" box, listing your characters and recently mailed names.
  • Alt-click attach. On the Send Mail tab, alt-click a bag item to attach every stack of it.
  • Auction trades. Each sale and purchase collected from the inbox is recorded with item, count, price and the other player. /ledger sales [days] shows totals per item and the latest trades.
  • Items only filter for Collect, which leaves the gold in the mail.
  • Inbox refresh. While the mailbox is open and the server holds more mail than the 50 shown, the inbox refreshes every 15 seconds when the client allows it.
  • More recipients. The + picker also lists online friends and guild members.
  • Options. A chat line per collected sale, purchase, refund or gift, a coin sound when collecting finishes, and one item type per mail.
  • Guide. A seven page walkthrough with small drawn examples of each part of the addon. It opens once at the first login on the account and comes back with /ledger guide or the button on the Rule Editor settings page.
  • Rule Editor preview. /ledger demo fills the editor with sample routes and /ledger demo off puts yours back. Sending is blocked while it is on.
  • New icon. A goblin portrait for the addon list, minimap button and Rule Editor, shipped as a 16 KB 64x64 TGA.
  • Manual sends are tracked. Mail you send to your alts with Blizzard's own Send button is logged and counted as on its way too.

Fixed

  • Postage. Planned at 30 copper per attachment instead of 30 per mail, and each mail is checked against the real GetSendMailPrice() before sending.
  • Forever character names. Forever names carry a surname and are unique across the region, so characters are stored and mailed as "First Surname". Earlier test builds keyed them "First-Surname", which is moved over at login.
  • Money display. Coin strings use C_CurrencyInfo.GetCoinTextureString, the old global is gone on current clients and amounts showed as plain gold.
  • Item counts. The log and stats count items, not stacks.
  • Repair reserve. Holds back the highest repair bill seen, not the last one.
  • Rules that target the current character are refused instead of skipped at send time.

Changed

  • Faster hovering. The Send button tooltip and item tooltip hints read cached results. Bags are scanned once per bag change instead of once per hovered item.
  • Settings. Every route is one dropdown, None turns it off.
  • Rule Editor. Aligned Item, Goes to, Max and Keep columns, flat number cells, faded rows for routes that are off, plain item names, a route count and the full target on hover.
  • Code layout. The engine and the 2,400 line config file are split into focused modules (Items, Rules, Planner, Sender, Inbox, Ledger and the UI files). Saved settings carry over.
  • Dropped Classic Era, TBC and Mists interfaces from the TOC. They were untested and their mail frames differ.

1.4.0 - 2026-06-16

Cross-account support, safer confirmations, and hardening for patch 12.0.7.

Added

  • Cross-account alt whitelist. Characters on a second WoW account can be added manually so they pass the "known target" safety gate — no more editing Lua. Manage them from the Rule Editor Pick menu or /ledger alt add|remove|list.
  • Heavy add-time confirmation. Adding a cross-account alt opens a type-to- confirm dialog with irreversibility and liability copy before the name is saved.
  • Auto-run gate for cross-account alts. Unattended mailbox auto-run now asks before mailing a hand-added target; manual /ledger send is still trusted.
  • Separate gold vs item confirm toggles. Confirm gold sends (with the existing threshold slider) and Confirm item sends are independent settings.
  • Export / import character lists. Export every character this account knows (auto-detected roster + manual alts) as plain text; paste on another account to seed its whitelist. Duplicates are skipped on import. Available from the Pick menu and /ledger alt export|import.

Fixed

  • Keep-reserve no longer over-sends. On clients without SplitContainerItem, a partial keep now leaves the stack in the bag instead of mailing the whole stack.
  • Tooltip routing hints are cached. Hovering bag items no longer re-scans all bags on every tooltip; the cache clears when bags or rules change.
  • Send button stays honest. Editing rules while the mailbox is open now refreshes the toolbar Send button's enabled state.

Changed

  • Combat feedback on manual send. /ledger send and the Send button now print a message when blocked during combat (auto-run stays silent).
  • 12.0.7 alignment. Central F.IsSecret / F.NotSecret helpers, guarded roster gold snapshot, and scroll-wheel bail-out when scroll position is Secret.

1.3.0 - 2026-06-13

Focused on visibility: seeing where items will go before you send, reaching the addon faster, and clearer feedback when a rule won't do what you expect.

Added

  • Bag tooltip routing hints. Hover an item in your bags and the tooltip shows where LedgerGoblin would mail it — the target name in its class colour (and with the realm suffix dropped for same-realm alts), or that the item is excluded. The hint only appears when a rule actually claims the item, so unconfigured items stay quiet. Toggle it under Routing Rules in the settings panel.
  • Minimap button. A draggable minimap button (self-rolled, no library): left click opens settings, right-click opens the Rule Editor. Toggle it with /ledger minimap; its position is saved account-wide.
  • Rule Editor search box. Filter long route lists by itemID, item name, or target — sits on the action-button row with a magnifier icon.
  • Unknown-target warning. Adding a rule whose target this account has never seen now prints a heads-up (e.g. catching Kkthnx-Area52x typos). It's a soft warning — brand-new alts still work, you just get a nudge to double-check.
  • Specific "why not" feedback. When a rule can't be added, the message now says why — soulbound to this character, Bind on Pickup, or a quest item — instead of a generic refusal.

Fixed

  • Category routes no longer look like phantom item rules. A tooltip hint from a Bind-on-Equip, Warband, or quality rule is now tagged as such, so removing a specific item rule and seeing the item still route (via a category rule) is no longer confusing.

Changed

  • Lighter tooltip scanning. The Rule Editor's item-info refresh listener now only runs while the editor is open, instead of waking for every item load in the world all session.
  • Search icon is flavor-safe. Falls back to a universal magnifier texture on clients that lack the retail search atlas.

1.2.0 - 2026-06-12

Focused on hardening the mail send queue for large batches and fixing item classification edge cases surfaced in live use.

Added

  • Check All / Uncheck All buttons in the Rule Editor for quickly toggling long route lists.
  • Copy menu in the Rule Editor (next to Pick) for merging another character's saved specific item routes into the current character without duplicating exact matches.
  • Flavoured mail subjects — each mail now gets a random goblin one-liner plus an account-wide lifetime send number (e.g. Goblin's cut #142). The counter only advances on confirmed sends, so it's a real running tally.
  • Lifetime mails sent is now shown in /ledger stats.
  • /ledger trace — an opt-in, verbose send-pipeline diagnostic. Off by default; narrates every step of a run (attach results, recipient, the SendMail call, and which of success/fail/timeout/lock events arrive) so a stuck batch can be diagnosed instead of guessed at.

Fixed

  • Warband / account-bound reagents are no longer wrongly blocked. Items like Arden Lumber report an unreliable static bind type; a tooltip-based fallback (C_TooltipInfo) now correctly detects warband binding so they route to alts.
  • Reagent bag is now scanned. The carry-inventory sweep skipped the reagent bag (container 5), so ore/herbs/lumber stored there reported "nothing to route." It's now included explicitly.
  • Same-realm mail no longer silently fails. Addressing a recipient as Name-OwnRealm produced no success or failure event; the sender's own realm is now stripped so same-realm mail delivers.
  • Large batches no longer stall mid-run requiring the mailbox to be closed and reopened.
  • Uncheck All button layout no longer stretches or spills off the Rule Editor frame.

Changed

  • Mail queue is now lock-aware. It tracks MAIL_LOCK_SEND_ITEMS / MAIL_UNLOCK_SEND_ITEMS and won't compose into a locked send frame, with a fail-open guard if the unlock event never arrives.
  • Latency-aware pacing. The compose-settle and post-send cooldowns now scale with connection latency (with conservative floors) instead of fixed delays, so fast connections stay snappy and laggy ones get more breathing room.
  • Attachment retries and clean cancellation. Transient attach failures retry before skipping a chunk, and closing the mailbox mid-run cancels cleanly without leaving stale timers.
  • Per-day analytics are capped at 90 days so the saved-variables file can't grow without bound over time.
  • Missing locale strings degrade to readable English instead of erroring, via a fallback on the locale table.

1.0.0 - 2026-06-11

First stable release. LedgerGoblin is a complete, rule-based mail routing system for sending gold and items to your alts.

Added

  • Rule-based routing pipeline — resolves every item in priority order: exclusions → specific item rules → bind routing → quality routing.
  • Gold routing — keep-and-send, fixed amount, or percentage modes, with a repair reserve that's learned from your actual full-repair cost at vendors.
  • Bind routing — send Bind-on-Equip gear (while unequipped) and account/warband-bound items to your own alts.
  • Quality routing — a catch-all destination per item quality (Poor → Epic).
  • Specific item rules & exclusions — route exact items by ID or name, and a never-mail list for everything you want to keep.
  • Keep reserves — hold back N of an item and send only the surplus.
  • Rule Editor window — a movable panel that works alongside open bags; drag or shift-click items straight in to fill their ID, and pick targets from a class-coloured roster menu.
  • Auto-run on mailbox open (opt-in, off by default), with hold-Shift to skip.
  • Confirmation prompt for sends above a configurable gold threshold.
  • Preview & Debug commands — see what would send, and why each item does or doesn't route.
  • Transfer log and lifetime/daily stats.
  • Roster awareness — learns your alts so route targets validate before sending.
  • AddOn Compartment support — left-click for settings, right-click for the Rule Editor.
  • Midnight (12.0) ready — secret-value safe throughout.

Security & safety

  • Soulbound / Bind-on-Pickup and quest items are never routed. Rules for un-mailable items are now blocked at creation time — by itemID, item link, or exact name — using the item's live inventory binding when it's in your bags, falling back to its static bind type otherwise.
  • Locked slots (items mid-move or pending a server action) are skipped during planning, sending, and rule validation, so a transient state can't cause a misrouted or mis-blocked item.
  • Shift-click item entry now works reliably via a taint-free secure post-hook on ChatEdit_InsertLink, resolving links down to a clean itemID.
  • Paced sending — a short cooldown between confirmed mails (on top of the one-in-flight, wait-for-success queue) avoids locked-slot races and rapid-fire mailbox issues.

This mod has no related projects