> For the complete documentation index, see [llms.txt](https://docs.rainmad.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rainmad.com/resources/watch-admin-menu/features/the-admin-menu.md).

# The admin menu

## Opening it

| What            | Command         | Default key | Set in                                             |
| --------------- | --------------- | ----------- | -------------------------------------------------- |
| Admin menu      | `/watch`        | F6          | `cfg.admin.command`, `cfg.admin.key`               |
| Quick wheel     | `/watchquick`   | F7          | `cfg.admin.quickCommand`, `cfg.admin.quickKey`     |
| Inspector       | `/watchinspect` | F8          | `cfg.admin.inspectCommand`, `cfg.admin.inspectKey` |
| Command palette | `/watchpalette` | none        | `cfg.power.paletteCommand`, `cfg.power.paletteKey` |

Each player can rebind the keys in **Settings > Key Bindings > FiveM**. What you see depends on your role: a tab or button your role cannot use is not shown.

{% hint style="warning" %}
F8 is also FiveM's own console key. If pressing F8 opens both, set `cfg.admin.inspectKey` to another key, or rebind **Toggle the entity inspector** in the key bindings.
{% endhint %}

{% hint style="info" %}
**RedM:** keys are game controls set in `cfg.lua`, not bindings. See [Differences from FiveM](https://docs.rainmad.com/resources/watch-admin-menu/redm/differences-from-fivem#keys).
{% endhint %}

## Tabs

| Tab                             | What it is for                                                                                                                                                                                             |
| ------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Dashboard**                   | Players online, a population graph, the heat map, server numbers and the latest staff actions. See [Dashboard](https://docs.rainmad.com/resources/watch-admin-menu/features/dashboard-and-server-metrics). |
| **Players**                     | Search everyone online and offline, open a profile, act on a player. See [Player actions](https://docs.rainmad.com/resources/watch-admin-menu/features/player-actions-and-the-inspector).                  |
| **Tickets**                     | The `/report` inbox. See [Tickets](https://docs.rainmad.com/resources/watch-admin-menu/features/tickets).                                                                                                  |
| **Staff chat**, **Staff voice** | See [Staff chat](https://docs.rainmad.com/resources/watch-admin-menu/features/staff-chat) and [Voice](https://docs.rainmad.com/resources/watch-admin-menu/features/voice-notes-and-staff-voice).           |
| **Bans**                        | Search active and past bans, ban an offline player by identifier, unban.                                                                                                                                   |
| **Moderation**                  | Mutes, community service, whitelist, blacklist, appeals. See [Moderation](https://docs.rainmad.com/resources/watch-admin-menu/features/mutes-community-service-whitelist-and-appeals).                     |
| **Queue**                       | The connection queue, see [below](https://docs.rainmad.com/resources/watch-admin-menu/features/the-admin-menu#queue).                                                                                      |
| **Staff**                       | Groups, members and Discord roles. See [Roles and groups](https://docs.rainmad.com/resources/watch-admin-menu/permissions/roles-and-groups).                                                               |
| **Self**                        | Noclip, godmode, invisible, name tags, your duty state.                                                                                                                                                    |
| **Economy**                     | Rich list, invoices, jobs, armour and identity. See [Economy and data](https://docs.rainmad.com/resources/watch-admin-menu/features/economy-and-data).                                                     |
| **Vehicles**                    | Spawn, repair, flip, delete, and the owned vehicle list. See [Vehicles](https://docs.rainmad.com/resources/watch-admin-menu/features/vehicles).                                                            |
| **Teleport**                    | Jump to a place from `cfg.admin.locations` or to your waypoint.                                                                                                                                            |
| **Server**                      | Announcements, everyone tools, weather and time, vehicle cleanup, see [below](https://docs.rainmad.com/resources/watch-admin-menu/features/the-admin-menu#server).                                         |
| **Community**                   | Events, polls, teams and markers. See [Community](https://docs.rainmad.com/resources/watch-admin-menu/features/events-polls-teams-and-markers).                                                            |
| **Blips**                       | Blips staff placed for everyone, grouped by category.                                                                                                                                                      |
| **Items**                       | Every item your inventory knows, and who holds it.                                                                                                                                                         |
| **Console**                     | Owner only. The live server console, a command line and the resource list.                                                                                                                                 |
| **Logs**                        | Every staff action, searchable.                                                                                                                                                                            |

The **Staff online** button at the top right lists the staff online now, their role and whether they are on duty.

## Server

**General** has the announcement box, heal or revive **Everyone**, and three cards:

* **Vehicle Delete** counts down to the next removal of unused vehicles. **Update** sets the interval and the warning, **Delete now** runs it at once. A vehicle is kept when somebody sits in it, a player stands within `cfg.cleanup.keepNearMeters`, a script asked to keep it, or (with `cfg.cleanup.keepOwned`) a player owns its plate. The interval you save here is kept across restarts and wins over `cfg.lua`.
* **Server time** and **Weather** show what everyone sees now.

**Weather and time** sets the weather, the hour, freeze time and blackout. It needs a supported weather script, see [Bridges](https://docs.rainmad.com/resources/watch-admin-menu/configuration/bridges).

```lua
cfg.cleanup = {
    everyMinutes = 0,       -- 0 = only by hand, until changed in the menu
    warnSeconds = 60,
    keepNearMeters = 30.0,  -- 0 turns the distance check off
    keepOwned = true,       -- keep cars whose plate a player owns
}
```

## Queue

With `cfg.queue.enabled = true`, rm\_watch holds players in a queue when the server is full. Turn off the stock `hardcap` resource when you switch it on.

```lua
cfg.queue = {
    enabled = false,
    reservedSlots = 2,          -- held back for staff and priority players
    reservedMinPriority = 100,  -- 0 to 1000, priority needed for a reserved slot
    staffUseReserved = true,
    maxWaitMinutes = 60,
    priority = { ['discord:1234'] = 500 },  -- identifier = priority, 0 to 1000
}
```

The **Queue** tab shows who is waiting with their priority, and staff can admit or remove anyone. Other scripts can add priority, see [Exports and events](https://docs.rainmad.com/resources/watch-admin-menu/reference/exports-and-events#queue).

## Console

Owner only, in game. The server console as it prints (errors red, warnings amber), a command line with history, and every resource with start, stop and restart. A command runs as the resource, so restricted ones need an ace line, see [server.cfg lines](https://docs.rainmad.com/resources/watch-admin-menu/configuration/server.cfg-lines). rm\_watch cannot stop itself, and FXServer refuses to stop `spawnmanager`, `mapmanager`, `baseevents`, `chat`, `sessionmanager` and `monitor` from a script.

## Duty

`/duty` switches your duty state. With `cfg.admin.duty.required = true`, staff must be on duty before acting. On duty staff show a role tag over their head (`cfg.admin.duty.tag`) and can wear a uniform:

```lua
cfg.admin.duty.clothing = {
    enabled = true,
    components = {
        { component = 11, drawable = 314, texture = 0 }, -- torso
        { component = 4, drawable = 35, texture = 0 },   -- legs
    },
}
```

The uniform goes on when you go on duty and your own outfit comes back when you go off.
