Skip to main content

Paper Dialog

Displays a native Paper dialog menu with various button types and input fields. Requires Paper 1.21.6+.

Configuration

FieldTypeDescription
displayNameVar<String>Dialog title
messageVar<String>Body text (supports multiline)
buttonsList<DialogButtonConfig>List of buttons and inputs
showExitButtonVar<Boolean>Show/hide the exit button
columnsVar<Int>Number of button columns

Button Types

Action Button

Simple button that executes a command when clicked.
FieldTypeDescription
labelVar<String>Button text
commandVar<String>Command to execute

Text Input

Text field with a submit button.
FieldTypeDescription
labelVar<String>Input label
buttonLabelVar<String>Submit button text
commandVar<String>Command (use $(input) for value)
initialStringDefault text value
maxLengthIntMaximum character limit
maxLinesIntMaximum lines for multiline

Boolean Toggle

On/Off toggle switch.
FieldTypeDescription
keyVar<String>Variable key for placeholder
labelVar<String>Toggle label
onTrueVar<String>Text when enabled
onFalseVar<String>Text when disabled
commandVar<String>Command (use $(<key>) for value)

Multiple Choice

Dropdown/list selector.
FieldTypeDescription
labelVar<String>Selector label
optionsVar<String>Comma-separated options (suffix * for default)
commandVar<String>Command (use $(choice) for value)

Number Range

Slider for numeric values.
FieldTypeDescription
keyVar<String>Variable key for placeholder
labelVar<String>Slider label
startVar<Int>Minimum value
endVar<Int>Maximum value
stepVar<Int>Step increment
commandVar<String>Command (use $(<key>) for value)

Requirements

[!IMPORTANT] This extension requires Paper 1.21.6+ with the native Dialog API.