Running a server

AutoMod and raid protection

AutoMod checks every message before it's posted, against rules you set up: blocked words, links, invites, mention spam, spam and repeats, capitals, emoji floods, new accounts, or patterns of your own. Each rule decides what happens when it trips. Raid protection and the safety level keep unwanted accounts out, or quiet, in the first place. All of it is set up in Server Settings by people with Manage Server.

AutoMod#

Turn on Enable AutoMod first; no rule takes effect until it's on. Add rules with Add a Rule, switch each one on or off from the list, and click Save Changes. A server can have up to 25 rules.

When a message trips a rule that blocks, it isn't posted, and the sender sees which rule, for example:

AutoMod blocked this message (Blocked Words).

Edits are checked too, so someone can't post something clean and then edit a blocked word into it.

What a rule looks for#

Blocked words
Words and phrases, one per line, caught anywhere in a message, in any case. A * stands for any letters: scam* also catches "scammer".
Invite links
Invite links to Sunflare servers and other chat apps, without touching ordinary links.
Links
Any link, except to the sites you allow (a site covers its subdomains: youtube.com also allows music.youtube.com).
Mention spam
More mentions than your limit in one message. Only real members count: @Override in some code doesn't.
Spam and repeats
More than a number of messages in a few seconds, or the same message several times in a row.
Too many capitals
A message mostly in capital letters (you pick the share, and how long a message has to be to count).
Emoji floods
More emoji than your limit in one message.
New accounts
Anything from an account younger than a number of hours. With Block, new accounts can't chat until they're old enough; without it, your mods hear about them.
Patterns
Up to 10 regular expressions, for spellings words and wildcards can't cover. One that could take too long to check is left out when you save.

What happens when it trips#

Block the Message
The message isn't posted. Turn it off and the message goes through, with the rest below still happening: useful for watching something before blocking it.
Alert in
Posts a notice in a channel of your choice (your mods' channel): who, where, which rule, and the message itself.
Timeout
Times the sender out for 1 minute up to 1 week. Good against spam bots, which keep trying.
Remove Them From the Server
Kicks the sender. They can come back with an invite.

Every block and flag is written to the Audit Log under the name AutoMod, with the rules, so automated removals are never invisible.

Example: a good starting set
RuleLooks forDoes
InvitesInvite linksBlocks, alerts #mod-log
Mention SpamMore than 5 mentionsBlocks, 10 minute timeout
Scamsfree nitro, steam gift*Blocks, alerts #mod-log, 1 hour timeout
SpamMore than 5 messages in 10 secondsBlocks, 5 minute timeout
NewcomersAccounts under 24 hours oldAlerts #mod-log only

Raid protection#

A raid is a wave of accounts joining at once to spam or harass. These settings decide who can join at all. They don't affect anyone already in the server. Pause New Joins is under Raid Protection; the verified email and account age are under Requirements, where Verification Level sets both at once (Medium is a verified email and a week-old account, High a month-old one).

Pause New Joins#

Turns away everyone trying to join, through any invite, until you switch it off. They see "This server has temporarily paused new joins". Reach for this the moment a raid starts, deal with the accounts already inside, then fine-tune the settings below and switch it off.

Require A Verified Email#

Only accounts that have confirmed their email can join. It costs a throwaway account one more step than most bother with. Real people who haven't verified are told to verify in Settings and try again.

Minimum Account Age#

Turns away accounts younger than 1 day, 3 days, 1 week, 2 weeks, 1 month, 3 months, or 1 year. It's measured from when the account was created, not from when they found your server, so it's a speed bump against throwaways and ban evasion, not a waiting period for real people.

Example

A public gaming server getting raided by fresh accounts: Require A Verified Email on, Minimum Account Age 1 week. Brand-new accounts are stopped at the door, and real players with older accounts join normally.

Safety level#

For people once they're in. The owner, and anyone who can manage messages, aren't held back. Click Save when you've picked.

Before they can chat
New members wait 5 minutes, up to a day, in the server before they can send messages or files. They're told how long is left. A raid account that got in can't start spamming straight away.
Explicit picture filter
An explicit picture (as Sunflare's scanner sees it) isn't posted at all, rather than shown blurred. Pick who it covers: members without a role, or everyone. Channels marked 18+ are left alone.

During a raid: a checklist#

  1. Turn on Pause New Joins.
  2. Lock the channels being flooded, or turn on slowmode.
  3. Ban the raid accounts and purge their messages.
  4. If an invite was leaked to the raiders, regenerate it or revoke the extra link.
  5. Set Require A Verified Email and a Minimum Account Age, turn on AutoMod rules that would have caught it, then switch Pause New Joins off.
  6. Report organized raids to Sunflare staff.