Skip to content
Ashmanix edited this page Sep 11, 2023 · 10 revisions

Welcome To The Wiki!

Full Screenshot

Installation

To install the plugin, run the installer for your operating system. These are available here. This should install the plugin into the correct folder.

Usage Guide

To use the plugin:

General Settings

  1. Add an OBS Text Source to your scene.
  2. Select the Docks menu and click on Countdown Timer. (This should display the countdown dockable widget on screen)
  3. Either keep the plugin as a floating window or dock it on the OBS screen by dragging to a relevant area.
  4. On the plugin select the text source, you created in step 1, from the Source dropdown menu.
  5. You have two ways to set the timer:
    1. Option 1 - Set the counter by manually setting the number of hours, minutes and seconds.
    2. Option 2 - Set a time for the timer to countdown to.

Countdown Option 1 - Set Hours/Minutes/Seconds

  1. Click on the period tab to manually set the counter time.
  2. Set the hours, minutes and seconds in the edit fields.
  3. Click the set/reset button (left button) to set the time to the timer and text field.
  4. Click the play button (right button) to start the timer.
  5. Clicking the pause button will pause the timer. To continue press the play button again.
  6. After pausing, clicking the set/reset button will reset the timer to the time in the input fields.

Countdown Option 2 - Set Time to Countdown to

  1. Click on the time tab to set the time.
  2. In the time edit field set what time (up to midnight) you want to count down to.
  3. Click the play button (right button) to start the timer.
  4. Clicking the stop button will pause the timer. To continue press the play button again. This will update the timer and carry on counting down.

Options

Time Display Options

You can choose what to display on the Text Source (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.

End Message

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.

Switch Scene

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.

OBS Hotkeys

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

Websocket Hooks

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