ItemJoin

ItemJoin

157k Downloads

links dont work in the chat

viceversa03 opened this issue · 1 comments

commented

Server Version

Purpur 1.19.3

Resource Version

ItemJoin v6.0.1-RELEASE-b892

Dump Information

https://pastebin.com/V1DLNzqQ

Describe The Bug

After using the item that displays the link to the chat, I click on this link and it does not work

Expected Behavior

Links should open

Steps To Reproduce

  1. Use an item with the id "contact"
  2. Click on the link in the chat
  3. See the eror

Additional Info

No response

Checklist

  • I am running latest version of this resource.
  • I have read the wiki to make sure it's not an issue with configuration.
  • I ticked all of these boxes without actually reading them.
  • I have checked that my bug report is unique and a previous report does not exist.
commented

I apologize for the late response.

So this is a user configuration issue, not a bug. Messages as per the context are just messages, not links. If you want to utilize what is called JSON events (interactables) you must specify them as such similar to how you create a JSON book using the syntax specified in the wiki.

Here is an example I converted from your contract item;

    - 'message: <text:&7[&a✔&7] &5TikTok &f- &x&b&1&f&d&f&fwww.tiktok.com/@dreamland_ua><open_url:https://www.tiktok.com/@dreamland_ua>'

I specify the text then I specify the url to make the text clickable. There are many ways and combinations to specify certain interactions so I suggest you view the wiki if you want to know more; https://github.com/RockinChaos/ItemJoin/wiki/Creating-Items#creating-a-custom-book

Even though it talks about creating a book, the JSON events/interactables apply for the message cmdlet for items.

Hopefully, that makes sense, let me know!~

EDIT: Marking this as answered due to inactivity, please reopen this issue if you still need additional help.