KyoriPowered / adventure

A user-interface library, formerly known as text, for Minecraft: Java Edition
https://docs.advntr.dev/
MIT License
679 stars 105 forks source link

Tag resolvers don't apply in click actions #964

Closed NonSwag closed 10 months ago

NonSwag commented 10 months ago

I have a chat plugin which provides a tag for the message sent by the player (<message>). I want to copy the message by clicking it, but it literally copies <message> instead of the actual message.

Here is the important part of the mini message: <click:copy_to_clipboard:'<message>'><message>

I've tried to remove the apostrophes ('), but that's malformed syntax

Observed behavior: Screenshot from 2023-08-19 01-48-23

Expected behavior: image

kezz commented 10 months ago

What is your tag? It will only work if it is a parsed tag as the argument for a click action is a literal string.