Raid lockdown
This page is for mods during a raid. After reading it you can lock everything with one press, pull single levers, and set when the lockdown lifts by itself.
A raid is many accounts arriving at once to flood chat, usually accounts made minutes earlier for the purpose. Lockdown, in the mod panel, is the switch for that moment. It closes the ways a raid grows and holds back the accounts it uses, without locking out your community.
Existing members are never locked out. Lockdown never stops someone who already has an account from signing in, watching or reading. Depending on the levers you pull, it stops new site accounts, posts to other platforms, messages from brand-new platform accounts, non-subscribers sending on the site, or one platform's chat coming in.
🖼 Image: the Lockdown place with "LOCKED DOWN" in amber at the top, the expiry picker and the five levers below
Lock everything
- Open the mod panel and choose Lockdown.
- Press Lock everything, then press the confirm button next to it.
That closes new site signups and cross-posting, and holds messages from platform accounts younger than 7 days, all at once. It is one button because a switch you have to work three times under pressure is three chances to get it half right. The status at the top turns to LOCKED DOWN. If you pull only some levers it reads Partially locked, and when nothing is on it reads Open.
Sub-only chat and pausing a platform are not part of Lock everything. Pull those levers yourself.
After a lever is pulled, a Why? box appears so you can note the reason ("raid from …") once things are calm. Act first, explain after.
Lift lockdown turns every lever off again.
The levers
| Lever | What it does when on | What it does not touch |
|---|---|---|
| New signups | Refuses to create new site accounts. Someone signing in to the site for the first time is sent back to the sign-in page, which says "New accounts are paused on this site right now." On a bundled install it also closes sign-up on the homeserver while it is on (see below) | Everyone who already has an account signs in as usual |
| Cross-posting | Stops messages typed on the site from being sent on to Twitch, Kick and Streamplace (cross-posting) | Messages still post in site chat |
| Minimum account age | Holds messages from platform accounts younger than 7 days for a mod to review (see below) | Site accounts. The signups lever covers those |
| Sub only | Only subscribers (Supporters), mods and the admin can send in site chat | Platform chat. Use each platform's own sub-only mode for that |
| Ingest (one button per platform, and All) | That platform's chat stops coming in at all: not shown, not stored | Site chat is never paused. The platform's own chat carries on there |
Each lever can be switched on its own with its Open / Blocked button, for the considered case rather than the panic one.
New signups and the homeserver
A site account is made in two steps. First the homeserver's sign-in service creates the Matrix account. Then, on the way back to the site, the site creates its own account row for it. The lever refuses that second step. With homeserver sign-up left open, a raider could still make a Matrix account and, from another Matrix app such as Element, join the rooms open to everyone on your server and send direct messages.
On a bundled install (the homeserver came with your install), the lever closes both steps:
- Turning it on also sets Let people make accounts to No, in Admin Panel → Site → Community, card Federation and sign-up. The lever's line reads "Homeserver sign-up: closed by this lockdown", and says it opens again when the lockdown lifts. If sign-up was already closed, the line says so.
- When the lever lifts, by a mod, by its expiry or when the stream ends, the earlier value is put back.
- If the admin changes the sign-up setting while the lockdown is on, the lockdown leaves the admin's choice alone and puts nothing back.
- The site checks this after every lockdown change and every 60 seconds, so a lever that lifts by itself reopens sign-up within a minute.
- While sign-up is closed, the sign-in page says that new accounts are not open right now and that existing accounts can sign in.
If a change has not reached the homeserver yet, the lever's line says "Not applied to the homeserver yet" and the site retries.
When the homeserver is not part of your install, the lever says so, and you close sign-up yourself in your homeserver's sign-in service during a raid. With MAS, that means turning off password registration. A Matrix account made there cannot sign in to your site, post in site chat or cross-post from it. It can still join the community's rooms, and the site's word filter does not cover community rooms (see Bans and timeouts). How sign-up works on a bundled homeserver is on The homeserver.
Why cross-posting is a lever
Your site is a megaphone. A raider with a site account could otherwise post through it into every platform they linked, under their own name. On a standard install those are Twitch, Kick and Streamplace. YouTube is not offered for linking, so it is never a cross-posting target.
Sub only uses the site's own Supporter subscription. On an install where subscriptions are not set up, nobody is a subscriber, so sub only means mods and the admin only.
Holding new platform accounts
Raid accounts are made for the raid, so account age is the signal that tells a raid from an audience. With Minimum account age on, the site asks the platform when each chatter's account was made, the first time they write. It holds the message if the account is younger than the limit. Held messages wait in the review queue (in chat and in the mod panel) with Allow and Deny. Nothing is deleted, and Allow shows the message in site chat.
The age check runs only while the lever is on, so ordinary streams pay nothing for it. Answers are remembered for 30 days (an unknown answer for an hour), so a raid costs one lookup per account.
The lever holds only the platforms where the site can read an account's age. For every other platform it holds nothing, and the lever says so by name, for example "Age unknown on Kick" and "not held".
| Platform | Account age known? | With the lever on |
|---|---|---|
| Twitch | Yes, once your Twitch app is set up with its client id and secret | Accounts under the limit are held |
| YouTube | Yes, once you save a YouTube API key | Channels under the limit are held |
| Kick | No. Kick publishes no account creation date | Not held |
| Streamplace | No lookup exists | Not held |
For a Kick raid, use Ingest to pause Kick's chat, or Kick's own tools. Set up the Twitch app on the Twitch page before you rely on this lever for Twitch.
Two more cases:
- One account on a platform the site can read, whose age comes back unknown. The message is held.
- A lookup that fails (the platform is down, or rejects your app's credentials). The message goes through rather than being held. Holding on the site's own fault would silently mute your audience for a reason no mod chose. Each failed lookup is recorded in the chat service's log:
sudo blackbranch logs stream-api.
When it lifts by itself
Lifts by itself, above the levers, sets when every lever turns off on its own:
| Choice | Lifts |
|---|---|
| No expiry | Only when a mod lifts it |
| 15 min, 1 hour | That long from now |
| Until the stream ends | When the current stream goes offline. Only offered while you are live |
| Custom… | At a date and time you pick, up to 7 days ahead |
Choose it before pulling a lever and the lever carries it. Choose it while a lockdown is on and it applies to that lockdown. The status line shows when it lifts ("lifts by itself 21:30", "lifts when the stream ends"). A lockdown nobody remembers to lift lifts itself.
Recommended: use Until the stream ends during a live raid. The raid is about this stream, and tomorrow's chat starts open.
The link gate is not a lockdown lever and never lifts by itself.
What else to know
- Only mods can read whether lockdown is on. A raider cannot tell that their account-making has been noticed. The sign-in page learns only by being refused, or, on a bundled install, by showing that new accounts are not open.
- If the database cannot answer, the signup and cross-posting levers refuse, and sub only and the account-age check let chat through. Refusing one signup costs little. Silently muting everyone during a hiccup would cost far more.
- Every lever change is its own line in the mod log (signups disabled, cross-posting enabled, min age 7d, paused: kick…), with the mod and the reason. After a raid the first question is who closed which door, and when.
Next: Reports and the mod log