LibAceConfigAPI
Every addon author eventually faces the same chore: turning a pile of saved variables into a clean, navigable options panel. AceConfig-3.0 does the heavy lifting, but writing out full option tables by hand gets repetitive fast. That is exactly the gap LibAceConfigAPI fills. This small library wraps the AceConfig-3.0 Options Tables in a friendlier API, letting you build config trees with short, readable method calls instead of sprawling nested tables.
What LibAceConfigAPI Actually Does
At its core, the library is a thin wrapper. Most parameter names in its methods match their counterparts in a standard AceConfig-3.0 Options Table entry, so if you already know AceConfig, you are halfway home. If you are new to it, the library's own documentation openly suggests reading the AceConfig-3.0 docs first, regardless of how simple this API looks.
The payoff is brevity. Instead of hand-writing table entries for every widget, you call dedicated methods such as createGroup, createHeader, createDescription, createInput, createRange, createSelect, createToggle, createExecute, and createColor. Each one maps directly to the matching AceConfig widget type, so the resulting panel behaves exactly as players expect.
Widget Coverage at a Glance
- Structural elements: groups, headers, and descriptions for organizing a tree
- Input widgets: text inputs, ranges with min, max, and step values, toggles, and color pickers
- Selection widgets: dropdown selects and execute buttons with optional confirmation dialogs
- SharedMedia integration: dedicated selects for fonts, sounds, status bars, backgrounds, and borders
That SharedMedia support is worth calling out. Rather than juggling dialog controls manually, you use the createSharedMedia*Select methods and let the library handle the plumbing. One caveat from the docs: not every feature, item type, or parameter of AceConfig-3.0 Options Tables is necessarily supported yet, so test unusual widget combinations before shipping.
Getters, Setters, and Less Boilerplate
The real time-saver is the set/get injection system. The injectSetGet method drops getter and setter functions straight into an option or group, and inherited values propagate down the tree as described in the AceConfig documentation. Pair it with buildGetter and buildSetter, and you can wire an entire options tree to your AceDB profile with a few lines.
The mechanics are straightforward. You pass your AceDB instance (not db.profile or a child table, since the library uses it as the profile root) plus a list of keys. Pass 'core' and 'font', and the getter reads or writes db.profile.core.font.size when the option's arg is size. The buildSetGet variant bundles both and injects them in one call, with an optional callback fired after each set.
Version Support and Compatibility
LibAceConfigAPI for World of Warcraft is built to travel. Because it sits on top of the Ace3 ecosystem, it works across Retail and the classic-flavored clients, including Classic, TBC, WotLK, Cataclysm, and MoP. Addon compatibility ultimately depends on the AceConfig-3.0 and AceDB versions bundled with your project, so keep those libraries current and your options panels will render correctly on every supported client.
If you manage a large addon folder, keeping libraries synced across game versions is the usual headache. The foxygame.net launcher eases that pain by offering a one-click install path for LibAceConfigAPI alongside the rest of its addon catalog, so the right library build lands in the right client without manual copying.
How to Install and Get Started
If you are an author, download LibAceConfigAPI and drop it into your project's Libs folder, embedding it the same way you would any Ace3 library. Players installing a finished addon usually receive it bundled and never need to touch it directly. For manual setups, the classic routine applies: close the game, place the library folder inside your World of Warcraft Interface/AddOns directory, and confirm the folder name matches what the addon's .toc expects.
From there, the workflow is simple. Create a group as your root, add headers and descriptions for structure, attach widgets with the create* methods, and inject getters and setters so every change writes back to your saved variables. Consult the AceConfig-3.0 docs for parameter meanings, since the wrapper deliberately mirrors them.
Final Thoughts
LibAceConfigAPI will not replace AceConfig-3.0, and it is not meant to. It is a convenience layer for authors who write options panels often and would rather spend their time on features than on table syntax. If you maintain addons across Retail and the classic clients, the reduced boilerplate and built-in SharedMedia helpers make it a sensible addition to your library stack.