Documentation / Security / Anti-Raid
/antiraid Required permission: Administrator
- 1. Start the Anti-Raid Panel
Enable server raid protection settings.
/antiraid - 2. Select Punishment Method
Determine the punishment to be applied during a raid (timeout, kick, ban).
Action: Timeout (1h) / Kick / Ban - 3. Assign Log Channel
Monitor the breakdown of blocked raid attempts.
Log Channel: #aegis-logs
The Anti-Raid module (commands/antiraid.js) monitors for a large number of users or newly created fake accounts joining the server in a short time and automatically closes the entry gate when the defined threshold is exceeded.
Raid Control Parameters
Key parameters used in Anti-Raid configuration:
| Parameter | Type | Description | Example |
|---|---|---|---|
| banThreshold | integer | Maximum number of bans to be triggered in the specified window. | 3 |
| kickThreshold | integer | Maximum number of kicks to be triggered in the specified window. | 3 |
| action | string | Punishment to be applied to raiders (timeout, kick, ban). | action: timeout |
| punishDuration | string | Timeout duration. | 1h or 1d |