Problem with IChatBaseComponent

Discussion in 'Plugin Development' started by OverDodo, Jul 27, 2017.

Thread Status:
Not open for further replies.
  1. Offline

    OverDodo

    So, i am currently working on IChatBaseComponents etc. Now i have the following problem:

    I only want the "Test1" part to be clickable, but both parts are clickable, while the hoverEvent only works on "Test2", which is fine!

    JSON:
    PHP:
    "{\"text\":\"Test1\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/say 1Test\"},\"extra\":[{\"text\":\" Test 2\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Hey Test2\"}}]}"
     
  2. Offline

    MrGriefer_

    Take a look at this link
     
Thread Status:
Not open for further replies.

Share This Page