-
-
Notifications
You must be signed in to change notification settings - Fork 49
OBS Alerts
-
Open Trovobot folder and go to Services > OBS.
-
Open obs.json (right click, edit) & change
"active" : true
. -
Make sure you have installed the websocket plugin for OBS.
INFO: https://obsproject.com/forum/resources/obs-websocket-remote-control-obs-studio-from-websockets.466/ Download: https://github.com/Palakis/obs-websocket/releases/download/4.8.0/obs-websocket-4.8.0-Windows-Installer.exe -
When you start up the bot, you should see a windows notification to say Webcocket connection to OBS (Provided windows notifications aren't muted)
The best and easiest way to use Alert folders with Trovobot & OBS is to use nested scenes.
To use nested scenes you will need to install the StreamFX plugin.
INFO: https://obsproject.com/forum/resources/streamfx-for-obs-studio.578
Download: https://github.com/Xaymar/obs-StreamFX/releases/download/0.8.3/streamfx-windows2019-0.8.3.0-ee225959.exe
- Install StreamFX plugin for OBS.
- Startup OBS
- Make a scene called
-ALERTS-
- Make 4 Group sources inside the created scene & call them
FOLLOW
,SUB
,SPELL
,JOINED
- Inside each group, place sounds, gifs, webm's, text, etc.
- Turn off the visibility of the folder (make it invisible) by clicking the eye icon next to it.
- Make a TextGDI Source.
- Name it
follow-user
for example. - In properties tick
read from file
- Go to Bot folder > labels > select appropriate file.
- Customise colours, fonts, etc in properties.
- Go to
plugins
>alert-follow
>alert-follow.json
- Change the
"delay": 10
to how many seconds you want (Recommend 1 second longer than sound).
This is where we will use StreamFX
- Go to the scene you wish to add you alerts to.
ex:
game
,intermission
,chat
, etc. - Click to add a souce and select
Source Mirror
, give it a name like "Trovo Alerts". - Select the
----------------ALERTS--------------- (scene)
option.
To replicate this in to multiple scenes (after first) click new source
> source mirror
> add existing
& select "Trovo Alerts"
- Go to
plugins folder
>alerts-follow
& openalerts-follow.js
(right click, edit) - Go down to the line that says
Chat: false,
Event: true,
and switch them around.
Chat: true,
Event: false,
- Start the bot, wait for it to join chat and type
!follow
, this should trigger the folder to become visible, wait 10 seconds, turn invisible - Make sure to set
Chat: false,
Event: true,
back to normal & restart the bot after testing.
Inside each plugin > alert-x folder you'll see a json alert-X.json (x = alert type. Follow, sub, etc).
Change the "scene" : "----------------ALERTS---------------" to the scene name you want. (make sure you only change what's between the double quotes "")
NOTE: MAKE SURE YOU MAKE THIS CHANGE TO ALL THE ALERT PLUGINS
Inside each plugin > alert-x folder you'll see a json alert-X.json (x = alert type. Follow, sub, etc).
Change the "source" : "FOLLOW" to the source name you want. (make sure you only change what's between the double quotes "")