Solved Command when clicking on a book content?

Discussion in 'Spigot Plugin Development' started by Chemi, May 7, 2015.

Thread Status:
Not open for further replies.
  1. LINK
    How is this done?
    (When u hover ur mouse over the words [Click] it opens this text box and when u click it, it teleports u)
     
  2. gigosaurus

    Supporter

    Get a book. Get its BookMeta. Using reflection, set the pages field of this CraftMetaBook object to a list of ChatBaseComponents. These ChatBaseComponents are what you can give click/hover events to.
     
    • Agree Agree x 1
  3. gigosaurus

    Supporter

    Wow, rude. I told you how to do it already.
     
    • Agree Agree x 2
  4. gigosaurus

    Supporter

    Then you did it wrong. Show your code and we can help.
     
  5. Maybe because you didn't even tried?
     
  6. Ouch
     
    #6 Chemi, May 8, 2015
    Last edited: Sep 16, 2016
  7. What have you tried?
     
Thread Status:
Not open for further replies.