Closed Lemar98 closed 5 months ago
you have to escape the string correctly, try
<click:open_url:'https://somesite/%value1%:%value2%:%value3%'><#76ccab>Click me pls</click>
see https://docs.advntr.dev/minimessage/format.html#format for more information about escaping
It's work for me, thank you
I'm facing a problem.
if I send the player a chat message like this
<click:open_url:https://somesite/%value1%:%value2%:%value3%><#76ccab>Click me pls</click>
then when the player clicks on this message, a window will open confirming whether he wants to follow the link, but the link will be incorrect! The link in this case is cut off to the following form:https://somesite/value
.I did a little research and realized that the problem is that the link will always be cut off if it encounters a ":" sign somewhere in the endpoint. If I generate this message without using minimessage in the code, then this error no longer occurs.
I think something is not working correctly in minimessages. Correct me if I'm wrong, please.