Skip to main content

Effect

  • Alert key: crowdcontrol-effect
  • Source: Crowd Control
  • Event list label: Effect

Default message template

{{username}} sent {{effect}}

Template variables

Use any of these in alert text, TTS, or chat templates. The same names appear under data.extraSettings.* when you subscribe via Overlay.on('alert').

Template variableOverlay payload fieldDescription
{{username}}data.extraSettings.usernameThe username of the sender
{{displayname}}data.extraSettings.displaynameThe display name of the sender
{{avatar}}data.extraSettings.avatarThe url of the avatar of the sender for a message
{{platform}}data.extraSettings.platformThe streaming platform this message is coming from
{{effect}}data.extraSettings.effectNo description available yet.
{{effectId}}data.extraSettings.effectIdNo description available yet.
{{game}}data.extraSettings.gameNo description available yet.
{{gameId}}data.extraSettings.gameIdNo description available yet.
{{artwork}}data.extraSettings.artworkNo description available yet.
{{message}}data.extraSettings.messageThe message text sent by the user
{{duration}}data.extraSettings.durationNo description available yet.

Example payloads

Each scenario below mirrors what Lumia emits in Overlay.on('alert', (data) => …).

New Effect

{
"alert": "crowdcontrol-effect",
"dynamic": {
"value": "Big Light"
},
"extraSettings": {
"username": "lumiastream",
"avatar": "https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png",
"effect": "Big Light",
"game": "Lumia Stream",
"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,
"displayname": "",
"platform": "",
"effectId": "",
"gameId": ""
}
}

Variation conditions

Dimensions you can branch on when configuring alert variations:

  • RANDOM
  • EQUAL_STRING - Effect is equal to
  • EQUAL_VARIABLE