TextComponent in spigot

Discussion in 'Spigot Plugin Development' started by LPkkjHD, Jun 17, 2015.

  1. Hey,

    Is it possible to use the TextComponent API in spigot
     
    • Funny Funny x 1
  2. I don't see why not...
     
  3. TextComponent is Bungee only.
     
  4. I believe the spigot.jar contains it aswell
     
    • Agree Agree x 1
  5. Spigot-API and Spigot-Server contain bungee's chat API.
    You can send these messages through player.spigot().sendMessage(...) or other .spigot() methods.
     
  6. thank you for your replies. now I know more than before (I tried to send the TextComponent via the default player#sendMessage)