Lona Docs DOCS Dashboard Support Add Lona
Docs / Security

Security & Protection

Anti-raid and anti-nuke, emergency mode, invite tracking, and daily security summaries.

Entire system PRO14 commands14 PRO2 guides
How to configure it from the dashboard

The security system features five layers running on top of each other. The good news is you don't need to tweak any numbers โ€” choose a preset mode and Lona automatically adjusts all sensitivities. Follow the recommended steps below in order.

Enable security and set the mode

Dashboard โ† Cyber security โ† Settings

First, toggle the main switch. Then choose the Security mode โ€” this is the most important step, saving you from tweaking dozens of numbers manually.

Balanced is recommended for most servers: it stops raiders without disturbing regular members. Do not switch to "Maximum security" unless you are under an active attack โ€” its sensitivity is extremely high and may punish innocent members.

Cyber security โ€” Settings
SettingsAdvanced protectionSmart reportingBackupsInvites
Toggle full securityMaster switch โ€” disables all five layers
Security mode
RelaxedFriends servers โ€” minimal intervention and more freedom
Balanced โœฆRecommended โ€” stops troublemakers without disruption
StrictLarge or frequently targeted servers
MaximumDuring attacks โ€” enable temporarily only
CustomFor advanced users โ€” full control over all values
Each mode tunes dozens of values behind the scenes โ€” no need to touch them

Set log and alert channels

Same page โ† Log and alert channels

Protection without logs is only half the job โ€” you need to know what happened and when.

The log channel records routine violations, while the alert channel is reserved for critical events (raids / nukes) so they don't get lost in chat.

Log & alert channels
Log channel (violations)#security-logs
Alert channel (Raid / Nuke)Keep it separate so alerts aren't missed#emergency-alerts

Review the five layers

Same page โ† Scroll down

You don't need to tweak them, just understand what they do:

Layer 1 โ€” Behavioral Trust System (always active) โ€” learns each member's active hours and average message length. Trusted members receive lighter penalties, while suspicious users get stricter ones.
Layer 2 โ€” Smart Escalation โ€” penalties progress: silent delete โ† friendly warning โ† firm warning โ† timeout โ† ban. Their strike level automatically drops every 24 clean hours.
Modules โ€” Anti-Spam (thermal engine), emoji spam (3 layers), wall of text, link filter, bad words filter (+500 ready-to-use Arabic words), mass mention prevention.
Layer 3 โ€” Raid Detection โ€” 4 detection patterns with 3-tier automatic lockdown.
Anti-Nuke โ€” monitors action speed even for admins, detects within 8 seconds, with automatic restoration of deleted channels.
Layer 5 โ€” Honeypot โ€” a hidden channel; anyone who sends a message in it = bot โ†’ instant ban.

Protection modules
Anti-Spam โ€” Thermal engineMeasures message "heat" โ€” rises with rapid repetition
Allowed message countExceeding this = spam6
Within (seconds)Counting time window7
Anti-Link โ€” Link preventionBlocks external links and server invites
Allow GIFstenor.com and giphy.com are allowed
Anti-Nuke โ€” Infrastructure protectionMonitors action speed โ€” even for admins
๐Ÿ”„ Auto-restoreRestores deleted channels from the latest backup
Values adjust automatically based on protection mode โ€” editable in "Custom" mode only

Enable backups โ€” before you need them

Cybersecurity โ† Backups tab

Auto-recovery after a nuke won't work without a backup. Take one now, and after any major changes to channels or roles.

The backup saves: channel names and types, and roles with their permissions and colors.
It does not save: chat history, members, images, or files.

Backups
SettingsAdvanced protectionSmart reportingBackupsInvites
Backup now
Saved: Channel names and types โ€ข Roles, permissions, and colors
Not saved: Chat history โ€ข Members โ€ข Images and files
Without a backup, auto-restore has nothing to restore from

Know where Panic Mode is

Cybersecurity โ† Panic Mode

This is your master switch during an attack. A single click freezes the entire server.

Know its location in advance โ€” during an attack there is no time to look for it. You can also trigger it with the !panic command inside Discord if you don't have the dashboard open.

Panic Mode โ€” Emergency mode
Panic Mode is inactive โ€” server is operating normally
Enable Panic ModeDisable Panic Mode
Locks the server down for everyone โ€” including regular members

How the system works

Protection in Lona runs automatically in the background โ€” the commands you see here are for manual control and emergency use only.

Auto-defense monitors suspicious patterns: sudden mass joins, rapid channel deletions, creating roles with dangerous permissions, link spam. The moment it detects a pattern, it acts before you even notice.

Panic mode is your manual kill switch. !panic freezes the entire server in a second โ€” channels are locked down, dangerous permissions are revoked, and everything halts. Once you regain control, !ุฑูุน_panic restores everything.

The trust system defines who is exempt from automated checks. A trusted moderator won't get banned for legitimately deleting ten channels.

Invite tracking links every member to whoever invited them. When a raid happens, you uncover the source, not just the perpetrators.

Practical recipes

Under attack right now โ€” the right response

The sequence matters a lot. Don't start with bans:
1!panic โ€” First, freeze everything
2!ู…ู„ุฎุต_ุงู…ู†ูŠ โ€” See exactly what happened
3!ู…ู†_ุฏุนุงู†ูŠ @attacker โ€” Reveal the source
4!ุฑูุน_panic โ€” Once everything is cleared

Routine security audit (Monthly)

Prevention is cheaper than a cure:
1!risk โ€” Comprehensive risk analysis
2!ู…ู„ุฎุต_ุงู…ู†ูŠ โ€” Security event summary
3!ุฏุนูˆุงุช โ€” Review new member sources
4!ุชุตุฏูŠุฑ_ุงู„ุณุฌู„ โ€” Save a backup copy
Tips and warnings
!hs opens an interactive menu of all protection commands โ€” faster than memorizing them.
Enable invite tracking before you need it. Data is only collected from the moment it's enabled, and past joins cannot be retrieved.
Add trusted moderators to the trust list via the dashboard to prevent false alarms.
Panic mode locks down the server for everyone, including regular members. Don't forget to disable it when done.
Lona cannot protect against a member who has the Administrator permission. Check who has this permission using !risk โ€” it's often more people than you expect.
Commands ยท 14
Copied โœ“
!hsPrefixPRO
๐Ÿ›ก๏ธ Security system help โ€” interactive menu
Copied โœ“
!panicPrefixPROAdmin
๐Ÿšจ Manually activate Panic Mode โ€” locks down the entire server
Copied โœ“
!panic_statusPrefixPROAdmin
Displays the current Panic Mode status
Copied โœ“
/risky_membersSlashPROAdmin
๐Ÿดโ˜ ๏ธ List of the most dangerous server members (least trusted)
Copied โœ“
!ุงู„ูˆูƒู„ุงุกPrefixPRO
Shows the list of trusted agents and admins
Copied โœ“
!ุชุตุฏูŠุฑ_ุงู„ุณุฌู„PrefixPROAdmin
๐Ÿ“ฅ Export full security log as a CSV file
Copied โœ“
!ุชู†ุธูŠูPrefixPROAdmin
Wipes a member clean โ€” clears their history and all Lona actions against them
Copied โœ“
!ุซู‚ุฉPrefixPRO
%p%!ุซู‚ุฉ @member โ€” grants or revokes trust (toggle)
Copied โœ“
!ุฏุนูˆุงุชPrefixPROAdmin
Invite statistics โ€” see who invited how many members
Copied โœ“
!ุฑูุน_panicPrefixPROAdmin
โœ… Disable Panic Mode and restore permissions
Copied โœ“
!ูุญุตPrefixPRO
Inspect a member and view their security profile as a banner
Copied โœ“
!ู…ู„ุฎุต_ุงู…ู†ูŠPrefixPROAdmin
๐Ÿ“Š Quick security summary for the past week
Copied โœ“
!ู…ู†_ุฏุนุงู†ูŠPrefixPROAdmin
Shows which invite the member joined from
Copied โœ“
!ูˆูƒูŠู„prefixPRO
%p%ูˆูƒูŠู„ @member โ€” Grants or revokes agent permissions (toggle)
No commands match the filter