Extra Life Tracker is a collection of web pages that can be used as a web source in streaming software such as OBS to display your and your team's current Extra Life fund raising status and goal.
Displays the name of the last donator and amount they donated to a specified participant or set of participants campaigns.
To update the settings update their value in last-donation-settings.js
with any plain text editor. If you make settings changes while the scene is active you can refresh the widget by right clicking the source, selecting “Properties” and then clicking “Refresh cache of current page”.
Name | Description | Value Type | Default value |
---|---|---|---|
animate | Animate the last donation instead of persist on screen | Boolean | false |
animationPauseMS | Duration that the last donation message is displayed in milliseconds. Only used if animate is true | Integer | 5000 |
animationDirection | Direction of animation. Only used if animate is true | “left” | “right” | “left” |
participantIds | Extra Life participant IDs | Array of Text | Empty array |
unknownDonorName | Donor name to show if the donor name is null | Text | “Mysterious Hero” |
unknownDonationAmountText | Text to display when donor has elected to only show the amount to the participant | Text | “Private Donation” |
showHeader | If the header message should be shown | Boolean | false |
headerMessage | Header message to display at the top of the widget | Text | “Last Donation” |
showRecipient | Should the recipient of the donation be shown | Boolean | false |
conjunctionText | Text to use between the donation and the participant name if showRecipient is true |
Text | “donated to” |
soundList | List of paths to sound files. If any are set a random one will play on every new donation. It is easiest to have just the file names in the list and to put the audio files in the last-donation directory | Array of Text | Empty array |
donationCycleMS | How long to display each donation before going to the next. | Integer | 10000 |
refreshTimeMS | How often the data should be refreshed in milliseconds | Integer | 10000 |
incentives | List of Incentives to treat differently than normal donations | Object |
last-donation-settings.js
fileincentive-config.html
file in your web browserincentives: {}
line in the last-donation-settings.js
file with the block displayed
⚠ Everything from "incentives: {" through the "}" on a line by itself at the bottom
"C37CACA4-0CFB-D042-B9A1543222BA4943": {
"incentiveText": "Widget Test Incentive 1",
"incentiveSoundList": ["ExampleSound.ogg"]
},
Here is an example of an incentive with custom text and a list of sounds to choose from randomly:
"C37CACA4-0CFB-D042-B9A1543222BA4943": {
"incentiveText": "Do a Little Dance!",
"incentiveSoundList": ["ExampleSound.ogg", "Fanfare.wav", "Towel.mp3"]
},
last-donation.html