FancyMcPlugins / FancyNpcs

FancyNpcs is a simple, lightweight and fast npc plugin using packets
https://modrinth.com/plugin/fancynpcs
MIT License
98 stars 23 forks source link

spawn and despawn #121

Open envizar opened 3 weeks ago

envizar commented 3 weeks ago

Add /npc spawn <npc-name>, /npc despawn <npc-name> and following API methods. Despawned NPCs just won't send packets to players https://github.com/FancyMcPlugins/FancyNpcs/pull/83 can be reverted after adding this, invisible attribute should be used for invisibility potion effect

Without this, it is simply inconvenient to use the plugin. FancyNPCs can be used not only for NPCs in the hub, but also for cutscenes and fake players.