The admin panel
This page is for the site's admin, after setup. After it, you can open the Admin Panel, find any setting, read a settings row, and know when a change takes effect. Everything the setup pages wrote can be changed here later, except a handful of values that live on your server (see Settings that live on the server).
Who can open it
Only admins: the account you made on the first setup page, and anyone an admin has made one. The first setup page marks that account as the site's admin and also records it as the Streamer account.
Any admin makes or removes another in Admin Panel → Site → Moderators, card Admins; the site always keeps at least one. A second admin is also how you get back in if one admin account is lost. If nobody can sign in as an admin any more, sudo blackbranch user admin <name> on on the server makes one (see The server command). Site admin is a role on your site only. It is not the streamer account shown on stream, the owner of the community rooms, an administrator of the homeserver, root on the server, or a way to read anyone's direct messages.
Moderators get the Mod Panel, not this one. You make and remove moderators in Admin Panel → Site → Moderators, from a person's user card (Make moderator), or with /mod <name> and /unmod <name> in chat (see Roles and permissions).
Being the admin is checked on the server every time, not only by hiding a button. Anyone else who opens the panel's address is sent to the home page before anything is drawn, and every request the panel makes checks again. Changes must come from your own site's pages (a request from another website is refused), and each saved value records which admin saved it and when.
Opening it
There are three ways in:
- Your profile card. Click or tap your picture in the chat typing bar, then Admin panel. The row only shows for the admin.
- The Mod Panel. Its title bar has an Admin panel button for the admin.
- The address. Go to
https://example.com/admin. It opens on Site → Site, the site's own settings. Every place has its own address, for example/admin/utility?sub=obs, so you can bookmark one.
From the profile card or the Mod Panel, the panel opens as a window over the site that you can move, resize and dock. Its pop-out button opens the same place as a full page in its own tab. At /admin it is always a full page, and the address bar follows the place you are on, so the browser's back and forward buttons work.
🖼 Image: the Admin Panel window, with the search box at the top, the rail of places on the left and Site → Site open on the right.
How it is laid out
Down the side is a rail of places, grouped under six headings:
| Group | Places | Page |
|---|---|---|
| AI | Models, Chat Bot, Scoring, Automod, Help Desk, Embeddings | AI |
| Utility | OBS (with Timer, Support bar and Effects under it), TTS | Utility |
| Payments | Payment history, Connections | Payments |
| Platforms | Player, YouTube, Twitch, Kick, Streamplace, Discord, Emotes | Platforms |
| Site | Site, Community (with Discord under it), Points, Leaderboard, Badges, Support tickets, Moderators | Site |
| Install | Doctor, Updates | below |
There is no separate place for the module switches or for the overlays. Each module's switch sits at the top of its own feature's place (see Turning features on and off), and each overlay's address sits beside the settings it draws (see Admin Panel: Utility).
On a narrow screen the rail folds into a picker at the top that names the place you are on.
Search
The Search settings box at the top matches place names, card titles, and every setting's name and description. Typing "quiet hour", "webhook" or "overlay" finds the right place even if you do not know where it lives. While you search, the rail shows only the matching places. Places in the Mod Panel that match are listed too, under In the mod panel, and open the Mod Panel there.
A settings row
Most places are cards of rows, one row per setting. Each row shows:
- The name, then the control, filled in with the value in use now (a credential and a list's add box start empty). A switch saves the moment you flip it. A text field or a number saves when you press Save (or Enter). A choice of fixed values, and the time zone, is a drop-down. A list shows its items, each with a × to remove it (None yet. when empty), and an Add box; saving sends the whole list. A list of things to switch off (the player's sources, the leaderboard's boards) shows one switch per thing instead, where on means offered, and the last one on cannot be switched off.
- A one-line hint under the name: the first sentence of the setting's description.
- Clear saved, once you have saved a value. It removes your value, so the setting goes back to its default (or to the server's value, if the server sets one).
- Check, on a value that has a check. It makes one harmless, read-only call to the provider with the value each service holds, and reports per service, for example website ✓ accepted (test). It never makes, changes or charges anything.
- For a setting that waits for a restart, a line saying when it applies in each service. A module switch shows the state the service that runs it reports, and still on or still off, waiting for a restart, until that service restarts.
Credentials are write-only. Once saved, a credential shows only … and its last four characters, and its field is never filled back in. To change one, paste the new value over it. Saved credentials are stored encrypted, with a key only the chat service holds.
Details, folded closed, holds the rest: the full description, the setting's internal name (for example currency.purchasable), when it applies in each service, where each service gets its value, when a credential was last checked, and who saved the value and when. The panel remembers which Details you left open.
The site runs as three services, and Details names them the way the panel does everywhere:
| The panel says | What it is |
|---|---|
| website | The site itself: pages, sign-in, payments |
| chat service | The live backend: chat, alerts, OBS, the settings store |
| ingest service | Reads chat from Twitch, YouTube, Kick and Streamplace, and runs the chat bot |
For each service that reads the setting, Details shows where it gets its value:
| Shown as | Meaning |
|---|---|
| set on the server | The server's environment gives this value (the variable's name is shown). It always wins over a saved one |
| saved here | You saved it in the panel |
| default | Neither is set, so the product's default applies |
| not set | No value anywhere. The part that needs it stays off |
| not reporting | That service did not answer, so the panel cannot show what it holds |
A row can also carry a warning: the services do not hold the same value (usually one of them has not picked up a change yet), the saved value cannot be read, or the server sets the value for a service, so your saved value takes effect there only once the server's is removed.
Locked rows
A row with a lock (🔒) and no control is a value you do not edit in the panel. The row shows the current value. There are three kinds:
- A value that lives on the server. Details names the exact variable to change and how. The names, icons, legal details and points words are like this. Settings that live on the server explains why and how to change them.
- An install value. The site's addresses and the homeserver with its sign-in client sit in one card, Install values, at the bottom of Site → Site, closed until you open it (see Admin Panel: Site). The two community rooms the server made are in their own card on Site → Community, Community rooms (see Admin Panel: Site).
- A platform id the site finds itself. Your Twitch broadcaster id, Kick user id and Streamplace account are looked up from the channel you saved. The row says "Found from the channel when it is saved." and has a Find again button (see Admin Panel: Platforms).
When a change takes effect
Every setting has a rule for when a change applies. Details says "applies on restart" when it is not at once, and each settings table in these pages has an Applies column.
| Applies | What happens |
|---|---|
| At once | The website re-reads its settings the moment you save. The chat service tells the other two services that settings changed, over the link they keep open to it, and each re-reads. If that message is missed, a regular re-read (every minute for the website, every five minutes for the ingest service) catches up |
| At a restart | The service reads the value once when it starts. After you save one, the card shows a Pending restart box ("saved settings are not in effect everywhere yet", naming the service that still runs the old value) with a button: Restart the chat service or Restart the ingest service. If the site cannot restart services itself, the box gives the server command instead (sudo blackbranch restart stream-api or stream-ingest) |
| On the server only | A locked row. Change it on the server; the website restarts with the new value |
Settings the website reads apply at once. Settings the chat service or the ingest service read once at start wait for that service's restart, because changing something a service holds open (a connection, a module's addresses) in the middle of a stream is where things go wrong. The module switches are the main example: see Turning features on and off. A few things the ingest service holds follow the settings without a restart, such as the platform channels.
The restart buttons are for an install made with the Black Branch installer, because the site asks the server to restart a service through a fixed list of actions the server accepts. On another kind of install the box tells you to restart the service yourself. On such an install, rows the installer would manage (federation, sign-up) are marked 🔒 Managed outside Black Branch and say where to change them.
How settings are stored and resolved behind the panel is on Settings and modules.
Setup guides
On a place whose settings belong to something the setup pages set up (Stripe, PayPal, Ko-fi, Patreon, Streamlabs, YouTube, Twitch, Kick, Streamplace), a How to set up … card sits above the settings. It holds the same steps, in the same words, with the same values to paste for your own site, as the setup pages. If the module is off, the card says Switched off, and the module's switch is on the same place. A step you skipped during setup stays on this list, and the Doctor reminds you of it.
Doctor and Updates
These two places look after the install rather than the site:
- Doctor shows every health check, grouped by area, each with a green, amber, red or grey mark and a one-line fix for anything amber or red. Its header has three lines: Failing (something needs fixing; start with these), To look at (works, but worth a look) and OK, with the number of checks that were not run in brackets. Press a Failing or To look at count to jump to the first of those rows. Check again asks the server for fresh facts. It is the same list
sudo blackbranch doctorprints, and it only ever reads. - Updates shows the release you run and its channel, when the signed list of releases was last read, a newer release with its release notes and its Apply button (it asks first, and waits while the stream is live), an update while it runs, and how the last one ended.
Both are explained in Running it: every Doctor row is on Health and the Doctor.
Common problems
| What you see | Why | What to do |
|---|---|---|
You are sent to the home page from /admin |
You are not signed in as the admin account | Sign in with the account you made on the first setup page. |
| A switch is greyed out | The service that acts on it is not reporting, so the panel cannot show its real state | Open Details under the row, which names the service; open the Doctor. |
| "Set on the server for the …" under a row | The server's environment sets that value, and it wins | Remove the variable on the server, or change it there. |
| A value you saved has no effect | It applies at a restart, or the service has not picked it up yet | Read Details; look for Pending restart on the card; restart the service. |
| Saving a locked value is refused | The value lives on the server | See Settings that live on the server. |
Next: Admin Panel: AI