> ## Documentation Index
> Fetch the complete documentation index at: https://docs.borntocraftstudio.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Commands

> Commands for accessing the Quest Codex.

## Quest Codex Command

| Command                | Permission              | Description                                                                   |
| :--------------------- | :---------------------- | :---------------------------------------------------------------------------- |
| `/tw codex <category>` | `typewriter.codex.open` | Open a specific quest category. Tab-completion suggests available categories. |

### Examples

```
/tw codex main_quests      → Opens the main_quests category
/tw codex dungeons         → Opens the dungeons category
```

> **Tip:** Use the GUI Extension's `open_gui` entry or demo hub to create a main menu linking to your categories.

## In-GUI Commands

These commands are used internally by navigation buttons in the `category_menu` layout pool. You don't need to run them manually.

| Command                  | Trigger                 | Action                                                                   |
| :----------------------- | :---------------------- | :----------------------------------------------------------------------- |
| `codex:nav <action>`     | Navigation button click | Executes a navigation action (BACK, CLOSE, SORT, PAGE\_NEXT, PAGE\_PREV) |
| `codex:open <category>`  | Category icon click     | Opens the specified category menu                                        |
| `codex:quest <quest_id>` | Quest button click      | Tracks/untracks the specified quest                                      |
