This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
coding_projects:obs_plugin_countdown_timer:v2.x [2025/07/20 00:06] – admin | coding_projects:obs_plugin_countdown_timer:v2.x [2025/08/10 08:41] (current) – [Installation] admin | ||
---|---|---|---|
Line 6: | Line 6: | ||
===== Installation ===== | ===== Installation ===== | ||
- | To install the plugin, | + | To install the plugin, |
===== Usage Guide ===== | ===== Usage Guide ===== | ||
Line 24: | Line 24: | ||
To set up a timer, follow these steps: | To set up a timer, follow these steps: | ||
- | - Add an '' | + | - Add an '' |
- | - Open the '' | + | - Open the '' |
- Either leave the plugin as a floating window or dock it on the OBS screen by dragging it to a suitable area. | - Either leave the plugin as a floating window or dock it on the OBS screen by dragging it to a suitable area. | ||
- Set up the timer using one of the two options: | - Set up the timer using one of the two options: | ||
- Option 1 – Set Days/ | - Option 1 – Set Days/ | ||
- Option 2 – Set a Countdown Datetime | - Option 2 – Set a Countdown Datetime | ||
- | - You can rearrange timers using the '' | + | - You can rearrange timers using the '' |
- Hovering over a timer display shows a tooltip summarising its settings. | - Hovering over a timer display shows a tooltip summarising its settings. | ||
- | - To delete a timer, click the '' | + | - To delete a timer, click the '' |
=== Countdown Option 1 – Set Days/ | === Countdown Option 1 – Set Days/ | ||
- | - Click on the '' | + | - Click on the '' |
- Enter the desired days, hours, minutes, and seconds in the edit fields. | - Enter the desired days, hours, minutes, and seconds in the edit fields. | ||
- | - Click the '' | + | - Click the '' |
- | - Click the '' | + | - Click the '' |
- | - Clicking the '' | + | - Clicking the '' |
- | - After pausing, clicking '' | + | - After pausing, clicking '' |
=== Countdown Option 2 – Set Time to Countdown To === | === Countdown Option 2 – Set Time to Countdown To === | ||
- | - Click on the '' | + | - Click on the '' |
- Enter the desired date and time in the time edit field. | - Enter the desired date and time in the time edit field. | ||
- | - Click the '' | + | - Click the '' |
- | - Clicking the '' | + | - Clicking the '' |
===== Settings Dialog Options ===== | ===== Settings Dialog Options ===== | ||
- | Click the '' | + | Click the '' |
==== General ==== | ==== General ==== | ||
Line 63: | Line 63: | ||
=== Source === | === Source === | ||
- | Select the text source for the timer from the '' | + | Select the text source for the timer from the '' |
+ | |||
+ | ==== Timer Start Settings ==== | ||
+ | |||
+ | Enable the '' | ||
+ | |||
+ | Enable the '' | ||
==== Timer End Settings ==== | ==== Timer End Settings ==== | ||
Line 69: | Line 75: | ||
=== End Message === | === End Message === | ||
- | Enable the '' | + | Enable the '' |
=== Scene === | === Scene === | ||
- | Enable the '' | + | Enable the '' |
==== Display Format ==== | ==== Display Format ==== | ||
- | Choose which time units to display (days, hours, minutes, seconds) on the Text Source by checking the appropriate boxes. For example, selecting minutes and seconds only will display the time as '' | + | Choose which time units to display (days, hours, minutes, seconds) on the Text Source by checking the appropriate boxes. For example, selecting minutes and seconds only will display the time as '' |
==== Timer Type ==== | ==== Timer Type ==== | ||
Line 83: | Line 89: | ||
Tick the **Count Up** checkbox to have the timer count up toward the set time. | Tick the **Count Up** checkbox to have the timer count up toward the set time. | ||
- | * For the **period** option: Clicking the '' | + | * For the **period** option: Clicking the '' |
- | * For the **datetime** option: Clicking '' | + | * For the **datetime** option: Clicking '' |
+ | |||
+ | The '' | ||
+ | |||
+ | ==== Text Colour ==== | ||
+ | |||
+ | Tick the '' | ||
+ | |||
+ | - Click on the colour box next to '' | ||
+ | - Click the '' | ||
+ | |||
+ | === Colour Rule === | ||
+ | |||
+ | - For each rule you can set a time range that the colour rule will be applied between '' | ||
+ | - When editing the '' | ||
- | The %%**%%Steady Second Increment (Period Timer)%%**%% option changes the period timer’s behaviour from timestamp-based countdown to incrementing by 1 second per loop. This provides smoother counting at the cost of some accuracy. | ||
===== OBS Hotkeys ===== | ===== OBS Hotkeys ===== | ||
Line 92: | Line 111: | ||
The following are the global hotkeys for the plugin: | The following are the global hotkeys for the plugin: | ||
- | * **Add New Timer** – Activates the '' | + | * **Add New Timer** – Activates the '' |
- | * **Start All Timers** – Activates the '' | + | * **Start All Timers** – Activates the '' |
- | * **Stop All Timers** – Activates the '' | + | * **Stop All Timers** – Activates the '' |
Each individual timer has these hotkeys: | Each individual timer has these hotkeys: | ||
- | * **Start Countdown Timer** – '' | + | * **Start Countdown Timer** – '' |
- | * **Pause Countdown Timer** – '' | + | * **Pause Countdown Timer** – '' |
- | * **Set Countdown Timer** – '' | + | * **Set Countdown Timer** – '' |
- | * **Start Countdown To Time** – '' | + | * **Start Countdown To Time** – '' |
- | * **Stop Countdown To Time** – '' | + | * **Stop Countdown To Time** – '' |
- | * **Add New Timer** – '' | + | * **Add New Timer** – '' |
===== Websocket Hooks ===== | ===== Websocket Hooks ===== | ||
Line 109: | Line 128: | ||
Connect to OBS via the websocket using the instructions provided [[https:// | Connect to OBS via the websocket using the instructions provided [[https:// | ||
- | **Note: The '' | + | **Note: The '' |
==== Send Messages ==== | ==== Send Messages ==== | ||
- | The vendor name for the plugin is: '' | + | The vendor name for the plugin is: '' |
<code json> | <code json> | ||
Line 146: | Line 165: | ||
with one of the following request type strings: | with one of the following request type strings: | ||
- | * **Start Period Countdown Timer** – '' | + | * **Start Period Countdown Timer** – '' |
- | * **Pause Period Countdown Timer** – '' | + | * **Pause Period Countdown Timer** – '' |
- | * **Reset Period Countdown Timer** – '' | + | * **Reset Period Countdown Timer** – '' |
- | * **Start Countdown To Time** – '' | + | * **Start Countdown To Time** – '' |
- | * **Stop Countdown To Time** – '' | + | * **Stop Countdown To Time** – '' |
=== Add Timer Time === | === Add Timer Time === | ||
Line 176: | Line 195: | ||
=== Set Timer Time === | === Set Timer Time === | ||
- | Request Type: '' | + | Request Type: '' |
Set Timer Time Example: | Set Timer Time Example: | ||
Line 204: | Line 223: | ||
- | Request Type: '' | + | Request Type: '' |
Start All Timers Example: | Start All Timers Example: | ||
Line 224: | Line 243: | ||
=== Stop All Timers === | === Stop All Timers === | ||
- | Request Type: '' | + | Request Type: '' |
Stop All Timers Example: | Stop All Timers Example: |