| Name | showdialog |
| Syntax | showdialog [<dialog>] (def:<ListTag>) |
| Short Description | Opens a custom Paper dialog for a player. |
| Full Description | Opens a Paper-native dialog window for the player linked to the script queue.
The dialog layout must be defined in a dialog script container, see Dialog Script Containers. Optionally specify a list of definitions to pass in, named by the container's 'definitions' key, in the same way run passes definitions to a task script. These, along with any other definitions in the queue at the time, remain available to the scripts attached to the dialog's buttons, which run later, when the button is clicked. |
| Related Tags | None
|
| Usage Example | |
| Usage Example | |
| Group | player |
| Requires | Paper |
| Source | https://github.com/MINEZ/Denizen/blob/dev/paper/src/main/java/com/denizenscript/denizen/paper/commands/ShowDialogCommand.java#L39 |