> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zeonbot.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# Antinuke Overview

> Protect your server from malicious attacks with the most advanced Antinuke system.

The ZEON Antinuke system is the core security engine designed to detect, mitigate, and punish rogue administrators, compromised accounts, or malicious bots attempting to destroy your server.

<Note>
  **Required Permission:** `is_server_owner` — Only the true **Server Owner** and **Extra Owners** can configure the Antinuke system.
</Note>

***

## Absolute Setup Guide

The easiest and safest way to secure your server is by using the Antinuke Setup Wizard. This one-click command automatically configures everything to the optimal security standards.

<Steps>
  <Step title="Run the Wizard">
    ```bash theme={null}
    .antinuke wizard
    ```

    The bot will automatically:

    * Check its own role hierarchy and permissions.
    * Create an unbypassable barrier role (`zeon-antinuke-barrier`).
    * Create a secure logging channel (`#antinuke-logs`).
    * Enable all security filters.
    * Set optimal heat and trigger limits.
  </Step>

  <Step title="Move the Bot's Role">
    For the Antinuke to work properly, **ZEON's highest role must be placed as high as possible** in the server's role settings. The bot cannot punish users or manage roles that are above its own.
  </Step>
</Steps>

***

## Manual Configuration

If you prefer to manually configure your security limits, you can use the interactive dashboard commands.

### Managing Filters

You can individually toggle which actions the bot should monitor.

```bash theme={null}
.antinuke manage
```

This opens a dropdown menu where you can enable or disable filters like `ban`, `kick`, `channel_create`, `role_delete`, etc.

### Setting Limits & Heat

ZEON uses a sophisticated "Heat" system. Each action generates heat. If a user generates too much heat within a specific minute or hour limit, they are punished.

```bash theme={null}
.antinuke limit
```

Use this command to configure the `Minute Limit`, `Hour Limit`, and `Heat Points` for each enabled filter.

***

## Advanced Security Modes

### Z+ Mode (Lockout)

In the event of an active raid or severe compromise, the Server Owner can instantly lock down the server.

```bash theme={null}
.antinuke zplus
```

<Warning>
  **Z+ Mode enforces maximum security:**

  * 1 action trigger limit with 100 heat (instant punishment).
  * Z+ mode ignores Whitelists and Trusted Users.
  * Can only be enabled/disabled by the **Server Owner**.
  * To disable, you must run `.antinuke wizard` to revert to normal settings.
</Warning>

### Wall System

The Wall system allows you to instantly strip permissions from all high-level roles and move them below the bot.

| Command             | Description                                            |
| :------------------ | :----------------------------------------------------- |
| `.antinuke wallon`  | Strips permissions and moves "wall" roles down.        |
| `.antinuke walloff` | Restores original permissions and hierarchy positions. |

### Recovery & Logging

| Command                                 | Description                                                                                   |
| :-------------------------------------- | :-------------------------------------------------------------------------------------------- |
| `.antinuke logging <channel>`           | Sets a custom channel for all security logs.                                                  |
| `.antinuke logdisable`                  | Disables security logging.                                                                    |
| `.antinuke autorecovery enable/disable` | Enables the bot to automatically revert nuke damage (e.g. recreating deleted channels/roles). |
