You can now define gui actions (events that run upon a frozen player clicking an item in the frozen gui)
There are two types of actions as of right now (if you want more types send me a message)
MessageFreezerAction
CommandsAction
NOTE: Events will run in the order that they are defined
Heres how you define these actions:
Code (YAML):
freeze-gui:
items:
item-name: # Actions that run on click gui-actions: # Messages freezer when player clicks item message-freezer:
message: '&b
{PLAYER
} &7has clicked the item'
# Run commands when player clicks item run-commands:
commands: - 'broadcast &b
{PLAYER
} &7who was frozen by &b
{FREEZER
} &7clicked the item'