Skip to content

itsUnsmart/Streamathon

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Streamathon

A basic streamathon timer for use in a browser overlay

How to use

  1. Download the latest release from the Releases Tab (click Source code (zip))
  2. Extract the Streamathon-x.x.zip file to a location you will remember.
  3. Open the config.js file in a text editor and modify the values to your liking
  4. Save the file and exit
  5. Open your streaming software and create a browser source with index.html from the folder selected.

In chat commands

Channel Owners and Moderators have commands they can use to modify the timer live through chat.

!addtime [amount in seconds]

This command will add the given amount of seconds to the current time.

Example: !addtime 60 for adding 60 seconds.

!settime [amount in seconds]

This command will force set the amount of time on the timer.

Example: !settime 120 will set the current timer to 2 minutes.

!resettime

This command will reset the time back to the STARTING_TIME set in the configuration.

Config options

Channel name

Make sure to change this to your own channel

Starting time

The default amount of seconds the timer should start at

Max time

The maximum amount of seconds the timer should reach

Seconds per Sub

This includes resubscrptions, gifted subs, new subs, etc.

Seconds per Ember

How many seconds to add for each single ember

Seconds per Spark

How many seconds to add for each single spark

Seconds per Follow

How many seconds to add for each new follow. This includes a spam filter that lasts the duration of the stream

Seconds per Host

How many seconds to add for each new host. This includes a spam filter that lasts the duration of the stream

Seconds per Dollar

How many seconds to add for each dollar.

StreamLabs Socket Token

Go to https://streamlabs.com/dashboard#/settings/api-settings and click API Tokens. "Your socket API Token" is the one you need.

Time format

This is how the time will display on the browser source. Your allowed variables are %HOURS%, %MINUTES%, and %SECONDS%.

About

A Streamathon Overlay timer

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 95.8%
  • HTML 4.2%