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

# Whitelisting & Betrayal

> Manage immunities, trust limits, and betrayal guard for trusted staff members.

Even trusted administrators can have their accounts compromised. ZEON provides a robust Whitelisting and Betrayal Guard system to allow your staff to do their jobs while strictly limiting the amount of damage they could cause if compromised.

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

***

## Whitelisting

The Whitelist allows you to grant specific users immunity from certain Antinuke filters.

<Steps>
  <Step title="Open the Whitelist Manager">
    ```bash theme={null}
    .antinuke whitelist @user
    ```
  </Step>

  <Step title="Select Immunities">
    A dropdown menu will appear. Select which specific filters the user is allowed to bypass (e.g., allowed to ban members, allowed to delete channels).
  </Step>
</Steps>

To view all whitelisted users and the specific filters they are immune to, simply run:

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

***

## Betrayal Guard

**Betrayal Guard** is a critical security feature that monitors your whitelisted users and Extra Owners. If a trusted user begins acting maliciously (e.g., mass-banning members despite being whitelisted for bans), Betrayal Guard will step in and punish them based on your Trust Limits.

### Enabling Betrayal Guard

```bash theme={null}
.antinuke betrayalguard enable
```

When enabled, Whitelisted users and Extra Owners will now be monitored under strict limits. If they exceed them, their immunity is revoked and they are punished.

### Setting Trust Limits

You must define the exact limits that trusted users are allowed to reach before Betrayal Guard triggers.

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

This command opens an interactive menu where you can set the `Minute Limit`, `Hour Limit`, and `Heat Points` specifically for trusted users.

***

<Warning>
  **Z+ Mode Override**: If the server is placed into **Z+ Mode** (`.antinuke zplus`), all Whitelists and Betrayal Guard settings are immediately ignored. Every user (except the Server Owner) will be strictly punished if they trigger an action.
</Warning>
