Spooky's documentation
Security
Antinuke Setup

Antinuke Setup

Learn how to set up Antinuke for your server.

Antinuke Setup Guide

The Antinuke module is a robust system designed to protect your Discord server from malicious activities, such as mass bans, unauthorized role creation, channel deletions, and more. With Antinuke, you can ensure your community remains safe and secure.

Key Features

  • Comprehensive Protection: Safeguard against attacks targeting members, roles, channels, threads, webhooks, and the server itself.
  • Customizable Thresholds: Fine-tune limits for non-whitelisted and whitelisted users to ensure balanced protections.
  • Panic Mode: Activate an all-inclusive protection mode during emergencies.
  • Whitelist Management: Add trusted users or bots to the whitelist to exempt them from protections.
  • Authorized Members: Assign specific users the ability to manage Antinuke settings.
  • Flexible Actions: Choose between banning or kicking users who violate the thresholds.

Commands

Enable or Disable Antinuke Features

/

/antinuke toggle

Toggle the anti-nuke feature for a specific item.

Security

Parameters

[item]The item to toggle (e.g. "Anti-Nuke" or "Panic mode").
[toggled]"True" to enable the feature, "False" to disable it.
Enables or disables specific Antinuke features, such as Panic Mode.

Manage Whitelist

/

/antinuke whitelist

Add or remove a user from the anti-nuke whitelist.

Security

Parameters

[option]'Add' to whitelist the user, 'Remove' to remove them.
[member]The user to be whitelisted or removed.
Adds or removes a user from the whitelist.

View Whitelisted Users

/

/antinuke whitelisted

Display a list of current whitelisted users.

Security
Lists all currently whitelisted members.

Check Antinuke Status

/

/antinuke status

Display the status of antinuke with paginated views for each protection group.

Security
Displays the current configuration of Antinuke protections.

Manage Authorized Members

/

/antinuke authoritized manage

Authorize or de-authorize a member to use antinuke commands.

Security

Parameters

[option]'Add' to authorize the user, 'Remove' to de-authorize them.
[member]The user to be authorized or de-authorized.
Adds or removes an authorized member.

View Authorized Members

/

/antinuke authoritized list

Display a list of current authoritized users.

Security
Displays a list of all authorized members.

Set Punishment Actions

/

/antinuke set action

Set the anti-nuke punishment action, default to Ban.

Security

Parameters

[action]The punishment method to set (e.g. Ban, Kick, Remove Roles, Remove Permissions).
Configures the punishment action for Antinuke (Ban or Kick).

Configure Protection Settings

/

/antinuke set anti_guild

Change an option of Anti guild.

Security

Parameters

[item]The specific guild protection to update.
[toggled]"True" to enable the protection, "False" to disable it.
[threshold_time]The threshold time in minutes, defaults to 0.
[non_whitelisted_threshold]Maximum actions allowed for non-whitelisted users (0 = no actions allowed), defaults to 0.
[whitelisted_threshold]Maximum actions allowed for whitelisted users (0 = permanent immunity), defaults to 0.
/

/antinuke set anti_member

Change an option of Anti member.

Security

Parameters

[item]The specific guild protection to update.
[toggled]"True" to enable the protection, "False" to disable it.
[threshold_time]The threshold time in minutes, defaults to 0.
[non_whitelisted_threshold]Maximum actions allowed for non-whitelisted users (0 = no actions allowed), defaults to 0.
[whitelisted_threshold]Maximum actions allowed for whitelisted users (0 = permanent immunity), defaults to 0.
/

/antinuke set anti_role

Change an option of Anti role.

Security

Parameters

[item]The specific guild protection to update.
[toggled]"True" to enable the protection, "False" to disable it.
[threshold_time]The threshold time in minutes, defaults to 0.
[non_whitelisted_threshold]Maximum actions allowed for non-whitelisted users (0 = no actions allowed), defaults to 0.
[whitelisted_threshold]Maximum actions allowed for whitelisted users (0 = permanent immunity), defaults to 0.
/

/antinuke set anti_thread

Change an option of Anti thread.

Security

Parameters

[item]The specific guild protection to update.
[toggled]"True" to enable the protection, "False" to disable it.
[threshold_time]The threshold time in minutes, defaults to 0.
[non_whitelisted_threshold]Maximum actions allowed for non-whitelisted users (0 = no actions allowed), defaults to 0.
[whitelisted_threshold]Maximum actions allowed for whitelisted users (0 = permanent immunity), defaults to 0.
/

/antinuke set anti_webhook

Change an option of Anti webhook.

Security

Parameters

[item]The specific guild protection to update.
[toggled]"True" to enable the protection, "False" to disable it.
[threshold_time]The threshold time in minutes, defaults to 0.
[non_whitelisted_threshold]Maximum actions allowed for non-whitelisted users (0 = no actions allowed), defaults to 0.
[whitelisted_threshold]Maximum actions allowed for whitelisted users (0 = permanent immunity), defaults to 0.
/

/antinuke set anti_community

Change an option of Anti community.

Security

Parameters

[item]The specific guild protection to update.
[toggled]"True" to enable the protection, "False" to disable it.
[threshold_time]The threshold time in minutes, defaults to 0.
[non_whitelisted_threshold]Maximum actions allowed for non-whitelisted users (0 = no actions allowed), defaults to 0.
[whitelisted_threshold]Maximum actions allowed for whitelisted users (0 = permanent immunity), defaults to 0.
Configures protections for a specific group (e.g., guild, member, role, etc.).

Configuration Steps

  1. Enable Antinuke: Run /antinuke toggle to initialize the module.
  2. Set Up Protections: Use /antinuke set anti_[group] to configure thresholds and toggles for each category.
  3. Whitelist Trusted Users: Add bots and trusted members using /antinuke whitelist.
  4. Assign Authorized Members: Grant permissions to specific users with /antinuke authoritized manage.
  5. Monitor and Maintain: Regularly check the system's status with /antinuke status.

Important Notes

  • Panic Mode Enforcement: When activated, all protections apply to everyone, regardless of whitelist or thresholds.
  • Threshold Management: Setting 0 for non-whitelisted users results in instant punishment, while 0 for whitelisted users grants immunity.
  • Use with Caution: Misconfigurations can lead to unintended penalties for legitimate users.
By following these steps, you can maintain a secure and well-protected Discord server using the Antinuke system.