Hype Train End
Runs on: Shared — pure logic, runs on the Streamerly backend or inside a chatbox overlay.
The Hype Train End trigger fires once a hype train has run its course, whether the community hit max level or the timer expired. It provides both the final Level reached and the Total points contributed across all participants, giving you the data you need for a proper send-off.
Use this trigger to celebrate the result in chat, display a recap overlay, or reset any hype train visuals back to their default state. Combining Level with an If check lets you reward the chat differently depending on how high the train went.
Outputs
| Name | Type | Description |
|---|---|---|
Level | number | The highest hype train level the community reached before the train ended. |
Total | number | The total number of points contributed by all participants during the hype train. |
EndedAt | string | ISO timestamp for when the hype train ended. |
CooldownEndsAt | string | ISO timestamp for when the next hype train can begin. |
Type | string | The kind of train: regular, golden_kappa, or treasure. |
StartedAt | string | ISO timestamp for when the hype train started. |
TopBitsUser | string | Display name of the top Bits contributor. |
TopBitsTotal | number | Points contributed by the top Bits contributor. |
TopSubsUser | string | Display name of the top subscriptions contributor. |
TopSubsTotal | number | Points contributed by the top subscriptions contributor. |
Type replaces the old Golden Kappa flag. To react only to a Golden Kappa train, branch on Type equalling golden_kappa (a Treasure Train reports treasure, and an ordinary train reports regular).
Example
After a hype train ends, use the Level output with a Math Check node to branch: if Level is 5 or higher, send a "MAX LEVEL — legendary hype train!" message and trigger a special alert; otherwise send a "Great hype train, we hit Level [Level]!" message. Always connect the Total output to a Set Variable node to track lifetime hype train points. Thank your TopBitsUser and TopSubsUser by name, and branch on Type to give Golden Kappa and Treasure Trains a special send-off.