> For the complete documentation index, see [llms.txt](https://daddy-studios.gitbook.io/daddy-studios-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://daddy-studios.gitbook.io/daddy-studios-docs/scripts/daddy-admin/commands-and-keys.md).

# Commands & Keys

Every command checks the same permission as the matching button in the menu. Staff commands are only registered for staff, so they never hide other scripts' commands for normal players.

`Config.Commands` in `config/shared.lua` renames a command or turns it off:

```lua
Config.Commands = {
    heal = 'aheal', -- /heal is the EMS command of qbx_ambulancejob, so the admin one is /aheal
    -- tp = false,  -- turn a command off
}
```

## Menus

| Command                                                       | What it does                                   |
| ------------------------------------------------------------- | ---------------------------------------------- |
| `F9`, `/admin`, `/adminquick`, `/quick`, `/qadmin`, `/eadmin` | Quick menu                                     |
| `/adminp`, `/adminpanel`, `/panel`                            | Full panel                                     |
| `/adminclaim`                                                 | Enter the one-time owner code                  |
| `/report`, `/support`                                         | Ticket form and "My tickets", for every player |

`F9` is a key binding, players can change it in **Settings > Key Bindings > FiveM**. The default key is `Config.OpenKey`.

### Quick menu keys

| Key              | Action                                                      |
| ---------------- | ----------------------------------------------------------- |
| `ALT`            | Give the mouse back to the game, the menu stays open        |
| `TAB`            | Next section                                                |
| Up / Down arrows | Move between rows; actions on a player open a player picker |
| `Enter`          | Run the row                                                 |
| `F`              | Pin the row to favorites                                    |
| `Esc`            | Clear the search, then close                                |

### Activities

Spectate, screen watching, object inspection, the placer and flying from the full panel hide the menu and show a small HUD with the keys.

| Key                                | Action                                          |
| ---------------------------------- | ----------------------------------------------- |
| `Backspace`, `Esc` or the menu key | End the activity, the menu comes back as it was |
| Mouse, wheel                       | Spectate: turn and zoom the camera              |
| Left / Right arrows                | Spectate: previous or next player               |
| `E` / `R` / `G` / `H`              | Spectate: heal, revive, bring, freeze           |
| Up / Down arrows, `Enter`          | Placer: raise or lower the object, place it     |
| Right click, `F`                   | Inspect: delete the object, freeze it           |

## Self

| Command                           | What it does                                    |
| --------------------------------- | ----------------------------------------------- |
| `/noclip`, `/nc`                  | Noclip                                          |
| `/god`, `/godmode`                | Godmode                                         |
| `/invis`, `/invisible`, `/vanish` | Invisibility                                    |
| `/aheal [id]`, `/armor [id]`      | Heal or give armor, to yourself without an id   |
| `/superjump`, `/speed`            | Super jump, fast run                            |
| `/tpm`, `/tpw`                    | Teleport to the waypoint                        |
| `/tp`, `/coords`                  | Teleport to coordinates                         |
| `/tpback`, `/goback`              | Back to where you were before the last teleport |
| `/copycoords`                     | Copy your coordinates                           |
| `/staffclothing`                  | Put the staff outfit on or off                  |
| `/laser`                          | Object inspector (needs the inspect permission) |

## Players

| Command                              | What it does                                                       |
| ------------------------------------ | ------------------------------------------------------------------ |
| `/goto <id>`, `/bring <id>`          | Go to a player, bring a player                                     |
| `/freeze <id>`                       | Freeze or unfreeze                                                 |
| `/healplayer <id>`, `/kill <id>`     | Heal or kill a player                                              |
| `/spectate <id>`, `/spec <id>`       | Spectate                                                           |
| `/kick <id> <reason>`                | Kick                                                               |
| `/warn <id> <reason>`                | Warn                                                               |
| `/ban <id> <hours or perm> <reason>` | Ban, the duration is required                                      |
| `/giveitem <id> <item> [amount]`     | Give an item                                                       |
| `/givemoney <id> <account> <amount>` | Give money, account is `cash`, `bank` or another framework account |
| `/giveweapon <id> <weapon> [ammo]`   | Give a weapon                                                      |

## Staff calls

| Command          | What it does                                                |
| ---------------- | ----------------------------------------------------------- |
| `/call <id>`     | Call a player into a private voice channel, at any distance |
| `/joincall <id>` | Join another staff member's call with that player           |
| `/leavecall`     | Leave the call                                              |
| `END`            | Hang up (key binding `/hangupcall`)                         |

Settings are in `Config.Call` (pma-voice).

## Vehicles

| Command                                   | What it does                                                                            |
| ----------------------------------------- | --------------------------------------------------------------------------------------- |
| `/car`, `/v`, `/veh`, `/spawncar <model>` | Spawn a vehicle                                                                         |
| `/dv`, `/delcar`, `/delveh [radius]`      | Delete your vehicle, or vehicles in a radius (max 100 m, cars with players inside stay) |
| `/fix`, `/repair`                         | Repair                                                                                  |
| `/clean`                                  | Clean                                                                                   |
| `/max`, `/maxmods`                        | Max upgrades                                                                            |
| `/boost`, `/boostmode`, `/vgod`           | Speed boost, boost mode, vehicle godmode                                                |
| `/flip`, `/flipcar`                       | Flip the vehicle                                                                        |
| `/plate <text>`                           | Change the plate                                                                        |
| `/fuel`                                   | Fill the tank                                                                           |
| `/lock`                                   | Lock or unlock                                                                          |
| `/admincar`                               | Save the vehicle you sit in to your garage                                              |

## World and server

| Command                                   | What it does                                              |
| ----------------------------------------- | --------------------------------------------------------- |
| `/day`, `/night`, `/time <hour> [minute]` | Set the time                                              |
| `/weather`, `/setweather <type>`          | Set the weather                                           |
| `/announce <message>`                     | Server announcement                                       |
| `/cleararea [radius]`                     | Clear the area around you                                 |
| `/lockserver`                             | Maintenance mode, only staff can join (survives restarts) |

## Server console

| Command                           | What it does                                                      |
| --------------------------------- | ----------------------------------------------------------------- |
| `setadmin <id or license> <role>` | Give a role                                                       |
| `removeadmin <id or license>`     | Remove from staff                                                 |
| `daddyadmin_newcode`              | New one-time owner code                                           |
| `daddyadmin_doctor`               | Detected integrations, missing tables, scripts without an adapter |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://daddy-studios.gitbook.io/daddy-studios-docs/scripts/daddy-admin/commands-and-keys.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
