#dev-chat

1 messages Β· Page 2 of 1

steel path
#

Now to do the HTML part lol

#

I think this is right

#

But I've never used HTML in my life and I don't know what to do to reference this in the JS

steel path
#

So I have it in the HTML, but I can't get it to play. Very new to HTML, and I don't know how to select the HTML element with JS in the JS bucket.

lavish surge
#

oh i only saw this now but yes i have this problem too, thanks!

signal crown
lavish surge
#

Hahaha yes ive been embarrassedly looking the other way each time i saw it garbled cuz overlap lol, i am really bad at tech stuff πŸ˜…

fickle summit
#

I have a question about socket API specifically:

Does the received json tell you for how many months someone subscribed? Users have the option to pick 1, 3 and 6 months and I think the API just returns the streak ( amount = 39 ? )

#

There's also quantity but ~~ I can't find that field in the documentation~~ I can't find what it does, sorry

severe shell
#

If {SubAnimation} is a video-input item item in FIELDS tab, then you are right.

 "SubAnimation": {
   "type": "video-input",
   "label": "Video"
 }

If you want to refer to this file in JS, give an ID to the video tag on HTML:

<video src="{SubAnimation}" id="video">

and then you can access it on JS:

const video = document.getElementById('video')
video.play()
severe shell
#

You have high hopes on me! πŸ˜„
I think I would do something like that:

window.addEventListener('onEventReceived', (obj) => {
  if(obj.detail.listener === 'subscriber-latest' && obj.detail.event.bulkGifted){
    console.log('Community Gift')
    return
  }
  if(obj.detail.listener === 'subscriber-latest' && obj.detail.event.gifted){
    console.log('Gifted sub')
    return
  }
})
fast cairn
#

Hi, how to show on the stream in the donation alert the amount on which the paypal fees will already be deducted?

steel path
severe shell
sand cosmos
#

I read old books on Twitch and often look up words to give the definitions to my chat. It involves a lot of to-and-fro between OBS and browser.
It would be great to have a /define command that I can use in chat to call up a definition from an online dictionary which would show in chat.
Is there already anything like this available somewhere? I have found one that uses Urban Dictionary but I'd prefer not to since I read for Grannies and their grandkids. Ideally behind the scenes I'd be able to choose which dictionary to call from in my Commands panel.
Really hoping there is something like this already in use
Thank you in advance!

pulsar willow
# sand cosmos I read old books on Twitch and often look up words to give the definitions to my...

There are some dictionary APIs that could be considered for this:
https://developer.oxforddictionaries.com/
https://dictionary-api.cambridge.org/
https://dictionaryapi.dev/

Unfortunately, all of those return a JSON structure like:
https://api.dictionaryapi.dev/api/v2/entries/en/hello

To use this response (by extracting the desired part), another service would be required.
I don't know if there are any free (RESTful) APIs for that purpose...

A possible workaround could be a custom widget, that handles the JSON processing.
From there you have two options:

  • create an https://jebaited.net token and post the definition to the chat, or
  • show the definition on screen as some sort of overlay (maybe for a certain time, before it fades out).

To write a custom widget you would need some knowledge of HTML and JavaScript ... CSS and JSON would be handy, too.
I will take a look into it later on.

left rampart
pulsar willow
left rampart
#

Got it 🀣 Thanks @pulsar willow

neat chasm
#

install streamelement to ubuntu

#

i have obs

sand cosmos
severe shell
final viper
#

I'm having issues with my stream deck not being able to integrate to the new update, and both softwares are on the same drive

pulsar willow
wooden glen
#

i have a problem i uninstal obs live plugin and then i installed it and now all my profiles and scenes are no there

vague galleon
#

I have a problem where having the preview enabled causes the whole system to lag even with nothing else open

dusty pond
#

Having trouble with my audio my HD60 picks up my voice but my mic source is also picking up my voice

#

So it’s echoing

severe shell
severe shell
uneven oxideBOT
dusty pond
#

@severe shell ive had this problem all morning still can’t find a solution it’s difficult to find someone who knows what’s going on

severe shell
#

My knowledge with sound system is terrible

dusty pond
#

I feel I just thought I’d ask everywhere cause I’m desperate lol

#

It’s okay thanks for help @severe shell many ppl just read over the message and not say anything

steel path
#

Is there anyway I could put a delay inbetween subs like alerts do? I'm having this issue where if more than one person subs at the same time, or a gift is made, it kinda messes up the animation (video to follow). I'd assume I'd have to do something in JS...

royal stag
#

Can anybody help or point me in the right direction to make a custom widget to combine super chat and streamelements donations into one total ?

#

I’m trying to make some custom widgets but I know nothing about coding

severe shell
severe shell
# royal stag I’m trying to make some custom widgets but I know nothing about coding

That part is the hardest one... Without coding, it is a bit more difficult to do a custom widget. However, I started learning how to code because of custom widgets. I wanted to do something I couldn't find anywhere and then I started looking on how they worked, tried to change some things to understand better and then started learning Javascript using youtube videos and freecodecamp

royal stag
#

Would you recommend where to start to look into making customized widgets? I dont know how to code, but im basically trying to make a rotating widget, like asset rotator, that displays everything I need, memers, donations, alerts, all that. How long did it take you to learn coding for your widgets?

severe shell
#

πŸ˜„

royal stag
#

thank you

static parrot
#

hello there people :) does anyone know if "push to show" instead of toggling scenes with hotkeys has been implemented on stream elements yet, or if it will ?

steel path
steel path
#

I think thats what I'm looking for! I'll test this out thanks so much!

jade ingot
#

Hi! Newbie here and my basic programmation classes are pretty far in my memory. I've found ThisIsLex's snake game in the Widgets section of the overlay gallery and wanted to use it. Since I'm not even Twitch affiliate yet, I don't get any subs, nearly any raids or hosts, etc. So I was wondering if there was a way to make the snake move by other means, like typing emotes, typing a command like !feed or even just writing in chat. Thanks for letting me know if you come up with something!

cold mural
#

does everyone use the default editor on stream elements? i'm wondering if i can do the tinkering + testing on my own editor

hardy walrus
light harness
#

stream deck not working after update... is this a thing that is common or should i go to elgato for help?

hardy walrus
cold mural
steel path
#

Hey there, I'm trying to make a queue for my animations when someone subs so that they don't overlap and I was shown this (https://dev.streamelements.com/docs/api-docs/775038fd4f4a9-stream-elements-custom-widgets#resumequeue-method-and-widgetduration-property). Only problem is that I can't figure out where I put the animation code inside this code to run the animation (I don't fully understand how it works, only partially...).

I have so far created the JSON in the fields, that's all good, it's just the JS I'm needing help on.

Animation code:
JSON

{
  "subAnimation": {
    "type": "video-input",
    "label": "Sub-Video"
  }
}

HTML

<video src="{subAnimation}" id="subAnimation">```
JS
```JS
    const vid = document.getElementById('subAnimation');
    vid.play();
    setTimeout(function () {
        updateEvent(data);
    }, 350);```
pulsar willow
# sand cosmos It sounds like a do-able thing to somebody, but definitely not by me. By which I...

I've wrote a little prototype of such a custom widget. (It's by all means not perfect, but maybe a good starting point.)

It uses the dictionary API https://dictionaryapi.dev/ . With some small modifications, other dictionary APIs should be useable, too (Oxford Dictionary, etc.).
There are two options for publishing the response: displaying in overlay or posting to chat.

Unsolved problems:

  • How to treat messages that are longer than the max length of a chat message?
  • How to display entries with multiple meanings? (Now only the first meaning is shown.)
  • Comprehensive debugging.

Have a good one πŸ––

signal crown
sand cosmos
sand cosmos
brazen yarrow
#

for youtube streaming, how is a chat command linked to JS in a widget? i'm trying to modify a stopwatch widget to add !timerstart and !timerpause functionality

can i use obj.detail.message -- and if so, how can i ensure the person who submitted the command is a moderator?

#

or is there a preferred way to maybe use custom commands?

#

ah, looks like obj.detail.event.data has all of that info...but maybe for twitch and not for youtube?

brazen yarrow
#

unrelated, is there a way to query command variables from a widget? e.g. if i wanted to set up a basic poll widget that queried ${count votingOption}

sand cosmos
tribal zenith
steel path
tribal zenith
steel path
#

If you think its easier i could switch

tribal zenith
# steel path If you think its easier i could switch

There is pro and cons for both.
Custom Widgets are easier to handle for more complex integrations, but they require your own queue and event-handling.
AlertBoxes are integrated in the main event-queue of Alerts, so you just need the code that should be executed on each sub without any handlers or custom queues

steel path
pulsar willow
# sand cosmos I think I've put the right pieces in the correct places because it seems to work...

sry, for not providing detailed installation instructions. Yesterday wasn't my strongest day. πŸ˜…
Good work on getting it running yourself, though. πŸ‘

I added two features:

  • some padding options to give control over the placement.
  • a colorpicker for a background color (transparent color = no background).

The issues with the cooldown and blocked users list were also fixed (at least in my testing).

Since I renamed some fields, I would suggest to replace the content of the Data Tab with {}.
This will reset all fields to their default value, so please save your custom font names before you do it.

tribal zenith
steel path
steel path
tribal zenith
steel path
#

I have these that play above a face cam which then shows the last sub/bit

tribal zenith
severe shell
brazen yarrow
severe shell
brazen yarrow
severe shell
brazen yarrow
#

πŸ€¦β€β™‚οΈ okay yeah i should've thought of that...was thinking there was some way SE processed things

brazen yarrow
#

do widgets have some sort of default padding? (is it set to a static number?)

opaque wasp
brazen yarrow
#

hmm, perhaps there's something weird about youtube chats specifically -- here's the behavior i'm seeing:

i have a custom chat command that increments a counter -- when someone issues the chat to do that, i receive a bot:counter event in onEventReceived βœ…

all other chats do not appear to be passed to onEventReceived -- even another custom chat command (i just did a simple one that had the bot reply)

#

heh, i guess i could use a counter as a state machine, that seems super hacky

#

πŸ€·β€β™‚οΈ it actually just looks like the bot is super slow, if not entirely unresponsive, in recognizing chat commands

#

ah -- known issue in #helpdesk-youtube okay well at least it was fun building some widgets

hazy zenith
#

Hey all. I know this is probably a question that's been asked before, but is anyone familiar with a way to make a chat widget scroll top down?

opaque wasp
hazy zenith
opaque wasp
hazy zenith
#

Figured I'd make it more "non code monkey friendly" tho :3

opaque wasp
sand cosmos
inner jackal
#

I have this very simple widget, it shows the correct data in the editor(reduction of the count) but when the streamer loads it to live, it just counts the subcount up, no reaction on expiering subs. but at the same time in the editor it shows the correct data?? sorry for my bad english... i can get absolut no clue

const DATA = []

window.addEventListener('onWidgetLoad', obj => {
  DATA.subCount = obj.detail.session.data['subscriber-total']['count']
  renderSubs()
});

window.addEventListener('onEventReceived', obj => {
  if(obj.detail.listener == "subscriber-latest"){
    addSub()
  }
})

function addSub() {
    DATA.subCount++
    renderSubs()
}

const renderSubs = () => renderGoal(DATA.subCount, calcGoal(DATA.subCount))

function calcGoal(count) {
    let goal = Math.floor(count/100)*100+100;
      return goal;
}

function renderGoal(count, goal) {
    $(`#sub .print`).text(`${count}/${goal}`)
}

fierce spade
#

hi i really need help

#

i did all the set up and media share says this and its frustrating me

severe shell
severe shell
fierce spade
#

the videos just arent showing

#

i hear audio

severe shell
fierce spade
#

i think i have i did it how the video instructed

#

im not live but its jut not coming up on obs studio

#

i hear the audio just no video pop up

#

my obs shows audio is playing but no video

#

and video isnt hidden

#

shows video in overlay editor too

#

im dumb

#

fixed it

#

so how do my viewers use it

#

@severe shell

#

do they use song request

plain spear
#

hi may i ask for some help with my commands and i just went through a name change and my commands are not working

severe shell
severe shell
inner jackal
severe shell
# inner jackal Yes i thaught that there ist no Simulator for sub expire. But when the Widget Ru...

The actual value of subscribers is only informed during onWidgetLoad event, which means it is only when the widget is loaded. When someone subscribes, the total amount is not informed in that event.
So, unless you reload your overlay from time to time (which does not make much sense because you lose your variables), I wouldn't care about having subscribers expiration during the middle of the stream. Next time it starts to stream, it will load the correct amount again.

earnest cipher
#

How can I change my stream elements tipping page name? It’s not my current name

sleek valve
#

Hi everyone - I had a little widget coded for me and when I do "!shoutout name" it shouts out my own name instead. Does anyone know what could be the issue? Tyy

severe shell
severe shell
earnest cipher
sleek valve
#

Oh sorry. I was asking bc that could be a wrong variable or something. Ty anyway monkaS

earnest cipher
#

I see it

#

Omg lol

severe shell
earnest cipher
severe shell
cerulean sparrow
#

hey guys! Is there any way to filter "first chat message" on my chat overlay?

#

I would like to highlight those messages

civic latch
#

Hey everyone, wondering if there's any widgets that sort of "slideshow" between labels? Like. I want a box that has my follower count, and my sub count. I want it to swap between those two numbers every x seconds. Is that a widget that exists?

inland haven
#

Hello everyone, I'm trying to make a raffle widget by modifying the chatpoll widget, is there a good way to test chat commands without livestreaming?

severe shell
cerulean sparrow
#

is there any docs for these?

plucky gust
#

anyone doing comissions for custom obs / streamelements stuff? (javascript, css and so on) DM me pls :3

severe shell
willow plank
#

Hello; About 5 weeks back I applied for an Oauth2 key, but I have not heard anything. I understand from the website it can take time due to the "mess"; just wanna know how soon one can expect an answer PepeThink

pulsar willow
# sand cosmos Wonderful- thank you so much! I'll have a tinker in a couple of days. Taking fa...

I opened a repository for the dictionary widget:
https://github.com/AFoeee/dictionary-se-widget

The 3rd version includes a simple filter for bannend words.
Migration to other dictionary APIs should also be (a bit) easier.

I wish your father the best of luck.
Have a good one πŸ––

GitHub

A StreamElements custom widget, which displays a dictionary definition for a given command parameter. - GitHub - AFoeee/dictionary-se-widget: A StreamElements custom widget, which displays a dictio...

severe shell
hazy zenith
#

Hey all. So I'm moding a widget and donations are showing in tenths vs hundredths. IE: 4.2 instead of 4.20. Any ideas?

gusty cedar
#

What is the approximate wait for StreamElements API Access Application?
Just for having an idea about how long it would take to get reviewed, I have some people keep asking me, so I would love to give them an ETA. πŸ™‚

hardy walrus
#

@gusty cedar realistically can't give one unfortunately.

gusty cedar
hardy walrus
#

However rather than wait I'd fill out the form if you haven't already.

sand cosmos
gusty cedar
pulsar willow
pulsar willow
real furnace
gusty cedar
severe shell
# pulsar willow Thanks for the kind words. πŸ˜… I had planned to wait a few more days in case I c...

Nice! I have a suggestion for you. The font type does not need to be "text", custom widgets have support for Google Fonts and it will be a dropdown automatically.

"overlayFontFamily_entryWord": {
    "type": "googleFont", 
    "label": "Google font family:", 
    "value": "Secular One", 
    "group": "Overlay Settings - Entry Word"
  },

  "overlayFontFamily_meaning": {
    "type": "googleFont", 
    "label": "Google font family:", 
    "value": "Crimson Text", 
    "group": "Overlay Settings - Meaning"
  }, 

Then you just need to add this on beginning of CSS:

@import url('https://fonts.googleapis.com/css2?family={{overlayFontFamily_entryWord}}');
@import url('https://fonts.googleapis.com/css2?family={{overlayFontFamily_meaning}}');

So those lines can be removed from JS

// Load google font by name.
function addGoogleFont(fontName) {
  const fontLink = document.createElement('link');
  fontLink.href = 
      `https://fonts.googleapis.com/css2?family=${fontName.replaceAll(" ", "+")}`;
  fontLink.rel = 'stylesheet';
  
  document.head.appendChild(fontLink);
}

addGoogleFont(fieldData.overlayFontFamily_entryWord);
addGoogleFont(fieldData.overlayFontFamily_meaning);
opaque wasp
#

how does Streamelements handle 3-months and 6-months subscription? I mean, can I access that information via onEventReceived?

opaque wasp
#

I'm looking to create a custom command to start a new contest, is there a way to make an API call to read settings listed into https://streamelements.com/dashboard/contests ? Or should I create my own custom widget and replicate that menu using custom fields?

agile wing
#

i am trying to update my stream elements live on obs and it keeps giving me failed to downlaod and update package. What can i do?

pulsar willow
uneven oxideBOT
#

@gritty finch, posting multiple links will result in not being able to post again.

severe shell
opaque wasp
sacred condor
#

Oi

severe shell
opaque wasp
karmic carbon
#

I'm not seeing the "Animation Settings" in fieldData. Am I blind or do those exist elsewhere?

pulsar willow
inner jackal
severe shell
fair vine
#

Im looking for an easy way to accomplish this task: viewer redeems custom twitch reward -> add xxxx amount of loyalty points to streamelements loyalty system -> mark custom reward completed. is the best way through tools->script->? if so is there anyone can help me out appreciate it.

fierce anvil
#

Hi, ive been trying to sign up for StreamElements on the website and i keep getting this error

pulsar willow
#

hello I have problem with "saving" My overlays, because everytime I set it up the next day it is gone and I have to set it up again. Please help

cosmic escarp
#

How we ask a creator for edits to their widget? I would like to suggest a Chatters Section to be added to the Credit Roll by Grot Widget

fast cairn
#

Hi, can you please add multistream?

uneven oxideBOT
#

@fast cairn ‡️

Check out the StreamElements ideas board: https://strms.net/ideas. You'll be able to add ideas, upvote ideas you agree with and track their progress with email notifications. Adding and upvoting ideas also helps the staff know which ideas should be prioritized so please take some time to upvote.

severe shell
severe shell
severe shell
fast cairn
#

how to add ideas?

pulsar willow
severe shell
# fair vine Im looking for an easy way to accomplish this task: viewer redeems custom twitch...

You would need to use create your own code for that using Twitch API.
You will need to go to register application, create a client_id, use that client_id to create the Custom reward (otherwise you will not be able to see it)
Then your application would need to monitor each time that request is made to insert points to SE using Streamelements API and then mark the request as completed (or you can just mark to skip the queue)

There is no easy way for that, you would need to code many things for that

cosmic escarp
severe shell
cosmic escarp
severe shell
severe shell
# karmic carbon I'm not seeing the "Animation Settings" in fieldData. Am I blind or do those exi...

Add the animation cdn on HTML

<link href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.7.0/animate.min.css" rel="stylesheet">

On JS you can use this to access where you want the animation:

$("#ID_OF_HTML_DIV").show().css('animation', `${fieldData.animEnter} ${fieldData.animEnterDuration}ms forwards`);  

$('#ID_OF_HTML_DIV').css('animation', `${fieldData.animExit} ${fieldData.animExitDuration}ms forwards`);

I'm going to send the FIELDS on next post in a separated file, because it is too big

#

It will look like this:

thorny fiber
#

Hello! Is there a way to link chatbot variables with a widget?

#

E.g. using the same variable you can reference in bot counter as another variable in a widget, so it can be updated both in chat commands and JS code

karmic carbon
severe shell
fierce anvil
severe shell
pulsar willow
#

Does anyone know how to add a delay to the event list widget? I want to add a 5s delay so that when my alerts pop up the event list won’t show it before the alert is finished.

sour heron
#

the option to export our overlays

granite warren
#

Is it possible to add visibility conditions to fields in custom widgets?

severe shell
granite warren
#

Oh that's unfortunate. Yea I had something in mind to hide items based on events to keep it clean and as simple as possible for the cost of more work on my part πŸ˜„

granite warren
#

Or to be more precise, based on values of other fields 😁

severe shell
severe shell
frank crypt
#

I’m having trouble with the new OBS update, I can’t connect it to Streamdeck at all

trim current
#

hi there can somone help me how i can let people donate with other things then paypal

idle flame
#

Hey, switched to streaming on Ubuntu Linux due to performance issues and I can't seem to get the overlay to display correctly in OBS. The text is there but the images and videos assigned to events are not showing up.

sonic sluice
#

hello this is how im having to set up my stream elements to get it to look right in obs

#

can anyone help me

uneven oxideBOT
#

@sonic sluice ‡️

The default resolution for StreamElements overlays (theme and custom) is 1920x1080. Please add them in OBS at their full resolution and use CTRL+F to fit to screen if necessary. You can then downscale your stream in OBS settings > Video if you'd like https://i.imgur.com/6bWXxjR.png

subtle condor
#

Is there a way I can make custom gamble commands outside of the default modules?

#

Kind of does the same thing as roulette but more customisable, such as its name and win multiplier etc?

frozen zenith
#

Hello, I am a Partnered Streamer on Twitch, last week I applied for an OAuth2, I am developing a program for my stream and would like to integrate my stream elements using API. I have not received any kind of response, and would like to know the status of my application. Thank you for your assistance. (Edit: In the email there was an option to view my submission in Asana, I made an account, it says I do not have access even after logging in and clicking the link in the email)

inner jackal
frank bane
#

Hey, I wanted to ask how long the process to get API-access usually takes? ^^' I filled out the form and am waiting to integrate Streamelements into my Application "Twitch Integrated Throwing System"

real furnace
real furnace
molten orbit
#

I found a bug, i guess. If you activate Link protection a normal user gets his messages deleted, but a VIP got a timeout for 60sec. I couldn't imagine that a user with VIP Badges should get a timeout but a normal user not... Is it possible to add some options to the link protection or that VIPs only gets their message deleted without timeout as well?

pulsar willow
severe shell
# inner jackal hmm ok thanks. any suggestions how to code that?πŸ˜…

Well, I would say the easiest way is using the default widget for sub count. As it only has a number and updates automatically, you can position it above your widget and work on the font settings to match your own overlay. It will save you time and work to keep pinging the API checking for the correct value.
I use that as a solution when any colleague asks me for a counter that already exists on SE.

dense lagoon
#

Is there an issue with the API? Get disconnected all 10 to 20 mins

nocturne axle
#

How long does it normally take for Streamelements to accept/reject API access requests from the website?

#

Sent request on 4th Sept and still no response, I can understand them not accepting as its an open source app but still would have expected some sort of response by now

hardy walrus
#

Unfortunately API access is handled separately from our primary ticket system and the queue is a bit big atm.

nocturne axle
#

oh right, its odd that its gated anyway but I assume its to make sure its not being spammed or whatever, anyway thanks for letting me know

#

While I have you sudo do you know if they support PKCE flows on OAuth?

#

It looks like its part of the OAuth 2 spec but couldnt see any mention on SE website

hardy walrus
#

Immediate answer: No idea. I'm just the greeter here DerpDogPaola

#

Long answer: I can poke those that would know.

nocturne axle
#

I asked a few times a while ago but no one ever responded so I just submitted the request anyway

hardy walrus
nocturne axle
#

If you could find out that would be great, its just as its a "native-ish" app you dont really want the secret stored

#

yes thats it

#

it basically allows the requestor to not have to store the secret key and instead do it as a client facing flow vs server style flow

#

Twitch kinda supports a variant of this known as "implicit auth"

hardy walrus
#

@nocturne axle Okay. The person that can answer is off for the day so best bet is to wait for an answer tomorrow.

nocturne axle
#

No worries, thanks for asking, can whoever it is @ me or feel free to pm me, thanks @hardy walrus

hardy walrus
#

And so I don't forget I set myself a reminder since I'll be at work.

potent thunder
#

I’m looking for elgato stream deck streamelements plug in for Mac

proud spade
edgy trail
#

Is there a throne widget for streamelements yet ? would be really cool ;;

proud spade
uneven oxideBOT
#

Check out the StreamElements ideas board: https://strms.net/ideas. You'll be able to add ideas, upvote ideas you agree with and track their progress with email notifications. Adding and upvoting ideas also helps the staff know which ideas should be prioritized so please take some time to upvote.

edgy trail
#

it does but they not really that customizable so thats why i wanted one

sand cosmos
# pulsar willow No pressure. I just wanted the widget to be in an acceptable condition. That ar...

So far it's working really well! I'm using it in my overlay so my YouTube viewers still get to see the definition. LOVING the translucent background for it.
I do have a question or two:

  1. Can I add a command alias? I'm used to using them in my normal SE commands section and have used a full word for the main command (so it is more self explanatory for mods) then 2 or 3 letter aliases for myself when streaming so I'm not typing on my noisy keyboard so much during a quiet reading stream
    EG: I have !youtube as a chat command, then !yt as an alias.
    Thoughts: would it be added here in Fields?
    "commandText": { "type": "text", "label": "Associated command:", "value": "!dict", [INSERT CUSTOM VALUE HERE] "group": "General Settings"
sand cosmos
severe shell
devout scroll
#

Hello

chilly granite
#

I setup my custom alerts a very long time ago and somewhat forgot how they work, would i be able to copy the custom CSS code of my twitch alerts and use them for youtube alerts and just change the keywords like subscriber and follower?

karmic carbon
sand cosmos
pulsar willow
sand cosmos
#

@pulsar willow ok, thank you! I wasn't meaning to put you under pressure about it sorry.

nimble goblet
#

I have a question, shall editors be able so the subscriber stats/tipping stats or bits stats?
Because the Dashboard is hidden as intended. But you can have full insight to the streamer if you just hit the total stats, if this is have never been reset by the streamer! Isn't this wrong? ❓
So now an editor of mine had the full insight to how little/much bits/tips I have received + the amount of subs today.
Why is this not hidden? How do I hide it if I want to give out more editor roles to people that I do not wanna share this information with? Thanks for the answer! 🍺

severe shell
proven ocean
#

Can someone help me this message appears when I try to edit overlay:Uh-oh...
Overlay does not exist

severe shell
haughty merlin
#

Emulation sent, but alerts are paused in the activity feed

#

it gives me this when I have to put an overlay I don't know how to do it

fervent stratus
haughty merlin
#

thank you

lean harbor
#

I am not much of a javascript coder so i wonder If i wanna make so the eventlist gose from left to right insted from top to bottom what do i have to change to make that happen?

leaden grotto
#

is it passible to make a message which appears when someone write a command that doesnt exist.
per example: someone chat "!songrequest" and the Streamelements answers "This cmd doesnt existiert but you can write a usage for this cmd in the chat"

smoky olive
#

Anyone know if you can make a blurred chat?

opaque wasp
smoky olive
#

Chat box that has a blurred background

opaque wasp
smoky olive
#

I'm trying to work on a new overlay and have the idea for it

severe shell
# leaden grotto is it passible to make a message which appears when someone write a command that...

No, not possible. And if you think about it, if a command respond that doesn't exist, the command actually exist and is sending that message. It is better not to send a response so you know the command does not exist.
Think how spammy of bots the command would be.

You can make create a custom reward using channel points to suggest a command and at the end of your stream you check the rewards queue for those suggestions.

smoky olive
leaden grotto
floral lance
#

@pulsar willow I'm having troubles with SE OAuth2 Api, could you help me with this please?

Im getting this error:

{
  "error" : "unsupported_grant_type",
  "error_description" : "The authorization grant type is not supported by the authorization server."
}

I'm passing this parameters as POST to oauth2/token

{
  "client_id" : "----censored----",
  "client_secret" : "-----------censored--------------",
  "grant_type" : "authorization_code",
  "code" : "8f22F------------z0j6g",
  "redirect_uri" : "https://-------.--/panel",
}

severe shell
floral lance
#

Imma try

#

Still not working

severe shell
floral lance
#

Same error, but application/x-www-form-urlencoded as header fixed the error

#

Thanks anyways! πŸ˜„

worthy comet
#

Hello I'm trying to figure out how to get my stream from freezing

severe shell
smoky olive
#

Anyone know how you can make a chat window blur so what's behind it looks blurred?

lean harbor
#

Hi i have been looking at the Custom eventlist and i cant figure out how to make it so its horizontal list instead for vertical. someone who could help me debunk a solution

hardy walrus
#

Though I saw you typing and you can add on as well mr/mrs code-guru.

lean harbor
#

dose not really say me much sense this is just a bar and its bit easier to work on then event list i think

tawny gale
#

Can I get some help please?

pulsar willow
pulsar willow
#

Are there any plans to add (more) IPA compatible fonts to the google fonts list? ("type": "googleFont")
A lot of those special characters aren't supported by most fonts (see image).

https://en.wikipedia.org/wiki/International_Phonetic_Alphabet#Free_fonts

  • Andika is included, but hasn't the greatest support for IPA characters as it seems.
  • Gentium Basic is also included, but Gentium Plus is the one with IPA support afaik.
  • I couldn't find Charis SIL and Doulos SIL either.

The International Phonetic Alphabet (IPA) is an alphabetic system of phonetic notation based primarily on the Latin script. It was devised by the International Phonetic Association in the late 19th century as a standardized representation of speech sounds in written form. The IPA is used by lexicographers, foreign language students and teachers,...

pale thicket
#

Hi why can’t I use the web site it lets me login but it don’t matter what I click on it stays on the same page

rose sapphire
#

does anyone know what the badge type key is for the artist role they added? Its not listed anywhere in their api documentation and "artist" isnt working for me. Ive tested the code with obscure ones like the glitchcon 2020 badge and even that works fine but I cant for the life of me get the artist badge figured out.

rose sapphire
muted trellis
#

still having issues with this?

unique iris
#

Hiya, I'm trying to save a value with SE_API, but most of the time it doesn't save even though response says it saved successfully, when I get the values back, sometimes it's an old value.
I even got to the point of doing just to check:

console.log(obj);
SE_API.store.set(goalType, obj).then(response => {
    console.log(response);
    SE_API.store.get(goalType).then(returnedObj => {
        console.log(returnedObj);
    });
});

and the returnedObj is a previous object value, or even 2 or 3 times back that I've tried to set it.
Does anyone have any idea of what that could be?

grave trellis
#

sir, the chat widget is not loading 'till now. how to fix this?

coarse hull
#

could anyone point to a reference for dynamic settings like those that are present in widgets from the "alerts" section of the overlays gallery? I'm looking for some example code to understand the sliding settings panels for follower/subscriber/etc, the "add variation" dynamically growing lists, configuration popouts, etc, but I've opened a few of those widgets and the "open editor" button isn't present

I basically just want to create a settings page with a variable number of structured-entries...like, buttons to add/remove groups as needed rather than hardcoding a specific number of groups in the json, or have a massively tall settings panel to scroll through. is that UI behavior possible for custom widgets?

thanks!

unique iris
pulsar willow
# smoky olive Anyone?

You could also solve this problem in OBS itself.

There are two approaches (I'm aware of):

  1. https://www.youtube.com/watch?v=5zM3xvkb8dY (uses only built-in functions of OBS, but isn't a real blur)
  2. https://www.youtube.com/watch?v=jLfjtkLNYXk (uses an OBS plug-in called StreamFX)

Hey Guys! In this video, I explain exactly how to add a blur layer in OBS or Streamlabs OBS to help out with blocking in-game chats or other things in your stream you don't want viewers seeing.


πŸ”΄Enjoyed the video? Let me know by leaving a comment down below and clicking the like button!
πŸ“₯Subscribe for more an...

β–Ά Play video

How to blur your chat or other sections of your screen on stream!

You'll need to download and install StreamFX (exe is easiest for windows) if you don't already have this: https://github.com/Xaymar/obs-StreamFX/releases/tag/0.11.1

We also cover how to enable or disable (toggle) OBS object filters with your stream deck.

Join this channel to g...

β–Ά Play video
tawny gale
# pulsar willow Whats wrong?

My overlays were giving me an error code in OBS, but I fixed it by deleting the old browser addons and redoing them.

pulsar willow
#

seems the newest se live update broke some things from what i have read about and tested myself. yeah deleting and readding is best way. i just have issue streaming atm. cause of having a 21:9 aspect ratio @ 2560x1080

#

ultrawide monitors seem to have so many issues with games and apps

green ember
#

hey guys! is there a way i could play my alert sound and the TTS sound simultanious? i left a blank space in my audio for TTS to read the name out loud. that would be really cool!

severe shell
severe shell
lusty pivot
#

Hello, Can I report a front-end bug in streamelements dashboard? Cutepepe

#

When you're role playing as someone else's channel and you click on a invite link (for your own user) dashboard will crash following by an error.

severe shell
#

Don't know where to look at exactly (you took screenshot of two monitors and did not highlight anything). Are you trying to use the chat widget from SE overlay?

severe shell
lusty pivot
#

Yeah, Even the sidebar menu didn't render for me.

#

And I thought the normal behavior would be to get invited as my primary user.

severe shell
severe shell
unique iris
# severe shell Unless your "goalType" variable is changing in the meantime, or you are trying t...

goalType is a drop down value from the menus (fields), so it doesn't change
just trying to save current and total value to create a custom goal bar in that obj
the thing is, lets say I save (with a button created in the fields section as well) { current: 100, goal: 1000 }, and and it does save
then, afterwards, I try to set values 200, 300, 400 and then check what's the result, it still loads 100
eventually, after retrying a bunch of times, it does save correctly, and then a streak of non-saving clicks again

coarse hull
severe shell
severe shell
severe shell
unique iris
unique iris
severe shell
#

Do you have any error in console?

unique iris
# severe shell I don't know if I am able to understand correctly what you are explaining becaus...
"goalType": {
  "group": "Main config",
  "type": "dropdown",
  "label": "Goal type:",
  "value": "bits",
  "options": {
    "bits": "Bits",
    "subs": "Subs",
    "donates": "Donates",
    "follows": "Follows"
  }
},
"goalCurrent": {
  "group": "Main config",
  "type": "number",
  "label": "Current amount",
  "value": 1000,
  "min": 0,
  "max": 1000000000,
  "step": 1
},
"setButton": {
  "group": "Main config",
  "type": "button",
  "label": "Set value to current"
},

there's another field called goalTotal as well, the same as goalCurrent

window.addEventListener('onWidgetLoad', function (obj) {
    fieldData = obj.detail.fieldData;
    goalType = fieldData['goalType'];
    ...etc
});

window.addEventListener('onEventReceived', function (obj) {
    const listener = obj.detail.listener;
    const data = obj.detail.event;
    if (data.listener == 'widget-button') {
        if (data.field == 'setButton') {
            SE_API.store.set(goalType, { current: fieldData['goalCurrent'], total:  fieldData['goalTotal'] });
        }
    }
});
severe shell
#

I just added the part you sent before on JS:

window.addEventListener('onWidgetLoad', function (obj) {
  console.log(obj)
    fieldData = obj.detail.fieldData;
    goalType = fieldData['goalType'];
});

window.addEventListener('onEventReceived', function (obj) {
  const listener = obj.detail.listener;
  const data = obj.detail.event;
  if (data.listener == 'widget-button') {
    if (data.field == 'setButton') {
      SE_API.store.set(goalType, { current: fieldData['goalCurrent'], total:  fieldData['goalTotal'] }).then( response () => {
        console.log(response);
        SE_API.store.get(goalType).then(returnedObj => {
          console.log(returnedObj);
        });
      })
    }
  }
})
#

Also created the FIELD goalTotal as you told me

#

(by the way, rainha dos baixinhos... Adorei a sua extensΓ£o "1-click quality for Twitch")

unique iris
#

weird :/ sometimes the resolved get promise return me a different value

#

(after resolving the set one)

severe shell
# unique iris weird :/ sometimes the resolved get promise return me a different value

Personally, I don't like to use .then, I always get lost. πŸ˜„ I usually put async function and do await SE_API.store.get/set

window.addEventListener('onEventReceived', async function (obj) {
  const listener = obj.detail.listener;
  const data = obj.detail.event;
  
  if (data.listener == 'widget-button' && data.field == 'setButton') {
    const response = await SE_API.store.set(goalType, { current: fieldData['goalCurrent'], total:  fieldData['goalTotal'] })
    console.log(response)
    
    const returnedObj = await SE_API.store.get(goalType)
    console.log(returnedObj)    
  }
})
pulsar willow
#

Is there a way to have the event list title show new sub for only new subs when the event amount= 1 and for re-subs have the title re-subscriber when the event amount >=2 ? I don’t know how to go about it with the if/else in the js. And don’t want to mess it up. Can someone assist me

hybrid merlin
#

hi, i'm trying to send messages from an overlay to the chat via https://api.jebaited.net/botMsg/${token}/${message} and I get this error: Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://api.jebaited.net/botMsg/m57mMdh1Rz2qgdgKYzXx4oVk/Schaut euch auch mal mugdabonetto an! Er%252FSie war zuletzt mit dem Genre Music live auf https%3A%2F%2Ftwitch.tv%2Fmugdabonetto. (Reason: CORS header β€˜Access-Control-Allow-Origin’ missing). Status code: 404.

severe shell
# hybrid merlin hi, i'm trying to send messages from an overlay to the chat via `https://api.jeb...

3 things:
1 - Delete the token and recreate it, never share the token information! Anyone with that token is able to send message on chat. I just tested to check if the token was correct and the message was sent on the streamer chat.
2 - The message is working. Probably the message is not escaped and it is failing. However, if you try to replace the message for testing testing 123, for example, it will work
3 - Remove the token and recreate it.

hybrid merlin
#

ah right i forgot to remove it form the link. yeah i will recreate it.

#

hm i had message = encodeURIComponent(message).replace('%2F', '%252F'); in the code. i thought that would be enough escaping

hybrid merlin
severe shell
unique iris
hybrid merlin
#

now all i have to do is figure out what went wrong

severe shell
hybrid merlin
#

double encode it

#

message = encodeURIComponent(encodeURIComponent(message)); that works

#

with urls in the message

severe shell
#

Wow

#

πŸ˜„

hybrid merlin
#

don't ask me. i guess you should ask the maintainer of this api

#

i guess he just passes the received string as parameter to the twitch api? and they need it once encoded?

severe shell
hybrid merlin
#

yeha i guess. anyway it works now. thanks for the help

hardy walrus
#

@viral patrol A note for your lovely website ^^^^^^

severe shell
viral patrol
#

Just two add two cents here: this endpoint consumes both GET and POST methods. The one you are using is GET and it’s mostly for chat commands. For widgets I suggest using POST with payload of {message:”your text”} as in this class: https://jebaited.net/assets/js/widgets.js

foggy bone
#

From the overlay hosted on my channel, can I make the bot read messages from another channel?
(It would be an onEventReceived where I can select the chat
P.S. I have an editor)
Is it possible to use Twitch's tmi.js inside the SE overlay?

hardy walrus
#

@foggy bone already have something in #widget-share that can read multiple channel's chat.

foggy bone
foggy bone
#

I need to use JWT in my overlay and the function doesn't exist in jebaited. Something I can do? Is SE_API.store public or can I store there?

still juniper
#

You should never store your JWT there. What do you need it for? If you're calling SE API from within the overlay, you can use the overlay api token

foggy bone
#

Can I use the overlay API token in this case? The overlay will only be on my channel, the JWT is used for the "API say" in another channel.

still juniper
#

I very much doubt you can use your own JWT to send bot messages to other chats, as that would be a tremendous security issue. I mean, you can't even use it to send messages to your own channel, that's why the Jebaited proxy is needed

foggy bone
#

That bot "say/message API" allows you use an editor's token and select which channel to send it to.

severe shell
# foggy bone That bot "say/message API" allows you use an editor's token and select which cha...

If you have the token for each channel you can send messages using bot/say endpoint... But as you know, always find a safe place to put the token.
As an example, I use a script to ban many users in many Twitch chats using SE bot. But is is hosted in my machine.

const fetch = require('node-fetch');

const user = "bannedUser123"
const explanation = "[Ban por c4ldas] - Message bla bla bla"

function banUser(canal, account_id, jwt_token) {
    fetch(`https://api.streamelements.com/kappa/v2/bot/${account_id}/say`, {
        "method": "POST",
        "headers": {
            "Accept": "authorization/json",
            "authorization": `Bearer ${jwt_token}`,
            "Content-Type": "application/json"
        },
        "body": `{"message": \".ban ${user} ${explanation}\"}`
    })
        .then(response => response.text())
        .then(text => {
            console.log(`Banido em ${canal}`);
            console.log(text);
        })
}

// And then one call for each channel
banUser("channel1", "5avavcdAccount_ID70c71", "eyJWTTOKENJfasihf")
banUser("channel2", "5dAccount_ID70c71", "eyJWTTOKENJfasdfffffff")
banUser("channel3", "5dAccount_ID7089ygc71", "eyJ9geWTTOKENJfasihf")

This will send the message on the chat (ban the user):
/ban bannedUser123 [Ban por c4ldas] - Message bla bla bla

hardy walrus
#

You'd want the OBS discord

uneven oxideBOT
tawny gale
#

Well, it is an SE addon in OBS. The Stream Chat isn't working.

#

OK, I fixed it by just logging off and loging back in.

still juniper
severe shell
lyric nymph
#

Ok so I've a custom scene switcher widget people in here made for me like... years ago and since the switch to Websocket 5 it stopped working. I know the script is set to 4 and I know that's outdated so I changed that in the HTML field to the new one, but tbh that's where my knowledge stops. Does anyone have any clue on how to fix this thing?
#dev-chat message

#

I tried finding the old message to link back to but it seems to be gone rip. I can post the fields or HTML sections if needed

hardy walrus
#

Scrolling a bit up I think before that.

lyric nymph
#

I COULDN'T FIND IT DISCORD'S SEARCH IS BUTTCHEEKS

hardy walrus
#

I actually had to look with SetCurrentScene

lyric nymph
#

fair lol

#

I have a friend looking though it and trying to help too, but she's not great with js so we're still at a loss

#

that's why I decided to ask here yunoded

foggy bone
#

The SE API about commands was off, so I can't see if I can add autoreply commands (keyword option) through the endpoint responsible for creating/editing commands in the channel instead of leaving an overlay running.

quiet pulsar
#

Okay so@do they respond or nah bro?

lyric nymph
#

Ok so actually update: This is the original code, it was apparently a widget by LX before the edits I got help for in here:
#widget-share message

Open to any suggestions but I'll also DM LX to ask him directly

still juniper
#

@foggy bone the question is why is the streamer using an overlay you own instead of using their own overlay with the code inside a custom widget. Sharing your overlay potentially exposes your information, your overlay api token, and in this case also your JWT. And you have zero control over what the streamer does with that info (intentionally or unintentionally). And if you happen to be an editor in other channels, you're also exposing them to risks derived from a 3rd party getting control of your token. Using your JWT in an overlay is not the best idea, but then sharing that overlay on purpose is just asking for big trouble.

shrewd flame
#

Questions about event emulation and session data: I'm making a goal progress bar overlay. When I emulate a cheer|sub|tip event, and then look at event.detail.session.cheer|subscriber|tip-goal, each one is only the value of the most recent emulated event, and not the sum of all the emulated events.

  1. This is just an artifact of emulation, and not how the real session data behaves, right? Just want to make sure I'm not misinterpreting what the *-goal values are.
  2. Even though these goal values are delivered as session data, they won't really be wiped out after the (Twitch) stream ends, right?
fallen needle
#

Is there a way in which store redemtions in SE, somehow can be posted in a my discord channel also? I seen some people have it, dont know if its custom made, and in that case how..

severe shell
late berry
severe shell
severe shell
severe shell
#

Custom widget has more fields, but once you go to "event" key, both will have the same data

foggy bone
# still juniper <@172043837164879872> the question is why is the streamer using an overlay you o...

Exactly. I don't do lives and I don't have editors, so if I use my token in my overlay it will be safer than leaving the overlay on the streamer's channel where any editor can share the overlay and lose control of who has access using my token or the streamer's token.
Or can my overlays, even without having any editor, be accessed?
(The link of the overlays is not shared with other people, it is only in "My overlays" in the SE itself)

late berry
# severe shell They use the same structure for 'event':

I'm sorry, I'm not really familiar with navigating the SE API docs. I'm not seeing where the event structure is listed on that page either? If its on a different page then I'm having an issue when I try to click on the GET pages of the SE API Docs pages, for instance activities/channel GET, I get this error

late berry
severe shell
severe shell
foggy bone
#

Are my overlays and their codes secret? -If their links are not shared and if my channel does not have editors.

late berry
# severe shell Yeah, you can find them there, sorry for the wrong link

Thanks, we got there in the end. Idk where would be the right place to say this, but that the Schema menu is a bit of a mess. I'm trying to find specifically what the websocket tip event is and there are four pages for tips that it could be: Tip, Tip1, TipData, New Tip
Idk how this could be reorganized or made clearer, but its very confusing right now

severe shell
# late berry Thanks, we got there in the end. Idk where would be the right place to say this,...

It is very confused, I agree! I believe they are restructuring it, I've seen some changes recently in there.
As regards the Tips, I think the best I can help you is trying to explain what I could understand checking each schema:

  • Tip and Tip1 are related to custom widgets, how they will appear on overlay
  • New tip is in a case you want to send a new Tip using the tips/:channel endpoint, this is used for integration between a third party tip service and SE
  • TipData is the data received when a tip is registered (this one is how will appear on the websocket)
#

And you got a bad time to check the API page, it is down at the moment 😦

late berry
severe shell
severe shell
# foggy bone Are my overlays and their codes secret? -If their links are not shared and if my...

If you don't share your overlay link, yeah, no one will have access to it. But in a case of your overlay is leaked, people will have access to the code.

I get a message from another chat through my overlay, compare it to an external api and make the bot respond something to that other chat. Jebaited only responds in my own chat, but with JWT token I can send messages in other chats.

If this is what you want to do, I would recommend that you ask the streamer to generate a new token with scope botMsg from jebaited.net website and send it to you, so you can use it on your overlay.

  • Ask the streamer to go to: https://jebaited.net/tokens/ and connect their SE account to the service.
  • Click on the blue button (None selected) and select botMsg. Click on the green button Add Token and it will appear below. Have them to send that token to you.
  • With the token you can do a GET to https://api.jebaited.net/botMsg/TOKEN_HERE/messageYouWantToSendWithEncoding

The good part of using the jebaited botMsg token is that is restricted to only send message on chat. And you can always revoke the token. With JWT, in any case that information leaks, you have no control of what a person can do with your account (and the accounts you have access to)

modern vortex
#

Hello I dont know if im right here. I try to get the Bank Heist mini game by lx running.
#widget-share message

It always gives out every message 3 times for me. I couldn't figure out so far, why it does that.
Does some have an idea or encountered this problem before?
Thanks for any help or ideas πŸ™‚

severe shell
still juniper
modern vortex
#

Perfect. yes it works. thank you so much @severe shell ❀️

severe shell
#

Tip emulated and real tip

still juniper
#

Btw, the WS json schema is in a pinned message in this channel, although not completely sure if updated (seems so in a quick inspection, but the message is from 2019)

torpid trellis
#

when i want to capture Game windows (Pubg Emulator) the game freeze and shows mes that Game-hook32 is the issue.
when i run as full screen, it's working fine.

Also, when i open share on discord the game itslef fliker but when I share a screen show correctly
Can anyone helping me?

uneven oxideBOT
#

@torpid trellis ‡️

SE.live is a plugin for OBS Studio for the best OBS support, please join their Official Discord @ https://discord.gg/obsproject

daring lynx
#

Hey guys i need help on OBS, i click start virtual camera but it is not clickable, any solutions?

daring lynx
delicate jasper
#

I'm not sure where I should ask this but I don't have the SE.Sponsorship tab and I've used stream elements for months now. I can't find anyone else talking about this. Help. ;-;

hardy walrus
delicate jasper
hardy walrus
#

Outside of using our bot, overlays, and general services nothing specifically.

delicate jasper
severe shell
wintry kayak
#

#widget-share message

I have been looking for an overlay that displays the top gifters for a certain period of time, I found the post in Widget-share showing one developed by @viral patrol which shows the top gifters of the session. Does anyone know of something like this, or a way to modify this, so that it shows top gifters within a period of time like a week or a month?

Thanks!

pale lance
#

Not sure which section to get help on this, but I recently accepted a Raid Shadow Legends sponsorship offer. I'm having 2 primary issues... 1. I don't get an option to input my payment setup (I have everything else as a checkmark besides this) 2. The campaign goals isn't counting the download+tutorials completed which is needed for the payout goals. I've got screenshots of the Raid accounts set up through my sponsored stream. Any help would be greatly appreciated!

#

Ok I have one further step towards possibly fixing my #2 issue above^ but does anyone have info on how to add the payment setup?

pulsar willow
# sand cosmos <@456226577798135808> ok, thank you! I wasn't meaning to put you under pressure ...

hey πŸ––
Just a life sign... I'm still working on the widget and uploaded a first (still buggy) draft:
https://github.com/AFoeee/dictionary-se-widget/tree/overlay-only-draft

Have a good one!

GitHub

A StreamElements custom widget, which displays a dictionary definition for a given command parameter. - GitHub - AFoeee/dictionary-se-widget at overlay-only-draft

sand cosmos
uneven oxideBOT
#

@steel loom, posting multiple links will result in not being able to post again.

shrewd flame
#

Is there a more streamlined development workflow for widgets than cutting & pasting html/css/js into "Open Editor" in the overlay editor? Kind of a pain to be constantly pasting local file contents into the website UI. Thanks.

hardy walrus
novel otter
#

@viral patrol I was wondering what is needed to get the !addtime feature to work with your Stream Marathon Timer widget. I don't know what to have as the reply when making the new !addtime command (as listed in the widget) for SE and adjust the time.

My apologies for the ping, I could not find any results when searching here.

knotty thorn
#

is the api docs down for anyone else?

hardy walrus
#

Certain things are unavailable atm yes.

knotty thorn
#

ok thanks

severe shell
novel otter
# severe shell You don't have to create a command, the command will be listened automatically b...

I initially tried that and it didn't work for the Subathon I am currently modding. I had to go into the settings in SE overlay and adjust the "initial marathon duration" minutes to meet the new amount in Timer settings for the widget. It was a sub goal that if she reached, bonus time would be added.

Oh well, maybe after this Subathon is over I will delete then add it again and hope it works.

uneven oxideBOT
#

@uneven wharf, posting multiple links will result in not being able to post again.

turbid shadow
#

Hey so my friend did his achievements and streamed his Hello Fresh but it says he didn’t complete it but it says 18/16 and he has the VODS, What does he had to do? Help please.

turbid shadow
#

@proud spade i did just didn’t know where to really put it

dense cove
#

hello, I come here from #general-chat. can someone help me recognize this widget? it's an endless scrolling text, showing sub goals ThinkPoint
so far I'm only finding progress bars.. can be manual or reactive, so once a goal is reached it gets crossed out
OR does anyone know an easy way to have an on screen checklist (with SE integration)?
so far the strikethrough with OBS affects all the text not individual lines

severe shell
# dense cove hello, I come here from <#370226812669788161>. can someone help me recognize thi...

This can be done with the default text widget on your overlay:

  • button > Static/Custom > Text
    On Message, you type each part in one line
    Then go to Text settings and check the last option, called Text Scrolling. Choose Scrolling direction to Scroll up and done.
    Then you can personalize your widget with the color you want, the size of the widget, etc etc.

The only different thing is that on default widget, the scroll will reach the end before starts repeating.

dense cove
#

I see, thank you!

lyric nymph
swift cedar
#

Can anyone help me with this bug? I've updated to the latest SE OBS and now there's this bug where it has two buttons and etc ..and its Killing space for my obs screen space

granite apex
#

Hello! I'm working on making a custom raid alert and I want mods to be able to interrupt it with a command. So far I have the code listening to chat from mods and working just fine. The problem I'm having is when the overlay stops listening to chat for extended periods of time (maybe because chat is moving too slow?) and it only reconnects after the error message in the image shows up.
I'm looking for a way to avoid this dc, manually reconnect, maybe poll the connection? It would be silly if the alert played and only sometimes mods could stop it. Thanks in advance ^-^

uneven oxideBOT
#

@swift cedar ‡️

If you're experience the duplicate "Start Streaming" button, "StreamElements" menu, or other duplicate buttons for the latest version of SE.Live, Please download and install OBS Studio from https://obsproject.com/

If an install of OBS already exist, please install over the existing OBS installation.

severe shell
# granite apex Hello! I'm working on making a custom raid alert and I want mods to be able to i...

I'm not sure if I understood exactly what you are have. Is this custom raid alert is a SE widget you are creating or another tool?
If you are connecting to wss://irc-ws.chat.twitch.tv:443 manually, you have to keep sending keepalive messages
https://dev.twitch.tv/docs/irc#keepalive-messages

In case you are coding in a custom widget on SE overlay, it listens to the chat and you don't need to work on reconnect or things like that.

granite apex
severe shell
granite apex
foggy bone
#

The return of the variable $(leagueoflegends ...) is occurring error today in different channels. It works normally, but sometimes it does (both with BR region).

burnt path
#

Help me, please
(PT-BR)Encontrei um erro preciso de Suporte,

Stream Element/ AlertBox/ Settings/ Cheer Alerts/ """Alert Message"""

Problema: nΓ£o estΓ‘ aceitando EdiΓ§Γ£o, qualquer alteraΓ§Γ£o feita, ele recusa.
todas as tentativas ele mantem:"{name} Cheered x {amount}"

chilly nova
#

Is there any way I can use html to add overlay elements into my streamelements overlays?

severe shell
autumn heath
#

Hello Friends. I am doing a Design Refresh of my Wife's twitch Channel, and I am using the JS Events API to track channel events and make her Camera Frame reactive to things viewers do in her channel. Everything looks to be fine (Raid, Follow, Sub Gufs, Cheers, Tips... but there is one kind of event that I am unable to track and I have setup special animations for these: Hypetrain. I cant receive Hypetrain Start event, check if Hypetrain is in progress when loading the overlay, or receive hypetrain end events. Is there a way to do It?

severe shell
vagrant scaffold
#

hi, i have a question
is overlay sharing no longer working?

#

i reckon used to be able to stitch overlay id with .../overlays/share, now it just logs out

scarlet dock
#

Anyone know an easy way to copy an alert you create with the StreamElements overlay so that you can paste it into a custom CSS? Basically I'm trying to have a full-screen alert prompt for something like a large donation, and have a smaller alert prompt for a smaller one, and I cant think of any other way to do that besides having a variation with the one type being custom CSS into the smaller one, and the fullscreen one being made by the sliders/default options!

severe shell
uneven oxideBOT
severe shell
scarlet dock
#

Oof, so only way to really make this work is to completely write up a brand new code to mimic the default configured alert?

vagrant pagoda
#

has anyone had any issues with linking the loupedeck with streamlabs?

severe shell
vagrant pagoda
#

hahaha dont judge me

severe shell
vagrant pagoda
#

lol thank you though

pulsar willow
#

i click on chat stats in the dashboard and an error message pops. any ideas?

uneven oxideBOT
#

@pulsar willow ‡️

If you are receiving a 404 error on your chatstats page, please provide the following information:

  1. Channel name (old and new if changed recently)
  2. your account ID found at the top of this page: https://streamelements.com/dashboard/account/channels This ID is public info and safe to share here.
pulsar willow
#
  1. buckeyeboxing69
#

2)62a3e2c398321159bd87f679

#

what do i do now?

fervent stratus
pulsar willow
#

yea it works now thanks!

scarlet dock
#

Does anyone know how I could position with CSS text to a specific area, while having it be centered horizontally on that point? position: absolute; seems to only align to the left, on the position, not center, even with the text-align: center on it..

#

1 is what its doing when I try to center it, and 2 is what I would like it to do.

severe shell
#

Or in case you need to use position: absolute, you can do:

position: absolute;
left: 0; 
right: 0; 
text-align: center;
scarlet dock
#

Okay! I've figured out how to move it all around, and got it looking the way I want it! Thank you for your help! Only have one last question I cant seem to find a fix for.. I promise this will be the last one!.. I hope..

How do I change the wobble animation to the wave one? I tried going into the JS tab and just changing the word "wobble" to "wave" but it didn't seem to change the animation 😬

severe shell
lone flower
#

Approximately how long does the process for the api application take? I submitted it 11 days ago and haven't received any updated yet

severe shell
lone flower
#

oh boy

#

ok thanks

fossil canopy
#

Hello, with StreamElements can I have alerts for likes on a live youtube?

scarlet dock
# severe shell If you are still working on the Custom CSS alertbox, the animation documentation...

Thanks! That looks like fun, I might add those to all the alerts instead. I was just talking about the basic text animation that came with the default ones 🀣 The "wobble" one just makes the letters jiggle lightly in place left to right, if I change the JS wobble it turns the text back to just static text. The creator has a dropdown with lots of effects, but none that look as fancy as the ones you linked there!

lament fern
#

Hi, i want to know if there is something on custom widget code, that send chat message after each event, or some "final" event, to have something to "trigger" Lioranboard/Streamerbot effect on sources in OBS. Im still thinking how link all this.

harsh nimbus
#

So i backup my things in Se.live. reinstalled windows and now the back-up seems to be empty, nicely done

opaque wasp
earnest yarrow
#

why am i not able to checkout 4 items with 4 discount codes and send one into one 1 package?

charred fox
#

Not exactly sure what section to ask…using virtual camera, I get a green screen. Almost like a green filter a crossed the whole screen…when I use OBS(without SE) it works fine, but today it just started doin this green screen thing…I’m fully updated…any ideas❔❓

orchid hazel
#

Hi, My OBS browser source has steam elements content security policy issues witch is causing my OBS to randomly freeze and the bitrate to drop to 0 kb/s.

Example:
11:12:34.148: obs-browser: [Report Only] Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'none'". Either the 'unsafe-inline' keyword, a hash ('sha256-dCImnf5U50C6/yGGZrNBJ0w5/O+LgHlBid+gCtyw7PI='), or a nonce ('nonce-...') is required to enable inline execution.
11:12:34.148: (source: https://streamelements.com/overlay/62cf1d37606cc2c90198adc1/F1KxWU-n3P20xVYBLktJ3FW2ojjnoRThD4i79A8nZm63zpWM:4)

severe shell
# charred fox Not exactly sure what section to ask…using virtual camera, I get a green screen....

Better place to ask would be #general-chat .
I have this kind of problem when I open my webcam in another application with OBS already using my webcam.
Webcam in windows only works in one application at a time.
My suggestion would be first reinstall OBS from OBS Studio website (no need to uninstall anything, just install it again).
If that doesn’t work, check if you have your webcam being used in any other application.

severe shell
atomic hamlet
#

@steady iron We are loving your Awesome Shoutout widget. Found one minor problem.
When multiple shoutout commands (!so) are entered in chat in quick succession only the first visual shoutout appears correctly on screen. The following shoutouts are shortened or don't appear at all. Is it possible to add a queue so multiple shoutouts don't overlap?

stray dome
#

hi I try to use the regex for command
/^(?:coucou|wesh|yo|bonjour|kikou|hello|salut(ation)?|h(Γ©|e))\s+@?robotboursier*$/i
but it's not working anyone know why ?

stray dome
#

I found how to solve it
(?i)^(?:coucou|wesh|yo|bonjour|kikou|hello|salut(ation)?|h(Γ©|e))\s+@?robotboursier*$

steady iron
stone fossil
#

Hey, I'm having a problem with my "Animation settings" on all my alerts. The 'Enter animation' works, but no matter which 'Exit animation' and which duration I have put it to, it won't work; it just cuts off like there was no animation set to 'Exit animation' at all. How do I fix this?

tender scroll
#

Gmgm

bitter yew
#

Hi people! How to update the version of my widget available over SE url from here: #widget-share message ?
I have added some things and want to share the changes with the community ❀️

barren plaza
#

Hello! I was wondering if there is any existing way to trigger a custom action (like send command to http endpoint, etc.) based on donation from stream elements. For subs and bits, I could use the twitch API directly, but that won't work for donations through streamelements.

vital bronze
#

Is there a way to link the streamelements highscores or top chatters to discord so it can be displayed in discord for viewers to see?

proud spade
strong hollow
#

Hi guys. I applied for the overlay and widget link sharing and I'm yet to hear back. It's been over a week so thought I'd chase it up

severe shell
severe shell
severe shell
wary parcel
#

Hi! -- wondering if it's possible to create a custom widget on an existing overlay and prefill the HTML/CSS/JS/Fields/Data under settings through the API?

I looked at the API reference thats pinned and didn't see anything related to widgets. Closest thing I found was overlays but not sure

severe shell
# wary parcel Hi! -- wondering if it's possible to create a custom widget on an existing overl...

You can think of overlay as the entire window and widget as each item you add to an overlay. You can have as many widgets as you want in your overlay.
The Overlay Editor Documentation linked is related to the creation of custom widgets for your Streamelements Overlay.
To start, you create a new overlay (ou use any you already have) and click on Edit to open the Overlay Editor. Once in there, you create a custom widget clicking on + button > Static/Custom > Custom widget. Click on Open Editor and use your imagination to work on HTML/CSS/JS for that.

wary parcel
hardy walrus
#

Some wiggle room with this....

severe shell
# wary parcel Thank you! So its only possible to create a custom widget through streamelements...

You can do a local development, but at the end you will need to add to the widget through the website.
Well... There is a way to update a widget using the API, but I believe the endpoint is not documented. However, you can open the developer tools on your browser and check the endpoint, method, header and payload used when you save the overlay
For the overlay save, you will find a method PUT to this endpoint:
https://api.streamelements.com/kappa/v2/overlays/ACCOUNT_ID/OVERLAY_ID

wary parcel
#

Ahh yep I see the endpoint when I added a widget -- thank you both! Gives me a starting point for me to work with PepeHandsUp

pulsar willow
# sand cosmos Thank you for the update! Great to know you're still alive πŸ™‚ I appreciate the e...

The updated version now seems to work as expected πŸ‘
https://github.com/AFoeee/dictionary-se-widget

Have a good one πŸ––

GitHub

A StreamElements custom widget, which displays a dictionary definition for a given command parameter. - GitHub - AFoeee/dictionary-se-widget: A StreamElements custom widget, which displays a dictio...

sand cosmos
opaque wasp
#

I don't think this is possible but, is there a way to obtain Alert message text via custom code?

patent socket
#

Wondering if there is such a thing .. a combination of boss hype and one bar to rulle them all.
where based on user interaction sub, follow, cheer etc... bar fills up like an energybar... but actually goes down (empties) over time when no user interactions.... the opposite of the hype bar..

fervent kettle
#

where can i learn how to do text animations / text effects in stream elements?

nocturne axle
#

Hey, I asked about PKCE/Implicit auth flow support for OAuth 2 access and someone was going to have a look into it, but I never heard anything back, is the person who knows about it back off holiday now?

hardy walrus
#

@nocturne axle Poked person but they do not have an answer yet unfortunately.

nocturne axle
#

ah ok thanks

#

Its a moot point until they respond and allow/reject my API access request anyway πŸ˜„

pulsar willow
fervent kettle
bitter yew
opaque wasp
bitter yew
#

Oh got it. I think is not possible because the widget just show info, don't fire events on SE (someone correct me if i am wrong)

#

Btw, its possible to fire custom events... maybe you can create one with your message to other custom widgets listen

foggy glade
#

heya im trying to go live on twitch and everytime i use OBS it keeps asking me to connect to youtube, how do i fix this?

severe shell
sand cosmos
knotty thorn
#

would there be a way to code a bits tts manual approvement option? a streamer i mod for has a lot of bits tts and some msgs that are coming through are getting a bit out of hand

fervent stratus
knotty thorn
#

that's for tips, does that also count for bits as well?

fervent stratus
#

Yes

knotty thorn
#

oh cool

#

thanks

stray dome
#

how to use the character ' in ${random.pick} command

hardy walrus
#

Can't.

stray dome
pulsar willow
#

@stray dome can't you escape ' with \? 😯

${random.pick '\'1' '2\'' '\'3\''} seems to work for me

pulsar willow
sand cosmos
pulsar willow
uncut sandal
#

hey can someone link me to streamelements alert event code?

#

like follower/subscriber

#

I'm trying to figure out how to listen for a follower event

severe shell
uncut sandal
#

thanks!

humble folio
#

Hey, what is the easiest way to store an integer value persistently in a custom widget? I need the same value even if obs is restarted

stiff phoenix
#

hey hey hey folks. I'm going to be attempting a custom hype boss but I'm pretty dumb when it comes to code. I need to try to get my hands on the custom css stuff including fields and such, and then I'll be setting my own graphics for it. anyone got the code and maybe a little knowledge of what to change?

severe shell
sour heron
#

add an export button for your overlays

hardy walrus
#

Export in what way?

sour heron
hardy walrus
#

They don't vanish unless you delete them or there is system issues.

sour heron
lament fern
opaque wasp
lament fern
smoky harbor
#

Hello, is it possible to use the url fetch and log it somewhere and refresh it periodically to reduce strain on a api?

grim tulip
#

Hello there, i would like to know what is the syntaxe about the event listener for the message
i'm trying to reworkd a plugins for phasmophobia which is used to track the evidence
but there is only the broadcaster and mods who can used it

if (listener === 'message') { if (data.badges.some(e => e.type === 'broadcaster') || data.badges.some(e => e.type === 'moderator'))
what is the twitch event for the basics viewers and s there a possibility to distinct subs and non subs ?

thorny goblet
#

Hi everyone im new here and was thinking about getting into some developing. Where can i find the documentation for the custom widget though quz every link i have clicked on leads to a page not found on github

thorny goblet
#

Yes but the question is if there is a document that says all about what classess exist in the background

#

Because the first time you start up the custom widget you get some classes that is nowhere to be found as in the code that exist within them

#

The link you sent what i get out of it is just examples

grim tulip
grim tulip
thorny goblet
thorny goblet
grim tulip
thorny goblet
#

@grim tulip this seems to be something of an http request to get a hold of it or what do you think

opaque wasp
#

guys have a look at this channel infos, you'll find link to documentation

thorny goblet
opaque wasp
thorny goblet
#

ah i see

#

i missed that totally

grim tulip
thorny goblet
#

in what tab do you build the inputs in the input panel? im kinda lost quz yes you build up variables in the fields area but where do you actually build the graphicall input?

grim tulip
thorny goblet
grim tulip
thorny goblet
#

quz what i can see there is no graphicall input for that

#

as an example i have this choice that i wanna make the user able to make in the settings tab... "Image":{
"type": "image-input",
"label": "Pick your image",
},

#

but how do i make it possible for end user to pick an image graphically

thorny goblet
#

i got it sorry

#

i just got a huge developer error

#

so sorry

#

you need to debug me soon LOL

grim tulip
#

firstly you put your images into the data and you "upload" them to your project through the fields

thorny goblet
#

you can make an input by just making the field json file send a request

#

missed that it was json the second i got that i understood that its sent somewhere as an request

grim tulip
#

@severe shell is there a way to get the dev tools into streamelements widgets ? like, you put a console.log to debug and consult this console.log ?

severe shell
grim tulip
thorny goblet
#

Is there any way to get a hold of a End users font library instead of googles?

#

Quz if you use ordinary text in streamelements you get to choose from your own pc

severe shell
# thorny goblet Is there any way to get a hold of a End users font library instead of googles?

You have a few ways to select a font:
1 - Using google fonts
2 - Importing a custom font from a website
3 - Using a font from streamer's PC

If you are trying to use the fonts from streamer's PC, you don't get a list of them. What you can do is add a text field so the user can type the Font Name they have installed in their PC (similar to "Enable Custom Font" in default Alert Boxes Text Settings).

In the example below, the streamer can select a Google Font, or in case they want to use a font installed, just check the box "Use Custom Font" and then type the font name they have installed:

HTML

<div id="container" class="container">Hello Streamelements</div>

CSS

@import url('https://fonts.googleapis.com/css2?family={{fontName}}');
.container {
  font-family: {{fontName}};
}

FIELDS

{
"fontName": {
    "group": "Font Settings", 
    "label": "Font Name",
    "type": "googleFont",
    "value": "Roboto"
  },  
  "customFont": {
    "group": "Font Settings",
    "label": "Use Custom Font",
    "type": "checkbox", 
    "value": false
  },  
  "customFontName": {
    "group": "Font Settings", 
    "label": "Font Name",
    "type": "text",
    "value": "Segoe UI"
  }
}

JS

window.addEventListener('onWidgetLoad', (obj) => {
  fieldData = obj.detail.fieldData
  
  if(fieldData.customFont){ // if checkbox is selected
    document.getElementById('container').style.fontFamily = fieldData.customFontName
  }
lunar beacon
opaque wasp
lunar beacon
#

Thanks. When is the support for YouTube gifting being added?

lament fern
#

Hi, i just found your code for sendBotmessage, but i can't make it work, i don't know what i'm missing. i want the bot to send the current HP from my Lifebar everytime somene heal/damage me.

pulsar willow
severe shell
pulsar willow
uneven oxideBOT
lament fern
#

Thanks for everyone that helped me with my widget. Soon i will try to publish here. πŸ™‚

shrewd flame
#

Is there a way to include an asset (like an image) in a custom widget, alongside the widget.css,.js... etc? Or do they all need to be either embedded data URIs, or externally hosted?

opaque wasp
thorny goblet
severe shell
thorny goblet
#

I just wanna say sorry if i sound demanding didnt mean to sound like that. Very thankfull for the help ofcourse! πŸ˜„

severe shell
thorny goblet
#

Ah do i have to put it within quotes if there is spaces

thorny goblet
thorny goblet
#

Fields "fontName": { "group": "Font Settings", "label": "Font Name", "type": "googleFont", "value": "Roboto" }, "customFont": { "group": "Font Settings", "label": "Use Custom Font", "type": "checkbox", "value": false }, "customFontName": { "group": "Font Settings", "label": "Font Name", "type": "text", "value": "Heroes Legend" }, "fontSize":{ "group": "Font Settings", "label": "Font size", "type": "number", "min": "11", "max": "64", "step": "1", "value": "11" },

severe shell
# thorny goblet Fields ``` "fontName": { "group": "Font Settings", "label": "Font Name"...

Do you see the FIELDs options on the left side of your Overlay Editor? Because if that is your complete FIELDS, it is wrong. It should be like that (adding { } at the beginning and the end of the file and removing the last comma):

{
 "fontName": {
    "group": "Font Settings", 
    "label": "Font Name",
    "type": "googleFont",
    "value": "Roboto"
  },  
  "customFont": {
    "group": "Font Settings",
    "label": "Use Custom Font",
    "type": "checkbox", 
    "value": false
  },  
  "customFontName": {
    "group": "Font Settings", 
    "label": "Font Name",
    "type": "text",
    "value": "Heroes Legend"
  },
  "fontSize":{
      "group": "Font Settings",
    "label": "Font size",
    "type": "number",
    "min": "11",
    "max": "64",
    "step": "1",
    "value": "11"
  }
}```
thorny goblet
hardy walrus
#

Any error in console?

#

Or just not work?

severe shell
#

If you just copied from mine, you need to close the JS

#
window.addEventListener('onWidgetLoad', (obj) => {
  fieldData = obj.detail.fieldData
  
  if(fieldData.customFont){ // if checkbox is selected
    document.getElementById('container').style.fontFamily = fieldData.customFontName
  }
})
thorny goblet
thorny goblet
severe shell
lament fern
#

is there any place to show how to link variables with Fields and Data?

severe shell
# lament fern is there any place to show how to link variables with Fields and Data?

DATA tab is the tab where the values are set from the left panel that you create on FIELDS tab. Here you can have more information (on channel description):
https://dev.streamelements.com/docs/api-docs/775038fd4f4a9-stream-elements-custom-widgets#json

If there is a specific question, feel free to ask πŸ™‚

lament fern
crisp wagon
#

Can we expect twitch platform shoutout events to come through onEventReceived any time soon? Or are we waiting on an official API for that.

#

or any of the other events from their eventsub like on platform donations

hardy walrus
#

Official endpoint for sure.

opaque wasp
#

I can't understand how I should handle alerts without user's messages.

console.log(message);```
I'm willing to add it to the HTML dynamically only if existent; the issue is that if the alert doesn't contain a message the alert won't play due to an error. 
```Uncaught SyntaxError: Invalid or unexpected token (at VM1559 about:srcdoc:493:15)
VM1578:1 Uncaught SyntaxError: Bad control character in string literal in JSON at position 9786
    at JSON.parse (<anonymous>)
    at VM1558 about:srcdoc:50:22```

**TL;DR** How should I handle user's messages into custom coded alertbox?

**SOLUTION**
`let message = `\``{message}`\``;`
Save the message using *backticks*[`] instead of *apostrophe*['] or *quotation marks*["], that's because the message contains HTML code.
opaque wasp
wheat phoenix
#

πŸ‘

hoary lintel
#

How do i get session data in custom widgets

inner lagoon
#

i cant get OBS to work

lunar beacon
#

guys I'm using this listener for YouTube Gifts but it's not working for some reason.
listener == 'gifted-latest'
Is there a special listener for YouTube?

opaque wasp
pine plinth
#

How do we go about just casually sharing widgets with friends? Add as editors and duplicate it? (I went and made a chat widget for a streamer I mod for)

hardy walrus
#

Unfortunately outright easy method (aka links) isn't available outside of brands/users with approval.

#

You have either get added as an editor or show them how to make it.

pine plinth
#

Okie!

#

I kinda want to submit this for sharing (e.g. #widget-share), but right now I'm still testing it out

#

Is there any kind of testing framework, or do I need to go write simulated events for that? πŸ€”

hardy walrus
pine plinth
#

Ooh, thanks

#

I'll add chat events to that :>

hardy walrus
#

I simply stole it from a pinned message here and figured this would better placed on github.

pine plinth
#

Yeah

pulsar willow
#

Hello i need help please

#

I changed name on twitch and now my alerts are not working

opaque wasp
pulsar willow
pine plinth
#

Spec for chat events? @hardy walrus

emulateChat(message, options: Options)

type Options = {
  username: string; // defaults to channelName || "StreamElements"

  badges: {
    staff: boolean;
    partner: boolean;
    bot: boolean;
    moderator: boolean;
    founder: boolean;
    vip: boolean;
    artist: boolean;
  };

  subs: {
    subscribed: boolean;
    months: integer;
    tier: integer; // default 1
  };

  displayColor: string; // random if not specified
  firstTimeChatter: boolean;
  highlight: boolean;
}

(emotes in the message will be automatically added via the twitch API, channelName + global only I guess?)

#

(Yes I know the typescript isn't proper, it's shorthand πŸ˜‚)

hardy walrus
#

No idea. I smoothbrain

still juniper
#

Bot badge ain't a thing

pine plinth
#

It is in FFZ, and this is a test event generator ^^

still juniper
#

afaik SE uses purely Twitch message tags

karmic carbon
#

Am I correct in thinking that there is a obj.detail.event.type === 'sponsor' for youtube channel memberships? I may have overlooked this in the documentation

karmic carbon
split osprey
#

hey, how do u remove the plugin error when starting the updated Streamelements now?

#

been happening since update

strange stream
#

Hey Guys,

I am trying to build a request that calls an API. This API is basically an API that accepts input and sends it back to the user.

If the user only does !trigger without any value then it will not even make the API call $(urlfetch URI)
The query is built using ${pathescape ${1}}
Any recommendations. (If you need to have the full use case i can DM it to you with an example)

#

Basically the user needs to be able send send an empty value or an value with content in the same command.

sand cosmos
severe shell
strange stream
fallen patio
#

Hello im new to developing custom chats with streamelements but i have little bit of css and html but other than that im not sure where to start however i am determined to make a custom chat similar to this.(also forgive my really bad sketch)

tawny flame
#

if I want to be able to listen to an event such as a donation being received, I'll need an OAuth token and have to use the sign up form on Asana right?

#

I filled out the form a while ago but didn't receive anything

severe shell
fallen patio
#

ah ok thank you so much!

severe shell
severe shell
tidal hedge
severe shell
cold imp
#

Yo all. Anyone know how to make a !google command? that will link to a query after typing "!google When is overwatch 2 released?" i have this currently " $(sender), your google search: https://google.com/search?q=${querystring} " but its not working

deep tide
tribal sleet
#

Anyone knows why when I emulate a bulk gifted sub it always generates only one receiver?
As in If I emulate 5 gifted sub they go to the same "person"

tawny flame
#

using jwt to auth

#

i followed the wiki pretty much identically

#

JWT token should be correct. i use it already to get donation data when the process first starts

#

I just want to be able to listen to realtime changes or updates

still ferry
#

Hello,

is there a way to get SE-Overlays working on Chrome Mobile Browser?

thorny goblet
#

Is there a way to check if a field is empty all the time so have an event fire on like a change of a variables value?

#

and check that in javascript?

indigo pine
#

guys my Stream deck do not work with obs anyone knows how to fix it ?

severe shell
# thorny goblet Is there a way to check if a field is empty all the time so have an event fire o...

It depends exactly what you want to do. To check if a field is empty you could just check with if(!field_variable_name)
To trigger an event when the variable changed value, it would depend on how you are monitoring that variable exactly. You could store a value on SE_API and when it changes, you can receive a notification as 'onEventReceived'.
But it is a bit hard to explain what can be done without understanding exactly your idea... If you want to give more details we can try to help you.

severe shell
sour heron
#

when will youtube get more overlays ?

pearl owl
#

is it possible to make custom widget that sends a chat message?

pearl owl
#

ok, I figured it out through #dev-chat message, but apparently the bot can only send some commands, and not others, /announce for example works, but /announceblue doesn't, /shoutout also doesn't work. Im interested specifically on /shoutout, is there a way of allowing the bot to say "/shoutout user"?

severe shell
pearl owl
#

ahhhh, I see

#

will it also be possible to have events related to /shoutout (like display an overlay when the shoutout is given)?

severe shell
pearl owl
# severe shell There is a widget that does something similar: https://discord.com/channels/1412...

ahh no, I have a variant of that already, what I wanted to do was to enter /shoutout user (or do !shoutout user in the case above) and trigger both the twitch native shoutout and our custom shoutout overlay πŸ™‚ I think once streamelements implement the possibility to do shoutouts via the bot I could do something like when someone sends a !shoutout user I make the bot say /shoutout user, but I'm curious if it would ever be possible to do that via the native twitch command, so we can drop the intermediary !shoutout and trigger the custom overlay with this /shoutout command directly

severe shell
daring sphinx
#

Hey, its possible from a twitch channel with all the list of viewers and all the points, go now on youtube and the same users have the points on youtube too? and dont lose it?

hardy walrus
#

There is no integration for youtube so no.

sour heron
#

I dont know what im doing wrong i created an bot account for the custom bot and its not working

severe shell
slate fossil
#

Quick question. I have Nightbot and SE bot. Is it possible to have SE bot respond to Nightbot when it says something?

severe shell
slate fossil
#

Ah great! Any suggestions on where to go to learn how to set that up?

severe shell
slate fossil
#

I was having problems trying to figure that part out and came here to make sure it was actually possible for SE bot to reply to another bot. I will jump back to the twitch help desk and rephrase my question. Thanks so much, loving SE and what you guys are doing πŸ‘

open geyser
#

Just wondering when the net pay date is for sponsorships? Last time I did one I got it earlier than it stated, just wondering as I’m broke atm πŸ˜‚

severe shell
#

If you want it only answers to Nightbot, add Nightbot in a super moderator role on Streamelements permission level and configure the command for only Super moderator

severe shell
open geyser
slate fossil
slate fossil
#

I've tried it both with and without the ${sender} command

#

omgosh lool, I had it set to reply! Problem is solved! Thank youuuu @severe shell !

cunning falcon
#

Niche problem - I've spent all night trying to get my twitch alerts showing in a browser on a Raspberry Pi. But the Pi just shows a blank screen when I fire the alerts (the same URL on my phone, another computer, etc shows the alerts) - does anybody know if there's any technologies that the alert page uses that may not be enabled by default on a Raspberry Pi? Thanks!

#

(the end result is for the alerts to show on a physical screen behind me on stream, run via a Raspberry Pi)

proud spade
cunning falcon
#

@proud spade I have not, I'll give it a go thanks

proud spade
#

Interesting that it's a whole OS

#

echo "@reboot sleep 10 ; $(which firefox) --kiosk URLHERE" >> /etc/crontab

#

I'm sure you could do the same with chrome/iridium/brave/etc.

cunning falcon
cunning falcon
proud spade
#

In case you don't know what that does, I would research it since typing random stuff from someone on the internet is dangerous; but basically:

echo :: repeat back to me whatever I type
@reboot :: when the computer reboots or turns on
sleep 10 :: wait 10 seconds
; :: and then
$(which firefox) :: open firefox
--kiosk URLHERE :: open firefox in kiosk mode with the included url, it might need to be in quotes
>> :: redirect the output
/etc/crontab :: the file that controls time based events in Linux/UNIX
cunning falcon
#

❀️

hoary matrix
#

does anyone have the video file from the Advanced Goal Widget - Goal Widget By: MrBoost

severe shell
broken coyote
#

My Amazing AE skills. Lol

hoary matrix
#

wel if i download it and watch the video its kinda acting weird

severe shell
# hoary matrix this happens

The file is correct and the download is correct as well. The issue is where the file is being used as some systems don't work well with .webm transparency

hoary matrix
#

i have the same problem when i import in after effects and when i import it back to streamelements

severe shell
hardy walrus
#

Does it behave without transparency in chrome with the downloaded copy?

#

Just the raw media file.

hoary matrix
hoary matrix
#

even when i download it raw

hardy walrus
#

Defo buggy AF as it gave an equally bizarre display using MPCHE blinking

#

I'd say wait for boost to answer about it.

#

Not sure why discord/media player are showing it incorrectly but not surpised why chrome isn't having issues tbh.

slate fossil
#

I have a command called !throw with the response Throws a can at ${1|${random.chatter}} twat! Would it be possible to add a variable that if someone targets the bot with the !throw command he responds with something else?

proud spade
slate fossil
#

Ahh okies no worries. I kinda thought it might be a bit much but figured I'd ask anyways. TY!

pseudo crane
#

hi, i am attempting to do a custom alert box with custom css and it changes my video to a random video of a shark and i cannot figure out how to get my video to actually show up. i fully delete the CSS that is already there and paste my custom css and i still get a shark, helpdesk twitch told me to try changing the gif but idk how since i am using a custom css completely

still ferry
hardy walrus
#

What exactly are you trying to do?

still ferry
#

so i have my Alerts set up. on OBS they work fine. Now i try to use them on my phone in Chrome Mobile browser. But they wont show up.

hardy walrus
#

Any particular reason why?

still ferry
#

i need it on mobile for SRT Streams

#

and Chrome is the only Browser i can play the Alerts with

severe shell
# pseudo crane hi, i am attempting to do a custom alert box with custom css and it changes my ...

If you are using Custom CSS option, the notification will be based on what you have configured on HTML, CSS, JS and FIELDS tabs. The shark gif is on HTML tab, so you need to modify it to whatever you want.

<div class="text-container">
    <div class="image-container">
        <!-- This is the dancing shark gif you would need to modify -->
        <img src="https://cdn.streamelements.com/static/alertbox/default.gif"> 
    </div>
    <div>
        <div class="awsome-text-container">
            <span id="username-container"></span>
            is now following!
            <br>
        </div>
    </div>
</div>```
hallow light
#

Heyy, can you help me fixing my !clip command? (
$(customapi.https://api.thefyrewire.com/twitch/clips/create/XXXXXXXXXX) )

Thanks for your time and I hope to hear from you soon, since I am enjoying using Streamelements 😊

severe shell
#

By the way, a better option is to use this command for !clip because you don't need to mess with token getting expired sometimes:
$(customapi.https://api.thefyrewire.com/twitch/clips/create/instantclipsbot/$(channel)?title=$(queryencode $(1:)|'0'))

#

The difference is that the clip will be taken by InstantClipsBot user instead of your own when you check your clips list.

hallow light
#

Thank youuu I'll try

broken coyote
hoary matrix
broken coyote
#

its not a editable file?

hoary matrix
broken coyote
#

but. it is. i just confirmed it

hoary matrix
broken coyote
#

if i drop it in obs. it looks just fine

hoary matrix
#

It looks like that for me

broken coyote
#

what are you opening it with

hoary matrix
broken coyote
#

that does not render transparent video

hoary matrix
#

The same

broken coyote
#

cant import a transparent webm into after effects

#

atleast as far as i know you cant

hoary matrix
#

True when I convert it to mp4 its still the same

broken coyote
#

but still, its not the source files. so changing the colors would be a pretty tall glass of water

#

because mp4's arent transparent

#

the only other workable codec would be mov with transparency

broken coyote
#

i made that thing years ago. i highly doubt id even still have the source files

hoary matrix
#

And see if that fixes the problem

broken coyote
#

no problem

shadow galleon
#

hey there! working on a custom widget that converts my follow count from arabic digit system to roman numerals. the function is fine, but im having problems adding a custom font to my custom widget. any advice?

uneven oxideBOT
#

@shadow galleon ‡️

Google Fonts
More than 900 google fonts are supported at this time. You can preview them here: https://fonts.google.com/

Custom Fonts

Steps:

  1. Install the font on the streaming PC or choose a pre-installed windows font.
  2. In the overlay widget settings, select Text Settings
  3. Click on Enable Custom Font
  4. Type the name of the font as it appears in the windows font directory (This is usually C:\Windows\Fonts)

Note: After installing fonts, the browser and OBS must be restarted for the font to appear.

shadow galleon
#

no

#

im in a custom widget, theres no option for custom fonts so i'm trying ti figure it out

hardy walrus
#

I'm not at home to poke at it so can't do much here.

shadow galleon
#

no worries at all.

#

i got the font working, but no matter what value i set for the css variable font-size: its still way too small

#

i feel really strange as a developer of almost ten years and having this problem

severe shell
shadow galleon
#

I totally ended up cheesing it, but I appreciate the follow-up. I added the CSS tag as part of the HTML element which is fine since I don't need it to be dynamic.

fierce glade
#

Hello! I have a question how can one make shareable link for overlays in Stream Elements? I'd like to create a alert pack that is already set up in SE as overlay and to be able to share it for others by just clicking on a link. So they can just click link and the whole set up is done.

Tried googling but so far couldn't find the answer.

severe shell
fierce glade
lament fern
#

Hi guys, i doing my Fields stuff on my Custom SE Widget and found it pretty easy! BUT. I don't know how to allow users to write custom messages with the variables {user} and {currentHP} to concatenate with normal strings inside the message field for Jebaited to send message.

hardy walrus
red harness
#

hey does someone know how to make stream overlay react e.g if i get follow border color witll change e.g to purple for 5 sec and than after 5 sec back to main border color

deep tide
#

Anybody familiar with creating alerts with custom CSS that has an answer for this? #dev-chat message

severe shell
# red harness hey does someone know how to make stream overlay react e.g if i get follow borde...

You would need a custom widget for that. You can create your border and use JS to read when a follow happens and then change the border colour adding a CSS class to it. Something like this:

<div id='border' class='border'></div>
.border {
  width: 300px;
  height: 300px;
  background-color: transparent; 
  border-width: 5px;
  border-style: solid;
  border-color: yellow;
}

.follower {
  border-color: purple;
}
window.addEventListener('onEventReceived', function(obj) {
  if(obj.detail.event.listener === 'follower-latest'){
    document.getElementById('border').classList.add('follower')
    setTimeout( () => {
      document.getElementById('border').classList.remove('follower')
    }, 5000)
  }  
})
severe shell
deep tide
severe shell
deep tide
red harness
severe shell
severe shell
deep tide
# severe shell Ahh okay, so if you have two alerts to be played at the same time, one will over...

Yup!

<div class="follower-text-container">
    <div class="video-container">
        <video class="video" autoplay muted src="https://cdn.streamelements.com/uploads/a9551581-3272-46cd-9f78-487d35e66725.webm" type="video/webm">
    </div>
    <div>
        <div class="follower-awsome-text-container">
            <span class="follower-name" id="username-container"></span>
            is now following!
            <br>
        </div>
    </div>
</div>
@import url('https://cdn.streamelements.com/scripts/animate.min.css');
@import url('https://fonts.googleapis.com/css?family=Nunito');
* {
    font-family: 'Nunito', sans-serif;
}

.follower-awsome-text-container {
    font-size: 42px;
     font-weight: bold;
    position: absolute;
    top: 200px;
    left: 220px;
    animation: scalein 7s infinite;
}

.video-container {
    margin: auto;
    display: table;
}

.video {
    position:absolute;
    top:0;
    left:0;
    width:100%; 
    height:100%; 
}

.follower-text-container {
    font-size: 16px;
    color: rgb(255, 255, 255);
    text-align: center;
    margin: auto;
    text-shadow: rgba(0, 0, 0, 0.8) 1px 1px 1px;
}

.follower-name {
    color: red;
    font-weight: bolder;
      animation: scalein 7s;
}

@keyframes scalein {
   0% {
     transform: scale(0.0);
    }
   32% {
      transform: scale(0.0);
    }
   37% {
        transform: scale(1.0);
    }
    95% {
      transform: scale(1.0);
    }
    100% {
      transform: scale(0.0);
    }
}
//get data from the 🀟 StreamElements 🀟 data injection
const name = '{{name}}';

// vanilla es6 query selection (can use libraries and frameworks too)
const userNameContainer = document.querySelector('#username-container');

// change the inner html to animate it πŸ€ͺ
userNameContainer.innerHTML = name
severe shell
deep tide
severe shell
deep tide
deep tide
severe shell
solemn temple
#

hi sorry not sure best place to ask this after looking through various channels. Is there a way to add stream elements into a discord server? google has not been kind in providing useful results.

fervent stratus
solemn temple
#

is there an unnoficial 🀣

#

but thanks for reply

hardy walrus
#

There is not.

lament fern
#

finally did it. Everything is set for everyone to use. Soon i will publish here for you guys, hope you like it πŸ™‚

signal crown
#

Any way to make a credit roll pull more than 25 actions?

ruby wind
#

Hello, I'm looking for an idiot's guide to implementing the API into a C#/Unity project. I want to be able to read a chatters points, and modify them as needed.

#

I'm just a beginner programmer too, so I need maximum verbosity.

proud spade
#

Check the topic, it should have almost everything you need.

ruby wind
#

OK.

ruby wind
leaden grotto
#

does anyone knows what this setting means?

leaden grotto
#

other question is it possible to set up a new command which changes the title?
I am talking about the Twitch Chatbot

primal cloak
#

hey, im not sure where to put my question. im sorry if im using the wrong channel. i have a running sponsorship campaign in my stream. the ending date is in 3 hours. i didnt meet the numbers of subscribers yet, but i had a lot coming in in the last hours. it sometimes takes more than 3 hours till the system processes the new subscribers. will i still reach the goal after the 3 hours are done? since they subscribed before time was up

uneven oxideBOT
#

@primal cloak ‡️

Please go to https://support.streamelements.com/, click the big blue question mark on the bottom left and select SE.Sponsorships Form. Fill that form to submit a Sponsorship related ticket and wait for our Support Team to get back to you. Please do not fill the form multiple times, as that will not speed up the response time.

pulsar willow
leaden grotto
broken coyote
leaden grotto
#

the amount of messages posted in a chat

#

or is it when you stream on more than 1 social media?

proud spade
leaden grotto
proud spade
#

!cmd add !omgtitle ${settitle "${1:}"} Would probably work

leaden grotto
proud spade
#

If you do it just like that, yes

#

But it's a very bad idea

leaden grotto
#

thank you for helping

lament fern
#

Guys, after i send my custom widget on that form, they will see if did nothing wrong and tell me?

silent tree
#

Hey guys! I wanna code my own chat overlay but I’m not sure about where to start? I know very basic html and css but can learn from tutorials and stuff… can anyone point me in the right direction? (The attached image isn’t mine, it’s just an example of what I want to learn) thanks in advance!

hardy walrus
#

1 sec

#

I know something earily similar

silent tree
#

Oh! I’m already using this actually 🀭 but I was hoping to code my own?

#

I’m working on new overlays at the moment and I was hoping to design and code my chat to match the rest of the designs

clever hawk
#

Not sure if anyone can answer this, but I have a credits roll that happens when I end stream, I can list followers, subs, tips, & cheers but I would like to list my mods as well. Is there any way to get a list of mods for an overlay so I can list them in my credits roll?

regal tinsel
#

How can I get access to an api key, I need to be able to pull donation amount from my stream

hardy walrus
#

For you singularly or multiple people?

regal tinsel
#

Just me

#

I can use twitch API for everything except donations

uneven oxideBOT
#

You can find your JWT token on your account channels page (Show Secrets to reveal the token): https://streamelements.com/dashboard/account/channels

READ ME: This is a private security token. Do NOT share this token here or other public places, only with a StreamElements staff member in private.

hardy walrus
#

short of applying for api access that would be the way to go.

#

Thought that does the same thing basically.

regal tinsel
#

I couldnt authenticate with the JWT token.

hardy walrus
#

Unfortunately that's a bit more than what I can help with so I'll have to leave you to someone else.

regal tinsel
#

Do you know which staff member I could possibly ping to help me get access sooner? I submitted the application for the api wednesday

hardy walrus
#

JWT would be the quickest unfortunately.

#

And that's even with poking the person that might look at it.

regal tinsel
#

hmmm wonder why I cant authenticate with the JWT

hardy walrus
#

Paste your authentication snippet here sans the JWT and I know someone can answer.

regal tinsel
#

Ok, thank you.

honest dawn
#

Hello! I was just wondering how it was possible to make custom widgets that communicate with YouTube (like the Nerd or die ones). If you someone has any ressources, I would be grateful as I am trying to make my own overlays!

leaden grotto
fallen patio
# silent tree Hey guys! I wanna code my own chat overlay but I’m not sure about where to start...

oh you and i are in the same boat this is a bit difficult but i think it depends on where you are in learning so what was suggested was to basically look at other widget codes in each elements(basically each chat that is available and see how they work to adjust for your own code what i do is look back and forth and see what stuff means what each little function does as well as looking above at the stream elements docu thing if that makes sense

fallen patio
# leaden grotto

i could be wrong but i think its the amount of messages sent /shown on screen per the next one ? however this is just a guess

fallen patio
#

hmmm then im not sure....

tranquil steeple
# leaden grotto

It's not really possible to tell without viewing the code. But could it be character length per message?

EDIT: I found the widget. It has a bug and that option doesn't work. But yes, you were right. It should delete all messages except the x-last.

If you want to fix it yourself you can replace what is on line 250 in the JS-tab to: JS removeRow(`#msg-${totalMessages - messagesLimit}`);

And line 253 to:

function removeRow(removeSelector) {```
turbid roost
#

this may be the wrong help desk but i find that to be the most suitable for my question.
Background: I've played around with the variables in commands and made a death counter which is automatically switching his counter in dependence of the played game (see picture).
Now I want to do the same in the Overlay Editor. And I just cant place a variable Name in there (i can live with that) but in games with Spaces in Titles, e.g. Elden Ring, I can't be manually insert their Names as a counter Name, because of the Space between the words.

so the Question: How does Streamelements handle Spaces in Game Names or in variables, so that i can Do the same for manually adopting the Overlay?
OR
Is there a way to edit the Counter Name in the Overlay Editor dependent of the played game automaticaly. Or in better words how can I set variables like ${game} in the Overlay as Name for a Counter?

broken coyote
#

this is the current method i personally use because i dont like how the stock form removed chats.

  document.querySelectorAll(".main-container .message-row").forEach((el, i) => {
    if (i >= {messagesLimit}) {
     gsap.timeline().to(el, {opacity: 0}).add(()=> {
    el.remove()
        })
    }});
tranquil steeple
#

I see. It isn't listed in the github repo, but I guess there are other ways to request changes?

broken coyote
#

I’m apart of a code guru group. I’ll re-request

rare spindle
#

Hey can someone update the ghost widget? It eats up 12% CPU when I use it on an AMD Ryzen 2700x

#

idk who wrote it but it was incredible that that much CPU was being used by a ghost

brazen cobalt
#

can you have streamelements chatbot pick an item from array ?

proud spade
brazen cobalt
#

why random?

#

if i have a number between 1000 and 2000 i want it to always return "Asd" , or "Dsa" if its >2000

#

is that possible

proud spade
#

There is no flow control with the bot, so you can't do if/elseif/else

brazen cobalt
#

so customapi ?

proud spade
#

That would be the only way I know of

brazen cobalt
#

can i use javascript in customapi with pastebin?

hardy walrus
#

Anything would need to be parsed calculated on the server side since the bot ain't that smart.

brazen cobalt
#

yes, does apithefyrewire do that or not

#

does it parse pastebin as js and eval

smoky olive
#

@unique iris You have any clue how to do it?

#

Or anyone

brazen cobalt
#

use a white background

#

and apply opacity

smoky olive
#

Plugin doesn't even work in OBS

smoky olive
#

If so that won't get me a blurred background

smoky olive
#

This is what I have so far

#

I just want the chat window to have a blurred background

brazen cobalt
#

add filter: blur(8px);

smoky olive
#

I want to have the background part behind chat blurred instead of chat itself

smoky olive
#

And I don't know what's wrong with it but when I put backdrop-filter: blur(10px); but it just makes it black

brazen cobalt
#
  • the filter blur
smoky olive
#

What do you mean?

brazen cobalt
#

background-color: white

#

backdrop-filter: blur(10px);

#

these two

#

if that isnt it try

#

background-color: rgba(255, 255, 255, 0.3);

#

isntead of white

#

.3 is opacity

smoky olive
#

It's not making it white

#

I took away the tint I had so it's just the frame now

#

@brazen cobalt

proud spade
#

Which widget is it?

smoky olive
#

But yeah I can't get it to turn white