Foundry is a small library for World of Warcraft addon authors who want to build on Blizzard's modern toolkit: the Settings API, the new menu system, ScrollBox, tooltip hooks, and the rest.
The point is less code to write and less API surface to learn. It's an Ace3 alternative for authors who want options beyond Ace and writing all the code themselves.
Playing the game, not writing addons? Another addon you use needs this library. It does nothing on its own, so there's nothing to set up.
The rest of this page is for addon authors.
What Foundry is
Blizzard has added a lot of addon APIs over the years, and some of them have no good library wrapping them. Some of the old community wrappers have gone unmaintained too. Foundry wraps that newer stuff so you write a few clean lines instead of a pile of native boilerplate.
It's not trying to replace Ace3. Ace3 is solid and still maintained. Foundry is for when you want a smaller option built on the newer APIs, and you can adopt it one module at a time while Ace3 handles the rest.
You keep control too. Most modules have a `:GetNativeHandles()` that hands back the raw Blizzard objects, so you save typing, not access.
Modules
- Commands: slash commands with auto-help and guard checks.
- Events: event registration that cleans up after itself.
- Lifecycle: hooks for addon load, login, and logout.
- DB: SavedVariables with defaults, profiles, and per-character data. It reads the save files an AceDB shared-profile setup already wrote.
- List: a bridge over Blizzard's ScrollBox lists.
- Settings: options panels through Blizzard's Settings API, plus a searchable launcher entry that opens your own options window.
- Tooltip: a bridge over the modern tooltip hook system.
- Menu: a bridge over the modern menu system that replaced UIDropDownMenu.
- Window: draggable windows that remember their position.
How to use it
Two ways to ship it. Players install the standalone Foundry-1.0 (CurseForge does this for you when your addon lists it as a required dependency), or you embed a copy in your own package.
If you want to support both, use one shared TOC with this line:
`## OptionalDeps: Foundry-1.0`
The first copy loaded owns `_G.Foundry_1_0`, and later copies stand down. If you embed, that line is required, or your embedded copy can end up running even when a newer standalone is installed. The packaging guide covers the details, including which copy runs and why.
Game versions
Foundry supports Retail, Classic Era, Burning Crusade Classic Anniversary, Mists of Pandaria Classic, and WoW Forever.
Tooltip needs Blizzard's modern tooltip system. It checks for it when you register a hook, and tells you if the client doesn't have it.
Links
Missing a Blizzard API you'd like bridged? Open an issue on GitHub with the code you'd want to write.

