Unofficial site, not affiliated with modrinth.com.What is this?
Плагины/FancyDialogs

1.1.2

Release3 мес. назад

Список изменений

Added arguments (#182)

  • Add support for dynamic arguments in dialogs via dialog.open(player, args)
  • Arguments can be referenced in dialog content using {arg:0}, {arg:1}, etc.
  • Arguments work in title, body text, input labels/placeholders, button labels/tooltips, and clipboard actions
  • Updated /dialog open command to accept optional arguments
  • Updated open_dialog action and FancyNpcs integration to support arguments

Added requirements (#201)

Created a new configuration option to Buttons & Inputs (Checkbox, Select, Textfield) to have a requirement for it to appear in a dialog. Currently these requirements are permission or string match - being

requirements: {
  "type": "permission",
  "permission": "my.permission"
}

or

requirements: {
  "type": "stringMatch",
  "input": "%player_name%",
  "output": "mesemi"
}

resulting in the item displaying if conditions are met (perm is held, or %player_name% resolves to mesemi)

Exit actions, widths and columns (#204)

  • Added width for buttons, selects and textfields
  • Added columns for dialogs (for dialogs that match multi_action, a "column" parameter can be used to change columns)
  • Added exitAction for multi_action dialogs (basically a footer button with custom action, but mainly for close buttons)

Thank you to WiFlow and mesemi for their contributions to these features!

Метаданные

Канал релиза

Release

Номер версии

1.1.2

Загрузчики

Folia
Paper

Версии игры

1.21.6–1.21.11

Загрузок

778

Дата публикации

3 мес. назад

Загрузил

ID версии

Главная