A basic streamathon timer for use in a browser overlay
- Download the latest release from the Releases Tab (click
Source code (zip)
) - Extract the
Streamathon-x.x.zip
file to a location you will remember. - Open the
config.js
file in a text editor and modify the values to your liking - Save the file and exit
- Open your streaming software and create a browser source with
index.html
from the folder selected.
Channel Owners and Moderators have commands they can use to modify the timer live through chat.
This command will add the given amount of seconds to the current time.
Example: !addtime 60
for adding 60 seconds.
This command will force set the amount of time on the timer.
Example: !settime 120
will set the current timer to 2 minutes.
This command will reset the time back to the STARTING_TIME
set in the configuration.
Make sure to change this to your own channel
The default amount of seconds the timer should start at
The maximum amount of seconds the timer should reach
This includes resubscrptions, gifted subs, new subs, etc.
How many seconds to add for each single ember
How many seconds to add for each single spark
How many seconds to add for each new follow. This includes a spam filter that lasts the duration of the stream
How many seconds to add for each new host. This includes a spam filter that lasts the duration of the stream
How many seconds to add for each dollar.
Go to https://streamlabs.com/dashboard#/settings/api-settings and click API Tokens
. "Your socket API Token" is the one you need.
This is how the time will display on the browser source. Your allowed variables are %HOURS%
, %MINUTES%
, and %SECONDS%
.