#(dotheflopboy) .on_hover[] not working in chat format with on player chats event

17 messages · Page 1 of 1 (latest)

crystal wing
#

Hey, i wanted to use .on_hover[] to display information about player if you hover over its name in chat.
I use on player chats event to make custom chat format and use a chat format script but if i want to use hover in it. it doesn't work.

hoary inletBOT
#

(dotheflopboy) .on_hover[] not working in chat format with on player chats event

hoary inletBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.

fast laurel
#

!debug

hard escarpBOT
# fast laurel !debug
Info: debug

If you need help with a script issue, one of the most powerful tools Denizen has to offer is full debug output. This is displaying in your console whenever scripts are running until you turn debug off. To share a debug log quickly and easily with helpers, simply run the command /denizen debug -r in-game to begin recording, then run through the part of the script you need help with, then run the command /denizen submit. This will give you a link to a paste of the debug log, which you can then copy/paste back to us!

frail cove
#

You need to use narrate to use these fancy features and cancel the chat event.

#

!lang Denizen text formatting

hard escarpBOT
# frail cove !lang Denizen text formatting

Denizen provides a variety of special chat format options like "on_hover" and "on_click".
These options exist within Denizen and do not appear in the historical Minecraft legacy chat format that most plugins and systems read.
That legacy system has 16 colors (0-9, A-F) and a few toggleable formats (bold, italic, etc). It does not contain anything that needs more than just an on/off.

Modern Minecraft, however, supports a JSON based "raw" message format that can do click events, hover events, full RGB colors, etc.

Denizen therefore has its own internal system that works like the legacy format system, but also supports the new options normally only available as 'raw JSON'.

Because it is entirely processed within Denizen, these options only work within Denizen, when performing actions that ...

Group

Denizen Magic

crystal wing
#

fine i will test

crystal wing
#

yes it works. but now i have somehow also narrate msg into console

steep trail
#

That's the unfortunate part yes.

heady panther
frail cove
#

I tested and have to :(

frail cove
heady panther
#

Oh wait, Paper does have an alternative event with advanced text support, but it doesn't look like Denizen implements it currently?

frail cove
#

Oh so it's a feature request then? vicksyAYAYAW