Перейти к основному содержимому

Commands

Quest Codex Command

CommandPermissionDescription
/tw codextypewriter.codex.openOpen the main codex menu: the category_menu with an empty category if one exists, otherwise the entry referenced by the config's mainMenuTrigger (e.g. a custom open_gui hub). (Since 0.3.0.)
/tw codex <category>typewriter.codex.openOpen a specific quest category. Tab-completion suggests available categories.

Examples

/tw codex → Opens the main codex menu
/tw codex main_quests → Opens the main_quests category
/tw codex dungeons → Opens the dungeons category

Tip: Alternatively, build the main menu as a GUI Extension open_gui entry whose buttons run codex:open <category> — the codex command handlers work from any GUI session, and the codex BACK button returns to it via the session history.

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.

CommandTriggerAction
codex:nav <action>Navigation button clickExecutes a navigation action (BACK, CLOSE, SORT, PAGE_NEXT, PAGE_PREV)
codex:open <category>Category icon clickOpens the specified category menu
codex:quest <quest_id>Quest button clickTracks/untracks the specified quest