Chat packets

Discussion in 'Plugin Development' started by robotballs, Nov 23, 2020.

  1. Offline

    robotballs

    If i want to make a message that a player clicks and it types it in their chat bar do I need to use protocolib? or can i use nms packets for this? I can't find much information on the subject.
     
  2. Offline

    timtower Administrator Administrator Moderator

  3. You can use Spigot's ChatComponent API.

    Link: https://www.spigotmc.org/wiki/the-chat-component-api/#events
     
  4. Offline

    robotballs

Share This Page