# Moderator Mode

{% hint style="info" %}
The Moderator Mode (`/mod`) is a specialized state designed for staff members to perform duties without interfering with legitimate gameplay. When enabled, it transforms the player's inventory, gamemode, and visibility settings.
{% endhint %}

When a staff member executes `/mod`, the following changes occur automatically:

1. **Inventory Swap:** The survival inventory is saved to the database (`mod_sessions.dat`) and replaced with the **Moderator Tool Hotbar**.
2. **Vanish:** The player becomes invisible to non-staff players and is removed from the tab list (unless configured otherwise).
3. **Flight & God Mode:** Flight is enabled, and the player becomes invulnerable.
4. **Container Spy:** Opening chests or containers happens silently (without animation or sound).

#### Usage

| Command                | Permission      | Description                                                        |
| ---------------------- | --------------- | ------------------------------------------------------------------ |
| `/mod`                 | `crown.mod.use` | Toggles Mod Mode on or off.                                        |
| `/mod target <player>` | `crown.mod.use` | Sets a specific player as the "Target" for tools (Freeze, Punish). |
| `/mod settings`        | `crown.mod.use` | Opens the personal settings GUI.                                   |

***

### Moderator Tools

Upon entering Mod Mode, the hotbar is populated with configurable tools. These interact with the world or players based on click actions.

<table><thead><tr><th>Tool Name</th><th width="129">Default Slot</th><th>Left Click Action</th><th>Right Click Action</th></tr></thead><tbody><tr><td><strong>Player Selector</strong></td><td>1</td><td><strong>Open Profile</strong><br><em>(Shift: Open Punish Menu)</em></td><td><strong>Select Player</strong> (Chat Input)<br><em>(Shift: Clear Selection)</em></td></tr><tr><td><strong>Vanish Tool</strong></td><td>2</td><td>—</td><td><strong>Enter Spectator</strong> (3s No-Clip)<br><em>(Shift: Toggle Vanish)</em></td></tr><tr><td><strong>Settings Tool</strong></td><td>3</td><td>—</td><td>Open Personal Settings Menu</td></tr><tr><td><strong>Freeze Tool</strong></td><td>4</td><td><strong>Unfreeze</strong> Target</td><td><strong>Freeze</strong> Target</td></tr><tr><td><strong>Inspect Tool</strong></td><td>5</td><td>—</td><td><strong>Open Profile</strong> / InvSee</td></tr><tr><td><strong>Teleport Tool</strong></td><td>6</td><td><strong>Surface TP</strong> (Top Block)</td><td><strong>Boost</strong> (Dash Forward)</td></tr><tr><td><strong>Random TP</strong></td><td>7</td><td>—</td><td><strong>TP to Target</strong><br><em>(Shift: Random Player)</em></td></tr><tr><td><strong>Tool Selector</strong></td><td>9</td><td>—</td><td>Open menu to equip/favorite tools</td></tr></tbody></table>

{% hint style="info" %}
**Tip:** You can customize which tools appear in your hotbar by right-clicking the **Tool Selector** and "Favoriting" items.
{% endhint %}

***

### Personal Settings

Every moderator can customize their experience using the Settings Menu. Preferences are saved to the database.

**Access:** Right-click the **Settings Tool** or run `/mod settings`.

| Setting                | Description                                                                                 |
| ---------------------- | ------------------------------------------------------------------------------------------- |
| **World Interactions** | If enabled, it allows interaction with blocks and entities. Default: **Disabled**.          |
| **Container Spy**      | If enabled, opening chests is silent and does not trigger animations. Default: **Enabled**. |
| **Silent Mode**        | If enabled, will simulate that you are not connected to the server. Default: **Enabled**.   |
| **Mod on Join**        | If enabled, you automatically enter Mod Mode when joining the server.                       |
| **Glowing**            | If enabled, other players (and you) will see a glowing outline around entities.             |
| **Night Vision**       | Toggles permanent night vision effect.                                                      |
| **Speed Settings**     | Adjust Walk Speed, Fly Speed, and Jump Boost multipliers.                                   |
