> For the complete documentation index, see [llms.txt](https://kazescripts.gitbook.io/kazescripts/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kazescripts.gitbook.io/kazescripts/kaze_inventory/commands.md).

# Commands

Admin commands, keys and permissions.

## Keys

| Key            | Action                           |
| -------------- | -------------------------------- |
| **TAB**        | Open the inventory               |
| **1** to **5** | Use a hotbar slot                |
| **Z** (hold)   | Show the hotbar                  |
| **R**          | Reload from ammo in your pockets |

Keys can be changed by each player in FiveM's key bindings, and the defaults in `Config.Keys`.

## Admin commands

| Command                                    | Use                                 |
| ------------------------------------------ | ----------------------------------- |
| `/giveitem [id] [item] [count] [metadata]` | Give an item. `id` can be `me`      |
| `/removeitem [id] [item] [count]`          | Remove an item                      |
| `/clearinv [id]`                           | Clear a player's pockets            |
| `/viewinv [id]`                            | Open a player's inventory           |
| `/saveinv`                                 | Save every inventory now            |
| `/invcreator`                              | Item, bench, shop and stash creator |
| `kzinvmigrate` (server console)            | Run the ox, qb or ESX import again  |

Rename any command in `Config.Commands`.

## Permissions

Admin commands work for framework admins, or players with the ace:

```cfg
add_ace group.admin kaze_inventory.admin allow
```
