Geyser: Chat clickable link support

Created on 26 Sep 2020  Â·  10Comments  Â·  Source: GeyserMC/Geyser

What feature do you want?
Currently Bedrock simply has no support for URLs/running commands in chat. This is being put up as a possible discussion of getting around that.

Alternatives?
Not sure of any alternatives at this point.

Can't Fix Feature Request Missing Client Feature

Most helpful comment

join and confirm, waiting for support for clicks in the chat!

All 10 comments

Maybe send the links and stuff in chat? I know that's a bad workaround but it works™

It doesn't, a lot of servers have a click event that will run a command or something

join and confirm, waiting for support for clicks in the chat!

fawe use this function (load schem and schem list example)

Maybe interactive chat gui or something.

That's not possible

I mean, replacing chat with separate GUI.

Log the hover events in geyser, so that when for example hypixel sends "Join party- click here", it is replaced with something like "Join party- click here (or run /hoverevent a)". When the player does run /hoverevent a , the stored command is run in place of it?

Java uses plain tellraw to do clickable chat

Example.
“/tellraw @a {"text":"clickable","clickEvent":{"action":"run_command","value":"/say done"}}”

If geyser can read the {“text”:} portion of the tellraw there could be a “/select” command setup where (in this case) you could type “/select clickable”, and it would run the action.

If there are multiple of the same clickevents with the same {“text”:} there could be a way to order them by appearance, Ex. “/select clickable 1”, “/select clickable 2”

To save time you could select with only the first few letters maybe? Like “/select cl 1”? (To make it easier it can just auto select the first tellraw that appeared so they dont have to type in a number everytime)

Java uses plain tellraw to do clickable chat

Example.
“/tellraw @A {"text":"clickable","clickEvent":{"action":"run_command","value":"/say done"}}”

If geyser can read the {“text”:} portion of the tellraw there could be a “/select” command setup where (in this case) you could type “/select clickable”, and it would run the action.

If there are multiple of the same clickevents with the same {“text”:} there could be a way to order them by appearance, Ex. “/select clickable 1”, “/select clickable 2”

To save time you could select with only the first few letters maybe? Like “/select cl 1”? (To make it easier it can just auto select the first tellraw that appeared so they dont have to type in a number everytime)

Using this method you could choose which clickable link you want to press using "/select clickable 1 or 2" then display the link as a command auto correct or paste the link into the command section (whichever is possible) so that the player can copy the link and paste it in a web browser

Was this page helpful?
0 / 5 - 0 ratings