Black Branch/Docs
All sections

Turning features on and off

This page is for an owner choosing which optional parts of the site run. After it, you will know the four modules, where each one's switch is, what each needs before it works, what "off" means, and when a switch takes effect.

A module is a part of your site with its own on/off switch. Modules exist so a part you do not use costs you nothing: it does not run, does not connect anywhere, and does not show a setup page or a button for something that cannot work.

The modules

A new install has four, and all four are off:

Module What it turns on What it needs before it works
OBS control The rig page: one browser source in OBS that plays the voice and the site's sounds into your stream, draws the bot's avatar, switches scenes when asked, and pauses the timer on a scene. It connects out from OBS, so it works from any network OBS on your streaming computer, with the rig page added as a browser source. See OBS
YouTube Reading the chat of your YouTube live streams into site chat, with live detection, and the YouTube setup page Your channel id. An API key is optional. See YouTube
Card payments (Stripe) Card payments with your own Stripe account: subscriptions, gift subs, tips and points A Stripe account, a restricted key, the publishable key, a webhook, and a price for subscriptions. See Card payments (Stripe)
PayPal and Venmo Tips and points through your own PayPal Business account, with Venmo where PayPal offers it, and the Supporter subscription once a billing plan is set. Gifts are card payments A PayPal Business account, an app's client id and secret, a webhook, and a plan for subscriptions. See PayPal and Venmo

Twitch, Kick, Streamplace, Ko-fi, Patreon and Streamlabs are not modules. A platform is read whenever its channel is set, so there is nothing to switch: leave its channel empty and it does nothing. The setup pages still let you tick them on the Modules page, under Where you stream, and other services, so their setup pages appear.

Switching a module on does not set it up; it only lets it run. Each module also needs the settings on its own place in the Admin Panel, and does nothing until they are there.

Where each switch is

There is no Modules place in the Admin Panel. Each switch heads the place of the feature it switches, so you turn a feature on where you set it up:

Module Where the switch is When a change applies
OBS control Utility → OBS, the OBS card at the top When the chat service restarts
YouTube Platforms → YouTube, the first row of the YouTube card Reading follows at once; the panel and the public pages at the next ingest service restart (see When each switch takes effect)
Card payments (Stripe) Payments → Connections, the first row of the Stripe card At once
PayPal and Venmo Payments → Connections, the first row of the PayPal card At once

What "off" means

A module that is off:

🔴 Switching off Stripe or PayPal ends their subscribers' Supporter perks at once, while the payment service keeps charging them. Before you switch one off for good, cancel those subscriptions at Stripe or PayPal, or switch the module back on.

Switching a module on or off

During setup, on the Modules page of the setup pages. Each module you switch on there gets its own setup page next. OBS control is not on the setup pages: you switch it on in the Admin Panel once setup is finished.

Later:

  1. Open the module's place in the Admin Panel (the table in Where each switch is).
  2. Flip the switch. It saves at once.
  3. If the card shows Pending restart, press the restart button it offers (for OBS control, Restart the chat service). On an install not made with the Black Branch installer, restart that service on the server instead.
  4. Fill in the module's settings on the same place. Its How to set up … card, if it has one, lists the steps.

🖼 Image: Utility → OBS with the OBS control switch on and the amber "Pending restart" note with its Restart button.

When each switch takes effect

Module When it takes effect
Card payments (Stripe) At once. Only the website reads it
PayPal and Venmo At once. Only the website reads it
OBS control When the chat service restarts. The chat service starts its modules once, when it starts, so a module is either fully running or fully off, never half-started mid-stream
YouTube Reading follows the switch without a restart (below). The switch's row and the site's public pages follow it at the next restart of the ingest service

The website shows a module the way the service that runs it reports it, so it never offers a part whose addresses answer "not found". Under the switch, Details lists each service, and says still on or still off, waiting for a restart, for one that has not caught up. How this works behind the panel: Settings and modules.

YouTube in detail: the ingest service, which reads platform chat, follows the YouTube switch and channel by itself. Switched on with a channel id saved, it starts reading within a few seconds, and the card then shows the switch as applied. Switched off, it stops reading at once, but the row says "still on", waiting for a restart, and the public pages go on naming YouTube until the ingest service restarts. Press Restart the ingest service if you want them to catch up straight away.

Setting a switch on the server

Every switch can also be set by a variable in a service's environment, MODULE_<ID> (for example MODULE_OBS=1), and a variable on the server always wins over the panel. The panel then shows "set on the server" under the switch. On an install made with the Black Branch installer this is not used: the installer gives each service only the variables it lists, so a MODULE_… line added to .env reaches no service. Use the panel.

Common problems

What you see Why What to do
The switch is on but nothing happens The service that runs it has not restarted, or the module's own settings are empty Look for Pending restart; fill in the settings on the same place; open the Doctor, whose row Each switched-on module's Test passes checks each one.
Pending restart stays after pressing Restart The service is still starting, or the restart failed Wait a minute and reload; run sudo blackbranch status on the server.
A setup card says Switched off Its module is off Switch it on on the same place first.
Stripe or PayPal shows events failed while the module was off The webhook address answered "not found" Switch the module on within about three days and the payment service delivers them again.

Next: Site name, theme and looks

← Customizing