NPC / Slapper

NPC / Slapper 2.4.0

SahandEatzCHEEZ

New Member
is still the "npc looking at player" thing out yet? if not is there any alternatives to your npc plugin that support that feature??
 

SC13NC3F1CT10N

New Member
PetteriM1 submitted a new resource:

NPC - NPC plugin that works with latest NukkitX



Read more about this resource...
I got this error when trying to add a command:

20:48:44 [ERROR] Throwing
java.lang.NullPointerException: null
at idk.plugin.npc.NPC.onCommand(NPC.java:227) ~[?:?]
at cn.nukkit.command.PluginCommand.execute(PluginCommand.java:33) ~[nukkit.jar:?]
at cn.nukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:257) ~[nukkit.jar:?]
at cn.nukkit.Server.dispatchCommand(Server.java:759) ~[nukkit.jar:?]
at cn.nukkit.Player.handleDataPacket(Player.java:2785) ~[nukkit.jar:?]
at java.util.ArrayList.forEach(ArrayList.java:1540) ~[?:?]
at cn.nukkit.network.Network.processPackets(Network.java:197) ~[nukkit.jar:?]
at cn.nukkit.network.Network.processBatch(Network.java:180) ~[nukkit.jar:?]
at cn.nukkit.Player.handleDataPacket(Player.java:2099) ~[nukkit.jar:?]
at cn.nukkit.network.RakNetInterface.handleEncapsulated(RakNetInterface.java:157) ~[nukkit.jar:?]
at cn.nukkit.raknet.server.ServerHandler.handlePacket(ServerHandler.java:132) ~[nukkit.jar:?]
at cn.nukkit.network.RakNetInterface.process(RakNetInterface.java:66) ~[nukkit.jar:?]
at cn.nukkit.network.Network.processInterfaces(Network.java:83) ~[nukkit.jar:?]
at cn.nukkit.Server.tick(Server.java:1132) ~[nukkit.jar:?]
at cn.nukkit.Server.tickProcessor(Server.java:911) ~[nukkit.jar:?]
at cn.nukkit.Server.start(Server.java:888) ~[nukkit.jar:?]
at cn.nukkit.Server.<init>(Server.java:573) ~[nukkit.jar:?]
at cn.nukkit.Nukkit.main(Nukkit.java:112) ~[nukkit.jar:?]
 

SC13NC3F1CT10N

New Member
I got this error when trying to add a command:

20:48:44 [ERROR] Throwing
java.lang.NullPointerException: null
at idk.plugin.npc.NPC.onCommand(NPC.java:227) ~[?:?]
at cn.nukkit.command.PluginCommand.execute(PluginCommand.java:33) ~[nukkit.jar:?]
at cn.nukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:257) ~[nukkit.jar:?]
at cn.nukkit.Server.dispatchCommand(Server.java:759) ~[nukkit.jar:?]
at cn.nukkit.Player.handleDataPacket(Player.java:2785) ~[nukkit.jar:?]
at java.util.ArrayList.forEach(ArrayList.java:1540) ~[?:?]
at cn.nukkit.network.Network.processPackets(Network.java:197) ~[nukkit.jar:?]
at cn.nukkit.network.Network.processBatch(Network.java:180) ~[nukkit.jar:?]
at cn.nukkit.Player.handleDataPacket(Player.java:2099) ~[nukkit.jar:?]
at cn.nukkit.network.RakNetInterface.handleEncapsulated(RakNetInterface.java:157) ~[nukkit.jar:?]
at cn.nukkit.raknet.server.ServerHandler.handlePacket(ServerHandler.java:132) ~[nukkit.jar:?]
at cn.nukkit.network.RakNetInterface.process(RakNetInterface.java:66) ~[nukkit.jar:?]
at cn.nukkit.network.Network.processInterfaces(Network.java:83) ~[nukkit.jar:?]
at cn.nukkit.Server.tick(Server.java:1132) ~[nukkit.jar:?]
at cn.nukkit.Server.tickProcessor(Server.java:911) ~[nukkit.jar:?]
at cn.nukkit.Server.start(Server.java:888) ~[nukkit.jar:?]
at cn.nukkit.Server.<init>(Server.java:573) ~[nukkit.jar:?]
at cn.nukkit.Nukkit.main(Nukkit.java:112) ~[nukkit.jar:?]
20:48:44 [ERROR] Throwing
java.lang.NullPointerException: null
at idk.plugin.npc.NPC.onCommand(NPC.java:227) ~[?:?]
at cn.nukkit.command.PluginCommand.execute(PluginCommand.java:33) ~[nukkit.jar:?]
at cn.nukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:257) ~[nukkit.jar:?]
at cn.nukkit.Server.dispatchCommand(Server.java:759) ~[nukkit.jar:?]
at cn.nukkit.Player.handleDataPacket(Player.java:2785) ~[nukkit.jar:?]
at java.util.ArrayList.forEach(ArrayList.java:1540) ~[?:?]
at cn.nukkit.network.Network.processPackets(Network.java:197) ~[nukkit.jar:?]
at cn.nukkit.network.Network.processBatch(Network.java:180) ~[nukkit.jar:?]
at cn.nukkit.Player.handleDataPacket(Player.java:2099) ~[nukkit.jar:?]
at cn.nukkit.network.RakNetInterface.handleEncapsulated(RakNetInterface.java:157) ~[nukkit.jar:?]
at cn.nukkit.raknet.server.ServerHandler.handlePacket(ServerHandler.java:132) ~[nukkit.jar:?]
at cn.nukkit.network.RakNetInterface.process(RakNetInterface.java:66) ~[nukkit.jar:?]
at cn.nukkit.network.Network.processInterfaces(Network.java:83) ~[nukkit.jar:?]
at cn.nukkit.Server.tick(Server.java:1132) ~[nukkit.jar:?]
at cn.nukkit.Server.tickProcessor(Server.java:911) ~[nukkit.jar:?]
at cn.nukkit.Server.start(Server.java:888) ~[nukkit.jar:?]
at cn.nukkit.Server.<init>(Server.java:573) ~[nukkit.jar:?]
at cn.nukkit.Nukkit.main(Nukkit.java:112) ~[nukkit.jar:?]
nvm I fixed it
 

PetteriM1

Resource Mod
Staff member
If I have a command adde and click on the npc nothing happens
Check that you have the command set as player command if you want it to run it as player (/npc addplayercmd instead of /npc addcmd). Otherwise it will try to run it in the console.
 

FunnyFawker

New Member
I love how this creates a copy of yourself. Is it possible to send the created NPC either to other parts of the world or to another connected server?
 
Top