[3.3.7] Custom Hover & Click events to messages.yml!
Changelog:
Action Messages | This has been requested quite a few times and has now finally been implemented with this update. It has been made completely custom and you can also have messages execute commands not associated with Pocket Games!
Below is the syntax options for an action message: - ["Message","/Command"] - ["Message","Hover"] - ["Message","Command","Hover"] Do not add spaces between the commas and quotes. This will break the custom action event parser.
Example message:
Code (YAML):
Messages:
duelInviteReceived: '
%prefix% &a%player% has invited you to play %game%! Click to ["&a&nAccept","/pg duel accept","&aClick to accept!"] &aor ["&c&nDeny","/pg duel deny","&cClick to deny!"]&a!'
The above message is the new standard message for new files. Feel free to replace the old one yourself with this one.
As mentioned this can be completely customized with any hover event or command you want. It does not only have to link to Pocket Games commands or functions. All messages are compatible with hover and click event messages.