Skip to main content

Alert Explorer

Pick a platform, search for an alert, and inspect the exact payload your overlay receives in Overlay.on('alert', (data) => …). Template variables like {{username}} and {{amount}} map to the same keys under data.extraSettings.

Alerts and events

Search an alert and inspect a live example of what Overlay.on('alert') receives. Template alert variables map to the same keys inside data.extraSettings. For the full alert event type, see Overlay Type Definitions.

Live preview

Alert: crowdcontrol-effect

Message template: {{username}} sent {{effect}}

Overlay payload explorer
data {4}
alert: "crowdcontrol-effect"
extraSettings {7}
username: "lumiastream"
effect: "Big Light"
game: "Lumia Stream"
avatar: "https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png"
artwork: "https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png"
message: "Turn on the lights"
duration: 5
fromLumia: true
dynamic {1}
value: "Big Light"
Template variableOverlay pathMeaningExample values
{{username}}data.extraSettings.usernameThe username of the senderlumiastream
{{displayname}}data.extraSettings.displaynameThe display name of the senderNo example yet
{{avatar}}data.extraSettings.avatarThe url of the avatar of the sender for a messagehttps://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png
{{platform}}data.extraSettings.platformThe streaming platform this message is coming fromNo example yet
{{effect}}data.extraSettings.effectNo description available yet.Big Light
{{effectId}}data.extraSettings.effectIdNo description available yet.No example yet
{{game}}data.extraSettings.gameNo description available yet.Lumia Stream
{{gameId}}data.extraSettings.gameIdNo description available yet.No example yet
{{artwork}}data.extraSettings.artworkNo description available yet.https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png
{{message}}data.extraSettings.messageThe message text sent by the userTurn on the lights
{{duration}}data.extraSettings.durationNo description available yet.5