Tutorial

Message Template Parameters for Alert Box Widget on Streamlabs, Twitch, Mixer, Youtube

  • 13 March 2019
  • 6 replies
  • 22978 views

Userlevel 3
For the Alert Box widget, there are various {parameters} available that can be used in the Message Template to customize the alert if needed. The available parameters depend on the used alert type. All Message Templates for all alert types also accept HTML so you can insert custom HTML or line-breaks with the
tag.

Streamlabs

Streamlabs Donation Alert

  • {name} - Shows the name of the tipper given by the username field.
  • {amount} - Shows the amount that was tipped, including currency type.

Streamlabs Merch Alert

  • {name} - Shows the name of the viewer that bought merchandise.
  • {product} - Shows the product(s) that have been bought by the viewer.

Twitch

Twitch Follow Alert

  • {name} - Shows the name of the follower.

Twitch Subscription Alert

  • {name} - Shows the name of the subscriber or the receiver of a gifted sub.
  • {months} - Shows the number of consecutive months the subscriptions is running for.
  • {gifter} - Shows the name of the person that gifted the sub to someone else.

Twitch Bit/Cheer Alert

  • {name} - Shows the name of the viewer cheering.
  • {amount} - Shows the amount of bit that was used during the cheer.

Twitch Host Alert

  • {name} - Shows the name of the streamer hosting you.
  • {count} - Shows the number of viewers watching from the host's channel.

Twitch Raid Alert

  • {name} - Shows the name of the streamer raiding you.
  • {count} - Shows the number of raiders that have joined the raid.

Mixer

Mixer Follow Alert

  • {name} - Shows the name of the follower.

Mixer Subscription Alert

  • {name} - Shows the name of the subscriber.
  • {months} - Shows the number of consecutive months the subscriptions is running for.

Mixer Host Alert

  • {name} - Shows the name of the streamer hosting you.
  • {count} - Shows the number of viewers watching from the host's channel.

YouTube

YouTube Subscriber Alert

  • {name} - Shows the name of the subscriber.

YouTube Sponsor/Member Alert

  • {name} - Shows the name of the viewer that became a channel member.

YouTube Super Chat Alert

  • {name} - Shows the name of the super chat user.
  • {amount} - Shows the amount that has been used with the super chat, including currency type.

This topic has been closed for comments

6 replies

I'm trying to show total bits during bit alerts. Would it be something like {amount.total}?
Userlevel 6
Hi there!

This command is not able to be set up at this time.

Feel free to add this to our ideas page here though:
https://ideas.streamlabs.com/
Hi Streamlabs

Im currently setting up my own, custom widget theme.
What would the parameter for user message?
In the preset custom html template, you get "{userMessage}" as an example but if i add this to my own html, the parameter does not get parsed. I always see "{userMessage}" in the test subscription.

Thanks for the help!

EDIT:
The same goes for "{messageTemplate}"

Kr
Userlevel 6
Hello there!

Unfortunately, we are unable to provide support on custom code due to the amount of possibilities, but please check out https://dev.streamlabs.com/ to see if this helps you! 🙂
Hi, I want to see the user message when they donate, how would I be able to do that?
Userlevel 6
Hey @Flappyfang !

You can see the donor name and amount by using the Streamlabs Donation Alert template above.

If you go to your alert settings (donations) you can see where you can customize this message or leave it as the default message:
https://streamlabs.com/dashboard#/alertbox