✅ [API] PlayerNPC ✅ 1.17+ 2021.2

Player NPC via packets API for 1.17+

  1. ✅ [API] PlayerNPC ✅ 2021.2 version

    SergiFerry
    • Added NPCPose, now you can set the pose of the NPC as (STANDING, SWIMMING, SLEEPING, CROUCHING). You can set it throught API as npc.setPose(NPCPose); or throught command as /npc setpose (player) (id) (npcpose)
    • Added a new automatic move detection, you can choose between PlayerMoveEvent, or a runnable in ticks (5 by default). You can set it with NPCLib.getInstance().setUpdateLookType(UpdateLookType); and you can set the amount of ticks...
  2. ✅ [API] PlayerNPC ✅ 2021.1 version

    SergiFerry
    This is a big update to the API, please read carefully all the changes.
    • Added a GitHub repository with the source code, and now you can also accest to the JavaDocs.
    • Now NPCLib instance will be accesible throught NPCLib.getInstance(); Do not create an instance, like you did before.
    • To generate an NPC instance now is NPCLib.getInstance().generateNPC(Player, String, Location);
    • Now to access to the NPC instance generated before use...
  3. ✅ [API] PlayerNPC ✅ 1.17+

    SergiFerry
    • Fixed error PacketPlayOutEntityDestroy on Spigot version 1.17.1
    • Bug fixes
  4. ✅ [API] PlayerNPC ✅ 1.17+

    SergiFerry
    • Added Glowing to NPCs, use npc.setGlowing(boolean, color) at API or /npc setglowing (player) (id) (boolean) and /npc setglowingcolor (player) (id) (color)
    • Now NPCs will not be spawned at client side before the player aims it's FOV to the NPC. This will fix some skin bugs.
    • Fixed RIGHT click on NPC with no item in hand. When LEFT clicking at NPC with no item in hand and looking to another block behind NPC it will detect RIGHT click :( ,...
  5. ✅ [API] PlayerNPC ✅ 1.17+

    SergiFerry
    • Added NMS, this means that this plugin will be compatible with every versión (1.17+), as long as this Java version (16) is compatible.
    • Bug fixes.
  6. ✅ [API] PlayerNPC ✅ 1.17+

    SergiFerry
    • Some suggested commands will replace npc values
    • Added Metrics
    • Bug fixes
  7. ✅ [API] PlayerNPC ✅ 1.17+

    SergiFerry
    • Added /npc lookat (player) (id) (player/location)
    • Now on /npc setskin or /npc changeskin or in the API methods, you can introduce names of players, even when offline, and API fetches the skin from Mojang servers.
    • Now on /npc setitem you can specify Material on last argument
    • Added support for offline-mode servers with skins.
    • Bug fixes
    hugogaymer likes this.
  8. ✅ [API] PlayerNPCLib ✅ 1.17+

    SergiFerry
    • Now you can set skin with offline players.
    • Bug fixes.
  9. ✅ [API] PlayerNPCLib ✅ 1.17+

    SergiFerry
    • New command /npc. Use /npc help to see all the available arguments.
    • Fixed some client crashes while interacting with entities when they had an NPC generated but not created.
    • Fixed ClickType on NPCInteractEvent. Now will listen correctly the Right or Left click, while clicking near a block.
    • Bug fixes.
  10. ✅ [API] PlayerNPCLib ✅ 1.17+

    SergiFerry
    • Added ClickType on NPCInteractEvent, now you can see if it's right or left click.
    • Fixed NPC teleport. Now only use npc.teleport(location or entity);
    • Added npc.hideText(true) that will hide the NPC Hologram, and it won't appear until you do npc.hideText(false);
    • Bug fixes.