Use Chat Component API without Bungee API

Discussion in 'Spigot Plugin Development' started by XelfeGamer, May 21, 2015.

  1. Hey guys i don't know how to use the Chat Component API without Bungee, somebody can expain me?
     
  2. @XelfeGamer it's in included in Spigot as well. Run BuildTools, add Spigot and make sure it has lower priority than the API to avoid ambiguous method errors.
     
  3. How i can use, because when i try to send a TextComponent the Type TextComponent doesn't exist
     
  4. You can use this:
    Code (Text):
    ChatComponentText text = new ChatComponentText("Your Text");
    Hope I helped you out :)

    ~ CBPlugins