Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
Minecraft's own dialog screens, written in YAML: text boxes, dropdowns, sliders, buttons and an API.
Settings as PlaceholderAPI placeholders
PlaceholderAPI
- New:
%dialogengine_setting_<name>%is a player's value for a drawn dialog's setting (a switch, slider, dropdown or segmented control bound to<name>), so a scoreboard, chat format or another plugin can read it. RP Engine is not needed.%dialogengine_var_<name>%is the same, spelled as RP Engine spells it. - New:
%dialogengine_open%,%dialogengine_dialog%(the open dialog's id),%dialogengine_value_<key>%,%dialogengine_can_open_<id>%,%dialogengine_dialogs%and%dialogengine_version%. - A setting no dialog declares is printed as written, so a typo shows.
Drawn dialogs
- A setting the player has never clicked now reads as the choice the dialog shows, in the placeholder and in
{name}inside the dialog. A dialog drawn before this has no default saved until it is sent again from/de edit.
0.7.1: List buttons run their row's value
Drawn dialogs
- Fixed: a button on a list row ran its command with the row's placeholder still in it when PlaceholderAPI fills the list, so
party invite {player_list}answered "{player_list_1} is offline" while the row showed the player's name. The command now gets what the row shows. - Fixed: the same for a list given when the dialog is opened (
/de open server:warps Steve warps=Spawn,Shop):warp {warps}ran aswarp {warps_1}. Such a list is typed text, so an item goes into a command only when it is letters, digits,_,.and-. - Fixed: a "Run as console" button, and a button with several commands, did nothing on a list row.
- Fixed: a list set to "Repeated a number of times" could not be sent to the server when its button ran a command with the row's number (
home {home}). It failed with "the drawing runs a command dialog.yml does not have". - A command on a list row acts on what that row showed when the dialog opened, even if the list has changed since.
{name}in a drawn dialog's command now reads PlaceholderAPI by its bare name, as its words always did:{vault_eco_balance}is%vault_eco_balance%.- Fixed: with more than one drawn dialog on a server, a text box players type in could show a small square under its card. Whichever dialog's shaders were read last won; the newest copy is now the one kept.
Platforms
Paper
1.21.7–26.2