Added text type input field for dialogs. Variable like
[value] can be used in commands/opendialog sections to insert actual input value which could then be processed to your own needs
Added option to define custom value for singleton button selection in dialogs, this is to allow you to use
[value] variable inside commands or open dialog based on selected value instead of having hard preset commands. Additionally singleton section now can have base action definition set for entire singleton and not specifically for each option, which simplifies setup in case you want to use
[value] for semi dynamic outcomes
Added option to use
[value] for boolean type input in dialogs, which will replace it with true/false value depending on the selection. Optionally custom value can be defined when box is selected or not, which will output that instead of true/false
Support for
placeholders in some dialog input config sections. Check wiki page for more information
Added option to hide input, visual fields, buttons and disable entire dialogs if player doesn't have specified permission node, this allows you to hide parts of dialog UI. Keep in mind that due to how buttons work if you try to disable one of those it will be replaced with 1 pixel thick button which does nothing just to keep correct button placement in UI, this only applies when you have more than one button columns. For text and input fields, those will be completely hidden
Changed default command processing source for dialogs, previously it was done from console by default, now its done from the player, if you want to shift it back to console then add
asConsole! at the start of each command. This is just to avoid issues in the future and minimize potential exploits when players perform commands they don't have access too.
General recode/update/improvement for existing Dialog handling for simpler handling internally and for the ones which will want to use it as API