Simple, barebones subathon widget for StreamElements by Saralene. Simply displays the current number based on the ratios of input provided.
- Log into the StreamElements website.
- In the side menu, click
Streaming Tools, thenMy Overlays. - Create a
New Overlayat a size of your liking. - Near the bottom left corner of the overlay editor, click the
+symbol. - Click on
Static/Custom, then onCustom Widget. - Click
Open Editoron the left sidebar. - In the
HTMLtab, replace everything with the contents of the repository's html file. - In the
CSStab, replace everything with the contents of the repository's css file. - In the
JStab, replace everything with the contents of the repository's js file. - In the
Fieldstab, replace everything in there with the contents of the repository's fields file. - Click on
Done. - Edit the configuration to your liking on the left.
- Click on
Savewhen done editing. - Click on the "chain" icon to get the link for your widget.
This widget is based off of the "Goal" data in StreamElements. To reset everything to 0, first click on the monitor-with-cog icon near the top-right of the Overlay Editor. Then go to Goals, and click on Reset Goals. This should be the only circumstance under which the goals get reset. PLEASE remember to do this before starting any subathon, since it's the only way to make sure your baseline data is reset.
Please note that changing the numbers in the "Goal" data manually for test purposes will not immediately update the widget. Send any test event via the Emulate button in the corner, or refresh the Overlay Editor, to see any changes you manually make in that section. I promise that it always updates properly when these numbers change live through events. For some reason, editing the "Goal" numbers in the Overlay Editor does not send a session update event.
In the widget's settings, the numbers provided are the ratio at which the number will go up. Default is 1 sub = $3 tip = 300 bits, but you can adjust this as you like. If you don't want tips or bits to count toward the number, set them to 0.
This is the most barebones widget I could have made, aside for the basic configuration I've added to it. Please use it or modify it freely. I'm aware it could be much better coded. I just wanted the simplest, most plainly reliable widget possible, so that's what I made.