插件中文资料库
中文说明、玩家点评、适用场景和替代推荐,方便快速判断是否适合你。
- 界面布局、头像框、姓名板和动作条优化
Lib's - Addon Tools 插件下载与使用指南
本页整理了 Lib's - Addon Tools 的功能用途、适用人群、安装方法和常见问题,方便玩家快速判断是否需要安装。
适合谁用
Lib's - Addon Tools 是一款 开发工具 类插件,适合需要优化界面、提升操作效率或补充游戏信息提示的魔兽世界玩家。
基本信息
- 插件作者:wutname1
- 插件分类:开发工具
- 适配版本:1.15.8,5.5.3,3.80.0,2.5.5,12.0.5,5.5.4,12.0.7
- 累计下载:10,351
安装方法
- 点击上方下载按钮获取 Lib's - Addon Tools插件文件。
- 解压后将插件文件夹放入 World of Warcraft/_retail_/Interface/AddOns 目录。
- 重启游戏或在角色界面点击插件,确认 Lib's - Addon Tools 已启用。
- 如果插件不生效,请检查版本是否匹配,或关闭同类冲突插件后重试。
使用建议
Lib's - Addon Tools 安装后建议先在角色界面确认已启用,进入游戏后根据插件提供的命令、小地图按钮或设置面板进行调整。如遇到报错,可先单独启用该插件排查冲突。
Lib's - Addon Tools 常见问题
Lib's - Addon Tools 适合需要 开发工具 类功能的玩家,特别是希望提升游戏便利性、界面管理或战斗信息获取效率的用户。
下载后解压到 Interface/AddOns 目录,然后重启游戏并在角色界面启用插件。
常见原因是目录多套一层、游戏版本不匹配、依赖插件缺失或同类插件冲突。
可以查看本页的替代插件推荐和相关插件区域,按下载量和分类选择同类工具。
插件 AI 问答
可以问:这个插件正式服能用吗、和 DBM 冲突吗、怎么设置、有没有替代插件。
Lib's - Addon Tools 是一个插件依赖库,为其他插件提供数据或功能支持。
插件用途
Lib's - Addon Tools 主要面向需要开发工具功能的玩家,用来改善游戏体验、减少重复操作或补充默认界面没有直接提供的信息。
适用场景
- 插件库、数据接口或依赖支持
使用建议
安装后建议先在角色选择界面或插件管理器中确认已启用,再进入游戏测试是否与现有整合包、WA 和其他插件冲突。如遇报错,可以先禁用同类插件排查。
A shared toolkit that gives you a modern error handler, a profile manager, a macro editor, a Lua console, and more all in one place.
What Does This Addon Do?
Lib's - Addon Tools adds a handful of useful tools to your game. You don't need to be a developer to use them! Here's the short version:
Error Handler
Ever get random Lua errors popping up while you play? This addon replaces WoW's default error popup with a cleaner, more detailed error viewer. Errors are captured quietly in the background and you can browse them whenever you want.
- Show All formats every error into one clean, copyable block perfect for pasting into Discord or a GitHub issue.
- Minimap button shows how many errors happened this session. Click it to open the error window.
- Ignore errors hide the ones you don't care about.
- Auto-popup optionally have the window open automatically when a new error happens.
- Errors are color-coded and easy to read.
Profile Manager
Import and export your addon settings so you can share them with friends or move them between characters.
- Works with most popular AceDB-based addons automatically.
- Built-in support for addons like Bartender4, Masque, and more.
- Export creates a shareable text string copy it, paste it in Discord, done.
- Import lets you paste a string and load it into your current profile or a new one.
Open it with /profiles.
Macro Editor
This addon gives you a full-size macro editor with more room to work than WoW's default.
- Lists all your Account and Character macros.
- Big text area so you can actually see what you're writing.
- Icon picker built in.
- Drag-to-action-bar support.
- Character count so you know when you're near the 255 limit.
Open it with /macros.
Lua Console (CLI)
A mini code editor inside WoW. Type Lua code, hit execute, and see the output. You can save scripts for later too.
Open it with /lua.
Setup Wizard
Some addons that use this library can register setup pages. If any are available, you'll get a one-time prompt on login to walk through first-time configuration.
Open it anytime with /setup.
Quick Commands
| Command | What It Does |
|---|---|
/libat |
Shows all available commands |
/errors |
Opens the error viewer |
/profiles |
Opens the profile manager |
/macros |
Opens the macro editor |
/cli or /lua |
Opens the Lua console |
/log |
Opens the log viewer |
/setup |
Opens the setup wizard |
/rl |
Reloads your UI (safe, won't reload during combat in instances) |
For Developers
Everything below is aimed at addon developers who want to integrate with or build on top of Lib's - Addon Tools.
Getting Started
Lib's - Addon Tools is an AceAddon-based framework. It registers itself globally as LibAT (_G.LibAT). All systems are accessible through this namespace.
Logger System
A structured logging framework with 5 severity levels: Debug, Info, Warning, Error, and Critical.
Logs are organized in a three-level hierarchy: Category → SubCategory → SubSubCategory (auto-detected from dotted source names). Each module can override the global log level or inherit from it.
Registering a Logger
-- Simple registration (single category)
local log = LibAT.Logger.RegisterAddon("MyAddon")
log.info("Addon loaded")
log.debug("Initializing systems...")
log.warning("Something looks off")
log.error("Something went wrong")
-- Advanced registration (multiple categories)
local log = LibAT.Logger.RegisterAddon("MyAddon", { "Combat", "UI", "Data" })
log.Categories["Combat"].info("Combat module loaded")
log.Categories["UI"].debug("Building frames...")
-- Register sub-categories dynamically
local subLog = log:RegisterCategory("Networking")
subLog.info("Connected to server")
Logger Methods
| Method | Description |
|---|---|
log.log(msg, level?) |
Log at optional level (defaults to Info) |
log.debug(msg) |
Log at Debug level |
log.info(msg) |
Log at Info level |
log.warning(msg) |
Log at Warning level |
log.error(msg) |
Log at Error level |
log.critical(msg) |
Log at Critical level |
log.RegisterCategory(name) |
Create a new sub-category logger |
Logs are viewable in-game via /logs or the DevUI Logs tab. See Logger-TechDoc.md for the full technical reference.
Profile Manager API
Register your addon so users can import/export its settings through the profile manager UI.
local addonId = LibAT.ProfileManager:RegisterAddon({
name = "My Addon", -- Display name
db = myAceDB, -- Your AceDB instance
namespaces = { -- Optional: named AceDB namespaces
{ name = "Our Bars", db = myAceDB:GetNamespace("Bars") },
},
icon = 12345, -- Optional: icon texture ID
})
Profile Manager Methods
| Method | Description |
|---|---|
RegisterAddon(config) |
Register an addon for profile management. Returns addonId. |
UnregisterAddon(addonId) |
Remove a registered addon. |
GetRegisteredAddons() |
Get all registered addons. |
ShowExport(addonId, namespace?) |
Open export UI for an addon. |
ShowImport(addonId, namespace?) |
Open import UI for an addon. |
Auto-Discovery Adapters
You can register a discovery adapter so your addon is automatically available in the profile manager even without explicit registration:
LibAT.ProfileManager.RegisterDiscoveryAdapter("MyAddon", {
name = "My Addon",
savedVariables = "MyAddonDB",
wrapType = "acedb", -- or "raw"
})
Setup Wizard API (WIP)
Register setup pages so your addon can guide users through first-time configuration.
LibAT.SetupWizard:RegisterAddon("myaddon", {
name = "My Addon",
icon = 12345, -- Optional
pages = {
{
id = "welcome",
name = "Welcome",
builder = function(contentFrame)
-- Build your setup UI into contentFrame
end,
isComplete = function()
return MyAddonDB.setupDone == true
end,
},
},
-- Called when user clicks Finish on the last page
end,
})
Setup Wizard Methods
| Method | Description |
|---|---|
RegisterAddon(addonId, config) |
Register setup pages. |
UnregisterAddon(addonId) |
Remove setup pages. |
IsPageComplete(addonId, pageId) |
Check if a page is complete. |
IsAddonComplete(addonId) |
Check if all pages are complete. |
HasUncompletedAddons() |
Check if any addons have incomplete setup. |
OpenWindow() / CloseWindow() / ToggleWindow() |
Control the wizard window. |
UI Component Library (WIP)
A shared UI toolkit styled after Blizzard's AuctionHouse frames. Used internally by all systems but available for other addons.
Window Creation
local window = LibAT.UI.CreateWindow({
name = "MyWindow",
title = "My Addon",
width = 800,
height = 600,
portrait = texturePath, -- Optional
resizable = true, -- Optional
})
local controlFrame = LibAT.UI.CreateControlFrame(window)
local contentFrame = LibAT.UI.CreateContentFrame(window, controlFrame)
local leftPanel = LibAT.UI.CreateLeftPanel(contentFrame)
local rightPanel = LibAT.UI.CreateRightPanel(contentFrame, leftPanel)
Widget Builder
Declarative widget creation from definition tables (similar to AceConfig):
LibAT.UI.BuildWidgets(container, {
enabled = {
type = "checkbox",
name = "Enable Feature",
order = 1,
get = function() return db.enabled end,
set = function(val) db.enabled = val end,
},
scale = {
type = "slider",
name = "UI Scale",
order = 2,
min = 0.5, max = 2.0, step = 0.1,
get = function() return db.scale end,
set = function(val) db.scale = val end,
},
apply = {
type = "button",
name = "Apply",
order = 3,
func = function() ApplySettings() end,
},
})
Supported widget types: button, slider, checkbox, dropdown, header, description, divider.
Available UI Components
| Function | Description |
|---|---|
CreateButton(parent, w, h, text, black?) |
Standard or AH-styled button |
CreateFilterButton(parent, name?) |
Navigation list button |
CreateIconButton(parent, normal, highlight, pushed) |
Icon-only button |
CreateSearchBox(parent, width) |
Search input with clear button |
CreateEditBox(parent, w, h, multiline?) |
Text input |
CreateCheckbox(parent, label?) |
Checkbox |
CreateDropdown(parent, text, w, h) |
Dropdown menu |
CreateSlider(parent, w, h, min, max, step) |
Slider control |
CreateScrollableTextDisplay(parent) |
Scrollable copyable text area |
CreateMultiLineBox(parent, w, h) |
Multiline code editor |
CreateNavigationTree(config) |
Expandable navigation tree |
Developer Tools Commands
Extra slash commands for frame inspection and debugging:
| Command | Description |
|---|---|
/devcon |
Toggle the WoW Developer Console |
/frame <name> [true] |
Set _G.FRAME to the named frame; pass true to also open TableAttributeDisplay |
/getpoint <name> |
Print all anchor points for a frame |
/texlist <name> |
List all textures in a frame with paths and draw layers |
/framelist [opts] |
Enhanced frame stack at cursor position |
Enhanced /tinspect & Frame Stack
The addon hooks into Blizzard's TableAttributeDisplay (used by /tinspect and the Ctrl-click frame stack) to add extra mouse actions on any value row:
| Click | Action |
|---|---|
| Right-click | Copies the value text into your chat edit box |
| Middle-click | Sets the object to _G.FRAME (frames) or _G.TEX (textures) for easy /script access |
| Left-click | Default Blizzard behavior (drill into the value) |
Utility Functions
| Function | Description |
|---|---|
LibAT:Debug(...) |
Print debug output (only when debug mode is on) |
LibAT:SafeReloadUI(showMessage?) |
Reload UI safely blocks during combat in instances |
LibAT:RegisterSystem(name, system) |
Register a named system with the framework |
用户评价
暂无 / 5,0 条评价相关推荐
继续看看这些内容