> For the complete documentation index, see [llms.txt](https://mvs-2.gitbook.io/mvs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mvs-2.gitbook.io/mvs/tebex/ultimate-hotkeys-script/commandlist-key-categories.md).

# 📌 CommandList: Key Categories

The **CommandList** allows you to create categories for different keybinds.

Each category contains:

* **`label`**: The name of the category
* **`description`**: A short description of what the category includes
* **`keysList`**: The list of keybinds inside that category

#### Example Category Structure:

```lua
["example_category"] = {  
    label = "Example Category",
    description = "All keybinds for Example actions",
    keysList = {
        ["example_action"] = {
            label = "Example Action",
            type = "client",  -- Runs a client-side event
            trigger = "example_event",
            defaultKey = "E"
        }
    }
}
```

#### Supported **`type`** Values:

| Type      | Description                  |
| --------- | ---------------------------- |
| `client`  | Triggers a client-side event |
| `server`  | Triggers a server-side event |
| `command` | Executes a command           |
