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

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.

Поля

ПолеТипПо умолчаниюОписание
puzzleEntryIdsList<String>emptyPuzzle entry IDs shown in the chat menu.
titleTextVar<String><gold><bold>Puzzles</bold> <gray>-First line of the chat menu. Leave it empty to show no title line.ПлейсхолдерыЦвета
puzzleLineTextVar<String><green>{puzzle} <gray>- <aqua>click to startLine shown for each puzzle, clicking it starts the puzzle. {puzzle} is the id of the puzzle entry.ПлейсхолдерыЦвета
footerTextVar<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)
ПолеТипПо умолчаниюОписание
criteriaList<Criteria>empty—
modifiersList<Modifier>empty—
triggersList<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.