-
Notifications
You must be signed in to change notification settings - Fork 17
Home
To install the plugin, run the installer for your operating system. These are available here. This should install the plugin into the correct folder.
To use the plugin:
- Add an
OBS Text Source
to your scene. - Select the
Docks
menu and click onCountdown Timer
. (This should display the countdown dockable widget on screen) - Either keep the plugin as a floating window or dock it on the OBS screen by dragging to a relevant area.
- On the plugin select the text source, you created in step 1, from the
Source
dropdown menu. - You have two ways to set the timer:
- Click on the
period
tab to manually set the counter datetime. - Set the days, hours, minutes and seconds in the edit fields.
- Click the
set/reset
button (left button) to set the time to the timer and text field. - Click the
play
button (right button) to start the timer. - Clicking the
pause
button will pause the timer. To continue press theplay
button again. - After pausing, clicking the
set/reset
button will reset the timer to the datetime in the input fields.
- Click on the
datetime
tab to set the time. - In the time edit field set what date and time you want to count down to.
- Click the
play
button (right button) to start the timer. - Clicking the
stop
button will pause the timer. To continue press theplay
button again. This will update the timer and carry on counting down.
You can choose what to display on the Text Source (days, hours, minutes and or seconds). Click on the checkbox next to the unit of time you wish to display. As an example: selecting minutes and seconds only will show the time in the mm:ss
format.
You can select whether to show leading zeros or not by ticking/unticking the leading zero
tick box.
The End Message
feature will play a measure when the timer hits zero. Click the tickbox next to Message
field to enable it. Enter the message in the text field that you want displayed when the timer runs out.
The Scene
feature allows you to switch to a scene when the timer runs out. Click the checkbox next to the Scene
dropdown to enable it. Select the source you wish to switch automatically to once the timer runs out.
You can set the following hotkeys:
- Start Countdown Timer -
period
start button - Pause Countdown Timer -
period
pause button - Set Countdown Timer -
period
set button - Start Countdown To Time -
time
start button - Stop Countdown To Time -
time
stop button
Connect to the OBS websocket connection using the instructions for Websocket here: OBS Websocket.
- The vendor name for the plugin is:
ashmanix-countdown-timer
- To activate a function you need to send a message with the following JSON data:
{
"op": 6,
"d": {
"requestType": "CallVendorRequest",
"requestId": "{{customId}}",
"requestData": {
"vendorName": "ashmanix-countdown-timer",
"requestType": "{{requestType}}"
}
}
}
The requestType
value will determine what function will be activated. To send a message use the above template message JSON and replace {{custom ID}}
with a custom ID string and {{requestType}}
with one of the request type strings listed below:
- Start Countdown Timer - activates
period
start button - requestType:period_play
- Pause Countdown Timer - activates
period
pause button - requestType:period_pause
- Set Countdown Timer - activates
period
set button - requestType:period_set
- Start Countdown To Time - activates
time
start button - requestType:to_time_play
- Stop Countdown To Time - activates
time
stop button - requestType:to_time_stop