MidgardPlus alerts for StreamElements
=====================================

One custom widget that does follows, subs, resubs, gifted subs, gift bombs,
cheers, raids and tips. Same look as the rest of the MidgardPlus kit: rune
medallion, gold sweep, shield slam for subs, longship slide for raids.

Four files, four tabs:
widget.html  goes in the HTML tab
widget.css   goes in the CSS tab
widget.js    goes in the JS tab
fields.json  goes in the FIELDS tab

Where to paste it
1. Log in at streamelements.com and open My Overlays. Open the overlay you use
   for your stream, or make a new one (1920 x 1080).
2. In the overlay editor click the + (Add widget) at the bottom left.
3. Pick Static / Custom, then Custom widget.
4. With the new widget selected, find Settings on the left and click
   Open Editor.
5. HTML tab: delete everything in it and paste all of widget.html.
6. CSS tab: delete everything and paste all of widget.css.
7. JS tab: delete everything and paste all of widget.js.
8. FIELDS tab: delete everything and paste all of fields.json.
9. Leave the DATA tab alone. Click Done, then Save at the top right.
10. The left panel now has the MidgardPlus settings. Hit Play a test alert.
    You can also use Emulate at the bottom of the editor for real looking
    follows, subs, cheers, raids and tips.

StreamElements moves its menus around now and then, so the names above can be
a little different on your screen. The four tabs are what matter.

Size
Drag the widget to at least 1000 x 320. It sits in the middle of whatever box
you give it and shrinks down on small boxes.

Settings in the left panel
Which alerts     a tick box per kind, plus the smallest cheer and tip to show
Timing           seconds on screen, and the queue hold. Keep the queue hold a
                 few seconds longer than seconds on screen. The widget lets
                 StreamElements move on as soon as each alert has left.
Look             accent colour for the side rail and the highlighted words
Sound            paste an https link to a sound file and pick a volume. Empty
                 by default, so no sound until you add one.
Wording          your own lines. {name} is the viewer, {amount} is months,
                 bits, raiders, gifts or the tip, {sender} is who gifted, and
                 {tier} is the sub tier. If a line starts with {name} the name
                 goes big on top and the rest goes under it.

Alerts play one at a time. When 5 gifted subs land at once you get one "hands
out 5 shields" alert, not six in a row.

Everything a viewer typed goes on screen as plain text, never as HTML.

Streamlabs or StreamElements, not both
If you also run the MidgardPlus Streamlabs alerts or a Streamlabs Alert Box,
turn one of them off, or every alert plays twice. The kit's scenes and
overlays work with either.

Sound ideas
Follow: a short rune chime. Sub: a war horn with a shield bash at the end.
Raid: a longer horn. Tip: a mug slammed on a table. Look for CC0 or royalty
free sounds, keep them under three seconds, and not louder than your voice.

More of the kit: https://midgardplus.odinthered.dev/streamer-kit/
