File Details
TOGTools-v0.1.0
- R
- May 4, 2026
- 1.90 MB
- 5
- 12.0.1+7
- Retail + 3
File Name
TOGTools-TOGTools-v0.1.0.zip
Supported Versions
- 12.0.1
- 12.0.0
- 11.2.7
- 5.5.3
- 4.4.2
- 3.4.5
- 2.5.5
- 1.15.8
Changelog
[v0.1.0] (2026-05-04) - Initial Release
New Features
- Project scaffolding — TOC files for all WoW versions (Vanilla 11508, TBC 20505, Wrath 30405, Cata 40402, Mists 50503, Retail 110207/120001/120000),
.pkgmetawith BigWigs packager config,.luarc.json(Lua 5.1 LSP),.markdownlint.json, and.github/workflows/release.ymlfor tag-triggered CurseForge releases. - Core addon —
TOGTools.lua: AceAddon-3.0 instance with AceConsole-3.0, AceEvent-3.0, AceHook-3.0 mixins; AceDB-3.0 schema (charscope); version detection flags (gv.isVanilla,gv.isTBC,gv.isWrath,gv.isCata,gv.isMists,gv.isClassic,gv.isRetail,gv.isRetail120Plus). - Slash commands —
SlashCommands.lua: all/togtcommand registration and handling in a dedicated file, separate from core addon logic. Subcommands:/togt(toggle window),/togt np(Name Prefix tab),/togt settings(open settings),/togt vc(version check). - Tabbed main window —
GUI/MainWindow.lua: dynamic AceGUI Frame + TabGroup; tabs auto-populate fromaddon.modulessorted alphabetically bylabel; per-tab locked/unlocked window sizing viaWINDOW_SIZE; ESC-to-close proxy; position persistence via AceDB. - Name Prefix module —
Modules/NamePrefix/NamePrefix.lua+GUI/NamePrefixTab.lua: wrapsChatEdit_SendText(Classic) or hooksEventRegistry(Retail 12.0+) to prepend a configurable nickname to outgoing chat messages. Settings: enable/disable, nickname, format string with live preview, per-channel toggles (Guild, Officer, Party, Raid, Instance, custom channel), skip-exclamation option, suppress-if-char-name option. Per-character DB scope. Skips messages beginning with/(slash commands/macros) unconditionally. - Minimap button —
GUI/MinimapButton.lua: LibDataBroker-1.1 launcher + LibDBIcon-1.0 registration. Left-click toggles the main window; right-click opens the native addon settings panel. Icon:textures/ToGTools_PH_MMB.tga. Button show/hide state and position persisted inDB.char. - Addon settings panel —
GUI/Settings.lua: AceConfig-3.0 options table registered under ESC → Interface → Addons → TOG Tools (native Blizzard panel).addon:OpenSettings()usesSettings.OpenToCategory(Classic Era 1.15+ / Retail 10+),InterfaceOptionsFrame_OpenToCategory(older builds), orInterfaceOptionsFrame:Show()as a final fallback — detected by API presence, not version flag. - VersionCheck-1.0 integration —
VC:Enable(Ace)called on all non-Retail versions inOnInitialize;/togt vcbroadcasts a guild-wide version check and prints responses after 21 seconds. - Embedded libs —
libs/LibDataBroker-1.1.lua,libs/LibDBIcon-1.0.lua(single-file embeds, copied from TOGProfessionMaster). - MIT License —
LICENSEfile added; referenced in.pkgmetavialicense-output. - CurseForge project — Project ID
1533830set in.pkgmetaand all TOC files. - Governance files —
.github/copilot-instructions.mdandCLAUDE.mdwith full project rules (module pattern, commit/tag process, changelog format, HTML doc rules, no-tag rule).
Bug Fixes
- Name Prefix not reaching other players —
hooksecurefuncfires afterSendChatMessagehas already been called. Fixed by wrappingChatEdit_SendTextdirectly (local orig = ...; ChatEdit_SendText = function(...) ... return orig(...) end) so the prefix is applied before the message is sent. Location:Modules/NamePrefix/NamePrefix.lua. - Macros/slash commands being prefixed — Added an unconditional early-return in
ModifyMessagewhen the message starts with/. Location:Modules/NamePrefix/NamePrefix.lua.

