> For the complete documentation index, see [llms.txt](https://code-after-sex.gitbook.io/script-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://code-after-sex.gitbook.io/script-documentation/cas-metabolism-v2/commands.md).

# Commands

Player and admin commands for CAS Metabolism V2 on RedM — the /hud settings panel, /relieve, and admin metabolism tools gated behind an ace permission.

## For players

| Command    | Key  | What it does                 |
| ---------- | ---- | ---------------------------- |
| `/hud`     | `F7` | Opens the HUD settings panel |
| `/relieve` | `G`  | Relieve yourself             |

Both keys are bound through the game's own keybinding system, so a player can change them in **Settings → Key Bindings → FiveM**.

The settings panel lets each player move, resize, recolour and re-icon every element, pick between three drawn icons per element, and switch °C/°F and kg/lbs. Their choices are saved to their character.

***

## For admins

These need the ace permission `cas.metabolism`:

```cfg
add_ace group.admin cas.metabolism allow
```

| Command                          | What it does                       |
| -------------------------------- | ---------------------------------- |
| `/metabolism [id]`               | Show a player's current values     |
| `/metabolismreset [id]`          | Put a player back to full          |
| `/metabolismitems [id] [amount]` | Give every consumable, for testing |

Change the permission name with `Config.Debug.permission`.

***

## For setting the server up

These only exist while `Config.Debug.enabled = true`. It ships **off**, and it should stay off on a live server — with it on, every one of these is open to every player.

| Command                   | What it does                                                  |
| ------------------------- | ------------------------------------------------------------- |
| `/needs`                  | Every need, what is empty, and how long until death           |
| `/setneed <need> <0-100>` | Set hunger, thirst, hygiene, urine, stress, alcohol or weight |
| `/weight [0-100]`         | Set weight, and show which body rungs it maps to              |
| `/temp`                   | The temperature reading and everything feeding it             |
| `/calm`                   | What is currently lowering stress                             |
| `/hudwhy`                 | Why the HUD is hidden, rule by rule                           |
| `/bb [name] [value]`      | Test a body-language blackboard                               |
| `/drunkfall`              | Force a drunken fall                                          |
| `/metabolismtest`         | Test an eating animation                                      |
| `/metabolismnatives`      | Which natives resolved on this build                          |

{% hint style="danger" %}
`/setneed` and `/weight` let a player set their own values. Leave `Config.Debug.enabled = false` on anything public.
{% endhint %}
