Puzzle Menu
Puzzle Menu
Public-build menu action. It intentionally uses chat components instead of the BTC GUI editor, keeping the public artifact free of private GUI APIs.
字段
| 字段 | 类型 | 默认值 | 描述 |
|---|---|---|---|
puzzleEntryIds | List<String> | empty | Puzzle entry IDs shown in the chat menu. |
titleText | Var<String> | <gold><bold>Puzzles</bold> <gray>- | First line of the chat menu. Leave it empty to show no title line.占位符颜色 |
puzzleLineText | Var<String> | <green>{puzzle} <gray>- <aqua>click to start | Line shown for each puzzle, clicking it starts the puzzle. {puzzle} is the id of the puzzle entry.占位符颜色 |
footerText | Var<String> | <gray>Use <white>/typewriter puzzle stop<gray> to stop all active puzzles. | Last line of the chat menu. Leave it empty to show no closing line.占位符颜色 |
TypeWriter 通用字段(criteria, modifiers, triggers)
| 字段 | 类型 | 默认值 | 描述 |
|---|---|---|---|
criteria | List<Criteria> | empty | — |
modifiers | List<Modifier> | empty | — |
triggers | List<Ref<TriggerableEntry>> | empty | — |
How to use it
List the entry ids of your puzzles in puzzleEntryIds. The action prints a chat menu where each line is clickable and runs /typewriter puzzle start <id>. /typewriter puzzle without arguments opens the first Puzzle Menu entry found. Entries listed but not registered are skipped.