Home
Security Setup Antinuke

Antinuke

Protect your server from mass actions (bans, kicks, channel/role nukes) by limiting how many actions a user can perform in a short period.

How thresholds work: If you set a threshold of 3, a user is allowed to perform 2 actions in 60 seconds. On the 3th action, the configured punishment is applied.

Available events

  • ban
  • channelcreate
  • channeldelete
  • kick
  • rolecreate
  • roledelete
  • botadd

botadd is special: it only supports enable or disable — you don’t set thresholds or punishments for it.

Enable syntax

Every event can be enabled with: ,,antinuke <event> enable <threshold> (60 seconds) <punishment>

Example: ,,antinuke rolecreate enable 3 kick

Meaning: If a user creates 3 roles within 60s, they will be kicked on the 4th attempt.

Quick start

Replace [prefix] with your server’s prefix. For Calamity, the prefix is ,,.

// Enable channel deletions protection: 2 deletes in 60s -> kick
,,antinuke channeldelete enable 2 kick

// Enable mass bans protection: 3 bans in 60s -> ban
,,antinuke ban enable 3 ban

// Enable channel creations protection: 5 creates in 60s -> kick
,,antinuke channelcreate enable 5 kick

// Enable bot add protection (no threshold/punishment needed)
,,antinuke botadd enable

Configure events

Enable an event

Define a threshold per 60 seconds and a punishment (kick or ban).

// syntax
,,antinuke <event> enable <threshold> <punishment>

// example
,,antinuke rolecreate enable 2 kick
Enable rolecreate antinuke

Disable an event

Turn off monitoring for a specific event.

// syntax
,,antinuke <event> disable

// example
,,antinuke rolecreate disable
Disable rolecreate antinuke

Admin Whitelist

Server owners and administrators are always whitelisted. Members added as Antinuke Admins will also be whitelisted automatically.

Add an Antinuke Admin

Whitelist a member from antinuke protections.

// syntax
,,antinuke admin add <member>

// example
,,antinuke admin add @User
Add Antinuke Admin

Remove an Antinuke Admin

Unwhitelist a member from Antinuke.

// syntax
,,antinuke admin remove <member>

// example
,,antinuke admin remove @User
Remove Antinuke Admin

List Antinuke Admins

// list all antinuke admins
,,antinuke admin list

Status

View current configuration

// show status
,,antinuke status