Close Dialog
Description
Closes the target player's open dialog, if any, even from another plugin.
Servers before 1.21.8 leave it on screen. Clicks then run no MythicMobs skills, and hasDialogOpen becomes false.
Without a targeter, it uses the inherited targets, or else the caster. In button skills, that is the clicking player.
This is a Paper-Only mechanic!
This is a Premium-Only mechanic!
Attributes
This mechanic has no attributes
Examples
Closes the triggering player's dialog.
Skills:
- closeDialog @trigger
Closes the dialogs of players within 10 blocks.
Skills:
- closeDialog @PlayersInRadius{r=10}
Aliases
- hideDialog