MimironsGoldOMatic

Setup for streamers and operators

This guide is for broadcasters who run Mimiron’s Gold-o-Matic: WoW addon, Twitch Extension, and Desktop helper, and how they connect to the Backend (EBS).

Important: In source, the Backend implements MVP-2, the WoW addon MVP-3, the Desktop (WPF) MVP-4, and the Twitch Extension includes the MVP-5 viewer panel (roulette UI, EBS polling). See docs/reference/IMPLEMENTATION_READINESS.md and docs/overview/ROADMAP.md for parity and gaps. Until packaged releases exist, “setup” often means running from source with a developer (see SETUP-for-developer.md).

Normative behavior (chat commands, mail flow, logs) is defined in docs/overview/SPEC.md.


1. What you need (conceptual)

MVP scope: One broadcaster channel per Backend instance (docs/overview/SPEC.md deployment scope).


2. WoW addon

2.1 Install

  1. Get the addon folder MimironsGoldOMatic (from a release zip or from src/MimironsGoldOMatic.WoWAddon in this repo once packaged).
  2. Copy it into your WoW client:

    <WoW 3.3.5a folder>\Interface\AddOns\MimironsGoldOMatic\
    
  3. Restart WoW (or /reload after first install). Enable the addon on the character select AddOns list.

2.2 Chat log (required for automation)

The Desktop utility and Backend integration rely on lines appearing in Blizzard’s chat log file:

<WoW folder>\Logs\WoWChatLog.txt

Enable chat logging in WoW options if needed so [MGM_WHO], [MGM_ACCEPT:UUID], and [MGM_CONFIRM:UUID] from the addon are written there. The Desktop watches this file (docs/overview/SPEC.md §10).

2.3 In-game behavior (summary)

Details: docs/components/wow-addon/ReadME.md and docs/overview/SPEC.md §8–10.


3. Twitch Extension

3.1 Viewer installation (when published)

When the Extension is live on Twitch:

  1. As the broadcaster, add the Extension in the Creator DashboardExtensionsMy Extensions.
  2. Activate it as a panel (or the slot you configured).
  3. Viewers open the panel on your channel; it loads your frontend bundle and obtains a Twitch Extension JWT for API calls to your EBS.

3.2 Development / testing

Developers use the Extension Developer Rig and a configured Base URI pointing at the EBS or a tunnel. Streamers rarely need the Rig unless you are co-testing a dev build.

Build from repo (developers):

cd src/MimironsGoldOMatic.TwitchExtension
npm install
npm run dev

Hosted URL for Twitch must be HTTPS in production.

Component doc: docs/components/twitch-extension/ReadME.md.


4. Desktop application

4.1 What it does

4.2 Install

On first run, open File → Settings: set the EBS base URL (same host as your Backend) and X-MGM-ApiKey (must match Mgm:ApiKey on the server). The API key is stored under %LocalAppData%\MimironsGoldOMatic with DPAPI. Set your WoW install folder (or an override path) so the app can tail Logs\WoWChatLog.txt (docs/overview/SPEC.md §10). Use Test connection to verify GET /api/payouts/pending.

Component doc: docs/components/desktop/ReadME.md.


5. Backend (EBS) — what the streamer must know

You do not run PostgreSQL on the gaming PC if the API is hosted in the cloud. You do need:

The Desktop and Extension must point at the same EBS URL (different auth: JWT vs API key).


6. Troubleshooting pointers

Symptom Check
Extension API 401 Extension JWT / ExtensionClientId / ExtensionSecret on EBS.
Chat enrollments never arrive EventSub subscription to channel.chat.message, public /api/twitch/eventsub URL, EventSubSecret match, Twitch subscription enabled.
No “reward sent” line in Twitch chat BroadcasterAccessToken, BroadcasterUserId, HelixClientId, token scopes for Send Chat Message.
Desktop never marks Sent WoWChatLog.txt path, addon printed [MGM_CONFIRM:UUID], Desktop tail running, same ApiKey.

7. Further reading