Dialog Menu
The Dialog Menu Extension leverages Paper's native dialog API (1.21.6+) to display interactive menus with various input types.
- Source Code — View source on GitHub.
- Download Releases — Get the latest JARs.
Features
- Native UI — Uses Paper Dialog API.
- Input Types — Text, Toggles, Sliders.
- Placeholders — Dynamic content support.
- Commands — Buttons execute commands.
Entries
- Actions — Paper Dialog: Display menu.
Button Types
| Type | Description | Placeholder |
|---|---|---|
| Action | Simple button | N/A |
| Trigger | Fires Typewriter entries directly | N/A |
| Input | Text field | $(<key>) (default input) |
| Toggle | On/Off switch | $(<key>) |
| Choice | Dropdown list | $(<key>) (default choice) |
| Slider | Number range | $(<key>) |
Dialog Types
| Type | Description |
|---|---|
| MULTI_ACTION | Grid of buttons (default) |
| CONFIRMATION | Vanilla yes/no window |
| NOTICE | Single-button notice |
An optional item can be showcased in the dialog body, and the after-action behaviour (close, stay open, wait) is configurable.
[!IMPORTANT] Requires Paper 1.21.6+.
Quick Start
- 1. Trigger Actions — Use action entries to interact with the extension: paper_dialog. Trigger them from commands, NPCs, events, or other entries. → paper_dialog
Placeholders
All placeholders use the prefix %typewriter_dialogmenu_.
| Placeholder | Description |
|---|---|
%typewriter_dialogmenu_inmenudialog% | Returns the current value for inmenudialog. |