Recent Discussions
/tellraw action "open_url" help
Unanswered
Cicada killer posted this in #questions
10 messages
0 views
Cicada killerOP
Am I doing something wrong with command below? The text from this command does show in chat, but clicking it doesn't do anything. I know a lot of plugins are having trouble since 1.21.6 with clickable text, is this related? Did the action name change or the event name change?
/tellraw @a {"text":"Add Epic text here","color":"#02FF00","clickEvent":{"action":"open_url","value":"https://myLink.com"}}@Cicada killer Am I doing something wrong with command below? The text from this command does show in chat, but clicking it doesn't do anything. I know a lot of plugins are having trouble since 1.21.6 with clickable text, is this related? Did the action name change or the event name change?
/tellraw @a {"text":"Add Epic text here","color":"#02FF00","clickEvent":{"action":"open_url","value":"https://myLink.com"}}
Western thatching ant
Do you have WebLinks enabled in your clients' chat settings?
Gharial
1.21.5 changed the
clickEvent to click_event.@Western thatching ant Do you have WebLinks enabled in your clients' chat settings?
Cicada killerOP
Yes I do and I use weblinks from Paper plugins often.
@Gharial 1.21.5 changed the
clickEvent to click_event. Cicada killerOP
Thanks, I tried that but it doesn't work. The text still doesn't do anything when clicked.
I also tried run_command, and that's not working either. Makes me think this is something wrong with either tellraw or click_event.
I also tried run_command, and that's not working either. Makes me think this is something wrong with either tellraw or click_event.
/tellraw @s {"text":"Add Epic text here","color":"#02FF00","click_Event":{"action":"run_command","value":"/minecraft:give @s minecraft:stone_sword 1"}}Cicada killerOP
If anyone else knows what might be going on here or if you can confirm that clickevent is working on Paper 1.21.7, I would really appreciate it. I understand this might be a Paper bug, but I don't wan to peseter this if I'm the one doing something wrong.
Gharial
Oh, also use
command instead of value. And make sure that click_event is fully lowercase.@Cicada killer
@Gharial Oh, also use
command instead of value. And make sure that click_event is fully lowercase. Cicada killerOP
Ya the property for open_url got changed also to
url, so I needed this command to work. Thanks!/tellraw @a {"text":"Add Epic text here","color":"#02FF00","click_event":{"action":"open_url","url":"https://mylink.com"}}thanks Ardakaz and Sytex, it's working now
Loading...
Loading...