1.12.2 NPC remove Tablist

Discussion in 'Spigot Plugin Development' started by BurakAbi-Crysis, Jul 31, 2021.

  1. Although it is possible using PacketPlayOutPlayerInfo. Message the author.
     
  2. Well, obviously yes.
    It depends on how far you want to go.
    But in your case, I would intercept all PacketPlayOutPlayerInfo packets that are outgoing.
    Then check if the gameprofile name contains the weird [ZNPC] prefix, and then capture the entityID.
    And finally send a removeFromTablist after 4 seconds with the collected entityIDs.

    Since in order to load the skin you must add them to tablist and remove them after 3 - 5 seconds.

    Note: this means that you have to write code that is applicable for all NMS versions.
     
  3. What if the person doesn't know coding?
    upload_2021-7-31_18-32-58.png
     
  4. Then you hire a developer like me to code it for you.
    That's why developers exists.