npc-lib icon indicating copy to clipboard operation
npc-lib copied to clipboard

Asynchronous, high-performance Minecraft NPC library for 1.8-1.19 servers.

Results 28 npc-lib issues
Sort by recently updated
recently updated
newest added

How do I get the NPC's to take actual damage? Or atleast get the amount of damage it would've taken?

Hi, is there any solution to nullify several times event popup at one click?

Happens when I'm near a NPC that has their name set to that of an online player My currently Protocollib version is: 4.8.0 [16:09:53 ERROR]: java.lang.NullPointerException [16:09:53 WARN]: java.lang.NullPointerException [16:09:53...

Hi! Basically, I'm trying to change the name of a NPC, like this: ` String villagerName = PluginUtils.getCustomData(container, EntityReplacer.NAME_KEY, String.class); npc.getProfile().setName(villagerName + " (Following)"); npc.visibility().queuePlayerListChange(VisibilityModifier.PlayerInfoAction.UPDATE_DISPLAY_NAME).send(); ` But nothing happens (no...

Hey, after restarting the server and the player join this server comes following error. **IMPORTANT:** The player must be in the near from npc. So that the npc show directly...

[05:17:54] [Craft Scheduler Thread - 30 - SimpNPC/WARN]: [SimpNPC] Plugin SimpNPC v1.0 generated an exception while executing task 9414 java.lang.NullPointerException: Cannot invoke "io.netty.channel.Channel.pipeline()" because "channel" is null at com.comphenix.protocol.injector.netty.ChannelInjector.findChannelHandler(ChannelInjector.java:932) ~[ProtocolLib...

Why is this string displayed? ![javaw_Ug6R184cBL](https://user-images.githubusercontent.com/62504879/159688617-0f22c2e5-3b61-4ec2-b8a1-1fe718f76a4f.png)

my console gets spammed with this error java.lang.NoClassDefFoundError: com/github/juliarn/npc/event/PlayerNPCHideEvent$Reason at com.github.juliarn.npc.NPCPool.lambda$npcTick$1(NPCPool.java:215) ~[?:?] at org.bukkit.craftbukkit.v1_18_R2.scheduler.CraftTask.run(CraftTask.java:82) ~[spigot-1.18.2-R0.1-SNAPSHOT.jar:3452-Spigot-ffceeae-808cb7c] at org.bukkit.craftbukkit.v1_18_R2.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) [spigot-1.18.2-R0.1-SNAPSHOT.jar:3452-Spigot-ffceeae-808cb7c] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?] at java.lang.Thread.run(Thread.java:833) [?:?] Caused by: java.lang.ClassNotFoundException:...

Hi, i try to use ur library NPC-Lib and private final NPCPool npcPool;` - Cannot resolve symbol. How i add ur library? - I downloaded sourcecode and select Project Structure...

``` [18:45:01 WARN]: Exception in thread "Craft Scheduler Thread - 2" [18:45:01 WARN]: org.apache.commons.lang.UnhandledException: Plugin AspectEconomy v1.0.0-SNAPSHOT generated an exception while executing task 10 at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)...