Documentation

The full reference. For step-by-step setup, start with Learn.

Permissions

Administrator covers everything. If you grant permissions one by one, these are required:

PermissionUsed for
View Audit LogSeeing who deleted, banned or kicked
Manage RolesStripping roles, quarantine, rebuilding roles
Manage ChannelsRebuilding channels, /autoconfig
Manage WebhooksReplaying messages into rebuilt channels
Moderate MembersTiming out phishing senders and bot swarms
Kick Members, Ban MembersKick and ban buttons, global blacklist
Manage MessagesRemoving phishing links and swarm spam

Discord only lets a bot change roles below its own. Keep the Mark Defender role at the top.

Detection limits

RuleValue
Scoring window10 s, resets when idle
Points: channel delete, role delete+2 each
Points: ban, kick+1 each
Trip threshold8 default, 2 to 20
Join surgemore than 10 joins in 5 s
Bot swarm (Premium)3+ bots, same text, 15 s
Message replay10 free, 50 Premium
Verification link lifetime15 min
Hacked-account guardsame image set in 2+ channels in 60 s, or 3+ images with no text from a member who joined in the last 3 days, or scam text and links. 1 h timeout
Mass mentions6 users or roles in one message by default, 10 min timeout
Webhook created+1; attack webhooks deleted on containment
Webhook spamwebhook younger than 24 h, 6 messages in 5 s
Raid-name wave (Premium)4 near-identical names in 60 s
Verification barrierNew accounts with a low credibility score: young account, no avatar, random-looking name

Never scored: the server owner, Mark Defender itself, and whitelist tiers 0 and 1.

/autoconfig

Creates #logs-defender (private), #verification, and the Unverified role, posts the Verify button, and hides every other channel from Unverified. Existing channels or roles with those names are reused.

OptionRequiredValues
languageyesEnglish, Francais, Espanol, Chinese, Russian, Arabic

/security

configure

OptionRequiredValues
modeyesStandard, Event / Giveaway
languageyes6 languages
slang_modeyestrue for casual tone
invite_codenoPromo invite code for Event mode

set-roles

OptionRequiredValues
quarantine_rolenoRole given to raiders and stripped operators
verified_rolenoRole given after Turnstile verification
log_channelnoWhere alert cards are posted

whitelist-bot

bot_id: approves a bot so it is not quarantined on join.

lockdown

active: true quarantines every new join until set to false.

branding PREMIUM

OptionValues
name1 to 32 characters
avatarPNG, JPEG, GIF or WEBP upload, under 8 MB
colorHex like #5B8DEF; adds a colored stripe to cards
resettrue restores the defaults

/premium

SubcommandWhat it does
pricingPlans, prices in USD and IDR, how to buy
statusActive licenses on this server and expiry
keysEvery license on your Discord account
activate license_keyStarts an unused key on this server
move license_keyMoves your active license to this server

/verify

Replies with a private link to the Cloudflare Turnstile check. The link is signed to you and this server, and expires after 15 minutes. Passing removes the Unverified and quarantine roles and grants the verified role if one is set.

/backup PREMIUM

Saves roles (name, color, permissions), categories, channels and their role permissions. Messages, members, emoji and bots are not included. Up to 10 backups per account.

SubcommandWhat it does
createBacks up this server (Premium server required)
listYour backups and their codes
restore code confirmServer owner only. Creates whatever is missing; never deletes existing roles or channels
delete codeRemoves a backup

Protection settings

Dashboard, your server, Protection. Server owners, members with Manage Messages, and whitelist tiers 0 and 1 are never caught by message guards.

SettingDefaultEffect
Hacked-account guardOnRemoves scam promos and screenshot dumps everywhere the account posted, times out 1 h, DMs the user to secure their account
Webhook protectionOnDeletes attack webhooks and new spam webhooks
Mass-mention limit60 turns it off
Account-age gateOffQuarantine or kick accounts younger than the set number of days
Raid names PREMIUMOffBan on join by pattern (raid-*), or ban a wave of lookalike names

Alert buttons

Buttons on alert cards work only for the server owner and members with Administrator.

ButtonEffect
Execute Permanent BanBans the contained operator
Allow the botWhitelists the bot and restores its original permissions
Kick the botRemoves it; it can be invited again
Ban the botRemoves it and blocks re-invites
VerifyLets a member through the verification barrier

Dashboard

TabContents
OverviewThreshold, snapshot counts, latency, live feed (Premium), emergency lockdown
Anti-nukeTrip threshold slider and point weights
ProtectionHacked-account guard, webhooks, mentions, account age, raid names
WhitelistAdd or revoke trusted users, roles and bots
PostureMode, promo invite code, language, tone
VerificationTurnstile on or off, verified and quarantine role IDs
BrandingName, avatar and stripe color with live preview (Premium)
IncidentsLast 100 logged incidents
Audit logWho changed what, from where, last 200 entries
AccessTemporary access links and dashboard roles

The Premium page lists your licenses and lets you activate or move them.

Dashboard access

WhoHowCan change access
Owner, Administrator, Manage ServerAutomaticYes
Dashboard rolesAccess tab, takes effect at their next loginNo
Temporary linkAccess tab, 30 min to 6 h, one link per server, binds to the first person who opens itNo

Every change, whoever made it, is listed in the Audit log tab with its source: dashboard, slash command, or temporary link.

Licensing rules

  • Plans: Monthly (30 days) and Yearly (365 days), per server.
  • A key belongs to the Discord account it was issued to. Only that account can activate or move it.
  • The period starts at activation. A second key on the same server extends it.
  • Self-service moves: once every 30 days. The old server returns to Standard Core and its branding is reset.
  • Licenses do not renew automatically. Refunds follow the Refund Policy.

Bot messages

MessageMeaning
[DENIED] Administrator permission required.Only admins or the owner can press that button
This key belongs to another Discord account.Log in with the account that bought it
Licenses can move once every 30 days.Wait until the date shown, or ask support
Verification link invalid or expired.Run /verify again for a new link
[ERROR] Tactical subsystem error encountered.Something failed on our side; we are notified automatically