FiveUnityManual

Protection

Protection is FiveUnity's automatic defence: message filters that act on individual messages, anti-raid that reacts to a burst of joins, and anti-nuke that stops a single account destroying the server. Join to create shares the page, because it is the other thing that manages channels for you.

Note

Where: Dashboard โ†’ Safety โ†’ Protection ยท In Discord: alerts are posted to the channel you choose below

#How it works

Every filter action is recorded as a numbered case in the same ledger as your staff's own moderation, so automatic and human moderation share one history. See Moderation and Staff.

Before any filter runs, protection skips:

  • the server owner
  • bots
  • anyone with Manage Messages, Moderate Members or Administrator
  • members holding an exempt role, and messages in an exempt channel or its category

Only the last is yours to configure. Moderator permissions are exempt automatically: a filter that times out your own staff mid-raid makes things worse.

SettingWhat it does
Protection enabledMaster switch. Nothing below runs while this is off.
Alert channelWhere automod, raid and nuke alerts are posted. Falls back to your staff log.
Exempt rolesNever acted on. Anyone who can already moderate is exempt automatically.
Exempt channelsFilters are skipped in these channels and their categories.

Changes apply immediately; there is no wait for a restart.

When something stops a setting doing what the page shows, a Needs attention list at the top says what and how to fix it: a permission a filter's action needs (Moderate Members to time out, Kick Members, Ban Members), channels where FiveUnity cannot delete messages, raid settings it cannot carry out (Manage Server for the verification level, channels to lock that it cannot edit or that were deleted), View Audit Log or the response permission for anti-nuke, and an alert channel it cannot post in. The list is checked again each time you load or save the page.

#Message filters

Your blocked words are handed to Discord's own AutoMod: FiveUnity creates a keyword rule called FiveUnity word filter and keeps it in step with this page, so Discord blocks those messages before anyone sees them, and FiveUnity still records the case, applies a kick or ban, and posts the alert. The other filters are FiveUnity's own and read message text only in channels auto-mod covers (everything except Exempt channels), and only while one of them is on: the spam limits count messages without reading them. They add role-aware exemptions, actions beyond deleting, and a shared case history.

FilterCatches
Block Discord invitesdiscord.gg, discord.com/invite, discord.io and similar.
Block linksAny domain that is not on your Allowed domains list. Subdomains of an allowed domain are allowed too. Up to 200 domains, one per line.
Block wordsYour Blocked words list, matched as whole words, so a short entry will not trip on a longer word. Up to 500 words, one per line. Enforced by the Discord AutoMod rule; FiveUnity needs Manage Server to create it. Whenever the rule cannot match this page (no permission, more than 20 exempt and staff roles or 50 exempt channels, Warn with no alert channel, or the rule deleted or switched off in Server Settings), FiveUnity switches the rule off where it can, checks the words itself, and Needs attention says why.
Block mention spamMentions per message: distinct users and roles counted together, between 2 and 50. Default 6.
Block message spamMessages within Within seconds from one member. 2-50 messages, in a window of 1-60 seconds. Default 6 in 5.
Report ghost pingsSomeone mentions a member then deletes the message. Reported only; nobody is punished.
Audit giftsDiscord gift links, gift embeds and (optionally) attached images, only in the channels you list. See below.

Each filter except ghost pings picks its own Action: Delete, Warn, Timeout, Kick or Ban. Choosing Timeout reveals a Timeout length (minutes) box, from 1 minute to 40,320 (28 days, Discord's maximum), with its own Save button so a half-typed number is never sent.

The message is deleted whatever the action is. If FiveUnity cannot carry out the rest (the member is above it in the role list, or a permission is missing) the deletion and the case still happen, the failure is logged, and the alert says the action could not be applied. Members are DMed when the action is Warn or Timeout, and every action posts an alert naming the member, the filter (for example Mass mentions), what was done (for example Timed out), the channel and the case number.

#Audit gifts

Audit gifts for inappropriate content is for gift and drop channels, not the whole server.

SettingWhat it does
Audit gifts for inappropriate contentMaster switch.
Channels to scanGift or drop channels only. Categories work too: every channel inside is included. At most 25. An empty list keeps this off even when the switch is on. Other channels are never read.
Look at attached imagesSends attached images (from Discord's CDN only) with the gift text. Off: links and embeds only.
Action for an inappropriate giftDelete, Warn, Timeout, Kick or Ban, the same actions as the other filters.

It asks the AI Assistant whether the gift is NSFW, gore, hate, a gift-card scam or otherwise unsuitable. That needs the assistant on, a key, and data-use consent. If the model is down, over budget, or unsure, the gift is left in place. Terms that must never reach a third-party model (including CSAM-related words) are blocked locally and are not uploaded.

Tip

The Allowed domains and Blocked words boxes are saved with their own Save domains / Save words buttons, not by the toggles above them.

#Anti-raid

When too many accounts join inside a window, FiveUnity locks the server down and then lifts itself.

SettingWhat it does
Anti-raid enabledTurns the join watcher on.
JoinsHow many joins trip a lockdown. 2-100, default 10. Accounts under 7 days old count twice, so 10 means 10 established accounts or 5 brand-new ones.
Within secondsThe window those joins are counted in. 5-600, default 30.
Lockdown minutesHow long the lockdown lasts. 1-1,440. Default 15.
Raise verification levelSets the server to High for the duration, then puts it back.
Channels to lockSend Messages is denied to @everyone in these channels during a lockdown, then restored.

A lockdown posts a Raid lockdown started alert with what tripped it (the real joins and how many were new accounts, for example "6 joins (4 under a week old) in 30s"), when it lifts, how many channels were locked and whether verification was raised. Further joins do not re-trip a lockdown that is already running.

While it runs, new members get no welcome and no auto-roles. Your info log says so once, "Lockdown is on: roles are withheld from new members until it lifts.", and once it has lifted, "Lockdown withheld roles from N members.", instead of one line per join. Every join still gets its own member log line.

Sticky roles that grant no permission of their own, such as a mute, jail or quarantine role, still go straight back on a member who rejoins during a lockdown, so leaving and rejoining is never a way to shed a punishment. Sticky roles that grant something are held back with the auto-roles until the member next joins.

Lifting restores exactly what was changed: the previous verification level is recorded before it is raised, and only the channels actually locked are unlocked: back to inheriting their permissions, not pinned to an explicit allow. FiveUnity checks every minute for lockdowns whose timer has run out. To end one early, the panel says when the lockdown lifts and offers a Lift lockdown now button while it is running. The alert in your alert channel carries a Lift lockdown button too, so staff on Discord mobile can end it without the website; it needs the same setup permission as the rest of server configuration, and once pressed the alert notes who lifted it. A lockdown posted to the staff log, because no alert channel is set, has no button.

If something cannot be put back (FiveUnity lost Manage Roles in a channel, or Manage Server for the verification level), the lift says which channel or setting is still locked and when FiveUnity tries again, about five minutes later; it does not report success. Fix the permission, or reopen the channel by hand.

Warning

Anti-raid needs Manage Guild to raise the verification level and Manage Channels to lock channels. Without those it does what it can and logs the rest.

#Anti-nuke

Anti-nuke watches destructive actions per account and trips a breaker when one account crosses a threshold inside the window. It is aimed at a compromised staff account.

SettingWhat it does
Anti-nuke enabledTurns the breaker on.
Channel deletionsThreshold for channels deleted by one account. Default 3.
Role deletionsThreshold for roles deleted by one account. Default 3.
BansThreshold for bans by one account. Default 5.
KicksThreshold for kicks by one account. Default 5.
Within secondsThe shared window all four are counted in. 10-3,600, default 60.
ResponseAlert only, Strip roles, Kick or Ban.
Exempt accountsTrusted bots or admins that legitimately do bulk work. Type a name to pick them, or paste a user id.

Each threshold is a whole number between 1 and 100. Strip roles is the default deliberately: it stops the damage without removing someone who was simply compromised, and it is reversible. Only roles FiveUnity sits above can be removed.

The server owner, FiveUnity itself and anyone on the exemption list can never trip the breaker. Attribution comes from the audit log, so FiveUnity needs View Audit Log; without it the breaker stays silent rather than punishing the wrong account.

When it trips, the alert names the account, what tripped it and what was done about it. With Strip roles it also lists the roles taken off under Roles removed, so after a false trip on someone doing real cleanup you can give exactly those back. A kick or ban by anti-nuke also opens a case. The alert goes to the alert channel with a ping for the server owner, to your security log, and to the owner by DM.

Danger

Anti-nuke stops the bleeding; it cannot undo deletions. Pair it with a saved snapshot so you can rebuild the channels and roles that were already lost. See Backups. Save a backup before you need one.

#Join to create

A member joins a hub voice channel and gets their own channel, which disappears once everyone leaves. Useful for gang and crew channels, department briefings and scene voice, without an admin creating channels by hand.

Pick a New hub channel and press Add hub. The panel shows how many of the maximum 10 hubs you have, and how many channels are live right now. Name the hub something obvious, like Join to create: members will click it expecting it to do something.

SettingWhat it does
Channel name template{user} becomes the member's name, {count} a running number. Up to 100 characters. Defaults to {user}'s channel.
User limitApplied to each new channel. 0-99; 0 for unlimited.
CategoryWhere new channels are placed. Defaults to the hub's own category.
Owner control panelPosts lock, rename, user limit, disconnect and claim buttons in each new channel.

#Owner controls

When the control panel is on, the member who created the channel gets buttons in it:

ButtonWhat it does
LockDenies Connect to @everyone, so only people already inside stay.
UnlockPuts it back to normal.
User limitSets a cap between 0 and 99. The form opens on the current limit.
RenameRenames the channel. The form opens on the current name. Discord allows two renames per channel every 10 minutes; a third is refused straight away with the time you can try again.
Disconnect someoneLists the members in your channel (up to 25, without you and bots). Pick one to disconnect them and block them from rejoining that channel.
ClaimTakes ownership, but only once the original owner has left and only if you are in the channel.

The owner is granted channel management on their own channel only, so the buttons work for an ordinary member with no server-wide permissions. Rename, User limit and Disconnect someone check ownership before anything opens, so anyone else is told "Only the channel owner can do that" instead of filling in a form first.

A member can make one channel every 30 seconds. Rejoining the hub inside that time puts them back into the channel they own; with no channel of their own, they get one when the 30 seconds are up, as long as they are still in the hub. A hub holds at most 25 live channels: past that, FiveUnity tells the member in the hub's chat (at most once a minute) to join one of them or try again when one closes.

#Cleanup

A channel is deleted as soon as the last person leaves. FiveUnity also sweeps on startup and every five minutes, so a restart never leaves a category full of empty channels, and a channel whose member could not be moved into it is removed again rather than left behind. Removing a hub stops new channels being created but leaves existing ones alone: people may still be talking in them, and the sweep clears them once they empty.

Warning

Join to create needs Manage Channels to create and delete channels, and Move Members to move a member into their new channel and to power Disconnect someone. The panel warns you when FiveUnity is missing either, and marks a hub whose voice channel was deleted with Channel deleted: remove that hub or add a new one.

  • Honeypot: a bot trap channel that catches spam bots and hacked accounts before they reach the rest of the server.
  • Emergency contacts: DMs for raid lockdowns, anti-nuke trips and AutoMod kicks or bans.
  • AI Assistant: the key gift audit uses.
  • Moderation: ban logs, verification, and the commands your staff use.
  • Staff: the case ledger every automod action lands in.
  • Backups: snapshots to rebuild from after a nuke attempt.