1.9.4 Send a message with TextComponent's ClickEvent

Discussion in 'Spigot Plugin Development' started by Hiken_D_Ace, Jan 20, 2020.

  1. Hi ! Today I need your help with TextComponent.

    I would like to make sure that when a player clicks on a message it sends him a message, but we can't do it with ClickEvent. So do you know how I can go about doing this.

    Thank you for your help !
     
  2. Hello with a JsonEvent, its allows to execute an event when it clicks on it.
     
    • Agree Agree x 3
  3. how is the name of that event? is it an BukkitEvent because I cant find it
     
    • Agree Agree x 2
  4. You can make the player run a command
     
  5. Yes you have to download the plugin you will be able to see if you want your own plugin using the sources. I hope its would have helped you if yes rate me its would help me: D aussinan ask me questions i would be there!
     
    • Agree Agree x 2

  6. Thanks for the information, it's very nice (y)
     
  7. Check this out https://www.spigotmc.org/wiki/the-chat-component-api/