Security & data handling
What Server Saver stores, what it needs access to, and how its protection actually behaves, including where it falls short.
At a glance
Admin-only controls
Every command that changes settings, shows configuration, or touches backups requires the Administrator permission. /help is the only command open to everyone.
Credentials stay out of the code
The bot token and database login are held as environment variables on the host. They are not in the source code.
Servers are kept separate
Every record is keyed to a server ID. One server's commands never read or write another server's data.
No message history
Backups hold structure, not conversations. Message content is only read by the word filter.
What data Server Saver stores
Only what it needs to protect and restore your server.
| Data | What it's used for | Notes |
|---|---|---|
| Server configuration | Sensitivity, punishment, thresholds, log and welcome channels, feature on/off switches | Per server, changed by your admins |
| Whitelist, bot whitelist, blacklist | Exemptions from anti-nuke, allowed bots, and always-hostile accounts | Discord user and bot IDs |
| Backups | Restoring your server | Roles, channels, categories, permission overwrites, name, icon, banner. 5 kept by default, configurable up to 100 |
| Security events and incidents | /incidents, /status, alerts | The acting user's ID, the action type, the response taken, timestamps |
| Restore and lockdown records | Reporting results; undoing a lockdown cleanly | Restore outcomes. During a lockdown, the previous @everyone settings of each channel are kept until it is lifted |
| Word filter list | Your server's filtered words | Only if you customize it |
What it does not store
- Message history. Backups never include it.
- The content of filtered messages. When the word filter removes a message, a copy is posted once to your own log channel so admins can review it, and is not kept separately by the bot.
- Member-specific permission overwrites in backups, since they can't be reliably recreated.
See the Privacy Policy and Terms of Service for the full legal terms.
How data is stored
- Data lives in a managed MongoDB database, separate from the machine the bot runs on.
- The bot connects to its database over an encrypted connection.
- Backups beyond your retention limit are only removed after a newer backup has saved successfully, so a failed backup never costs you the last good one.
- Event history is kept to power incident reports. You can ask for it to be deleted at any time (see below).
- Exported backup files leave Server Saver entirely. Treat them like a map of your server, because anyone holding the file can see its structure.
What permissions the bot needs
Administrator is recommended. Anti-nuke, restore and lockdown act across roles, channels and members, and Discord only lets a bot grant a role or channel override permissions that the bot holds itself, unless it has Administrator. Here is what each permission is used for:
| Permission | Used for |
|---|---|
| View Audit Log | Finding out who did what. All anti-nuke detection runs on Discord's audit log. |
| Manage Roles | Removing dangerous roles, quarantine, reverting permission changes, creating/editing/reordering roles on restore, editing @everyone, and channel overrides for lockdown. |
| Manage Channels | Creating and deleting channels and categories (restore, /sanitize) and applying lockdown overrides. |
| Manage Server | Restoring the server name, icon and banner. |
| Kick Members | Kick punishment, JoinGate removals, antijoin, and /kick. |
| Ban Members | Ban punishment, blacklist enforcement, /ban, /unban and /bans. |
| Manage Messages | The word filter deleting a matching message. |
| View Channel, Send Messages, Embed Links, Read Message History | Posting alerts and incident summaries to your log channel, welcome messages, and lockdown/restore reports. |
Role position matters separately
Discord enforces role order on top of permissions. The bot cannot kick, ban, or strip roles from anyone whose top role is at or above its own, whatever permissions it has. Put Server Saver's role above every role it needs to act on, and run /safetycheck to verify.
Privileged intents
- Server Members: detecting joins (anti-raid, JoinGate) and looking up members to enforce actions and send alerts.
- Message Content: used by the word filter to check messages against your filter list.
Who can do what
Commands that change protection settings, whitelist or blacklist accounts, view configuration or incident history, run backups, or restore a server all require the Administrator permission in your server. Restore additionally needs a button confirmation from the person who ran it.
The whitelist is a list of accounts that anti-nuke deliberately does not check. Keep it short, and make sure those accounts use two-factor authentication, because a whitelisted account that gets compromised will not be stopped.
How protection works, and its limits
- Detection uses Discord's audit log. Mass channel or role deletion, bans, kicks, webhook deletion, and dangerous permission changes are counted against your sensitivity level, and a mix of different destructive actions can add up to a trigger even if no single type does.
- Response is your configured punishment: kick, ban, strip dangerous roles, or quarantine. Accounts on your blacklist are punished on their first action regardless of sensitivity.
- Uncertain attribution is never punished. If the audit log can't confidently identify who made a permission change, the change is reverted but no one is punished on a guess.
- Alerts are batched. Each action is punished immediately, but admin DMs and log posts are grouped into summaries, and related events are grouped into one incident.
Restore safety
- Backups are validated for structure and size before they're accepted for import or restore.
/restoreshows a preview of what will change before you confirm.- A fresh safety backup of the current state is taken first. If that fails, the restore does not start.
- Only one restore runs per server at a time.
- The result lists what succeeded and what failed, and never reports a partial restore as complete.
Deleting your data
Removing Server Saver from your server stops it from acting, but doesn't automatically delete what it stored. To have your server's data deleted, email savesync69@gmail.com with your server ID and your Discord user ID so we can confirm you manage that server.
Reporting a security issue
If you've found a vulnerability or behavior that looks unsafe, please report it privately rather than posting it publicly, so it can be fixed first.
- Email savesync69@gmail.com
- Or message the developer through the support server
Include what you found, how to reproduce it, and which server (if any) was affected.