Paper Dialog
Displays a native Paper dialog menu with various button types and input fields. Requires Paper 1.21.6+.Configuration
| Field | Type | Description |
|---|---|---|
displayName | Var<String> | Dialog title |
message | Var<String> | Body text (supports multiline) |
buttons | List<DialogButtonConfig> | List of buttons and inputs |
showExitButton | Var<Boolean> | Show/hide the exit button |
columns | Var<Int> | Number of button columns |
Button Types
Action Button
Simple button that executes a command when clicked.| Field | Type | Description |
|---|---|---|
label | Var<String> | Button text |
command | Var<String> | Command to execute |
Text Input
Text field with a submit button.| Field | Type | Description |
|---|---|---|
label | Var<String> | Input label |
buttonLabel | Var<String> | Submit button text |
command | Var<String> | Command (use $(input) for value) |
initial | String | Default text value |
maxLength | Int | Maximum character limit |
maxLines | Int | Maximum lines for multiline |
Boolean Toggle
On/Off toggle switch.| Field | Type | Description |
|---|---|---|
key | Var<String> | Variable key for placeholder |
label | Var<String> | Toggle label |
onTrue | Var<String> | Text when enabled |
onFalse | Var<String> | Text when disabled |
command | Var<String> | Command (use $(<key>) for value) |
Multiple Choice
Dropdown/list selector.| Field | Type | Description |
|---|---|---|
label | Var<String> | Selector label |
options | Var<String> | Comma-separated options (suffix * for default) |
command | Var<String> | Command (use $(choice) for value) |
Number Range
Slider for numeric values.| Field | Type | Description |
|---|---|---|
key | Var<String> | Variable key for placeholder |
label | Var<String> | Slider label |
start | Var<Int> | Minimum value |
end | Var<Int> | Maximum value |
step | Var<Int> | Step increment |
command | Var<String> | Command (use $(<key>) for value) |
Requirements
[!IMPORTANT] This extension requires Paper 1.21.6+ with the native Dialog API.