Actions & Inputs

Button actions

ActionBehavior
player: <command>Runs a command as the clicking player. Do not include the leading slash.
console: <command>Runs a command as console.
message: <MiniMessage>Sends formatted text to the clicking player.
menu: <menu-id>Opens another configured CustomMenu dialog.
closeCloses the current dialog.

Multiple actions on one button execute from top to bottom.

Action placeholders

PlaceholderValue
%player%Clicking player name.
%uuid%Clicking player UUID.
%input_<key>%Value submitted by an input with the matching key.

Player-provided input is validated/sanitized before command substitution and escaped before MiniMessage substitution.

Input types

TypeImportant options
textwidth, max-length, initial; optional multiline settings such as max-lines and height.
booleaninitial, on-true and on-false. Quote values such as "yes"/"no" in YAML.
numbermin, max, step and initial.
optionoptions list containing ids/display labels and initial selection.

After-action modes

ValueBehavior
closeClose after the action. Default.
noneKeep the dialog open.
wait_for_responseShow the client waiting state until the server acts.