> ## 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.

# Panic Mode

> Automatically scale security thresholds during sudden spikes in activity.

Panic Mode is an automated defense mechanism that dynamically activates when the server experiences a sudden, high volume of suspicious activity (Heat).

When the server hits the specified heat threshold, Panic Mode engages, tightening security limits temporarily to suppress potential raids or nukes before they can do widespread damage.

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

***

## Absolute Setup Guide

<Steps>
  <Step title="Configure Panic Mode">
    Run the setup command with your desired heat threshold, duration, and decay rate.

    ```bash theme={null}
    .panicmode setup 100 300 5
    ```
  </Step>

  <Step title="Verify Configuration">
    Check your active configuration to ensure the system is armed.

    ```bash theme={null}
    .panicmode show
    ```
  </Step>
</Steps>

***

## Understanding the Parameters

When configuring Panic Mode, you must provide three specific values:

1. **Threshold** (`100`): The total amount of server-wide "Heat" required to trigger panic mode.
2. **Duration** (`300`): How long (in seconds) the panic mode state will remain active once triggered. (e.g., 300 seconds = 5 minutes).
3. **Decay Rate** (`5`): How much heat naturally dissipates per minute if no further suspicious actions occur.

***

## Commands

All commands are located under the `.panicmode` (or `.pm`) group.

| Command                                           | Description                                   |
| :------------------------------------------------ | :-------------------------------------------- |
| `.panicmode setup <threshold> <duration> <decay>` | Configures the panic mode parameters          |
| `.panicmode enable`                               | Arms the panic mode system                    |
| `.panicmode disable`                              | Disarms the panic mode system                 |
| `.panicmode show`                                 | Displays the current configuration            |
| `.panicmode reset`                                | Deletes the panic mode configuration entirely |

<Warning>
  Panic Mode requires the core Antinuke system to be enabled (`.antinuke enable` or `.antinuke wizard`) in order to function, as it relies on the global heat tracking engine.
</Warning>
