[Deleted] SlapperNK

Status
Not open for further replies.

Tal

Supporter
talhaazeem submitted a new resource:

SlapperNK (NPC) - Working NPC's for your Nukkit servers!

Usage:
%p = Defines player, same as {player}

/npc help = Shows a list of commands
/npc spawn = Spawns NPC
/npc addcmd = Adds command to a NPC
/npc delcmd = Deletes a command from a NPC
/npc listcmd = List all commands for a NPC
/npc edit = Edit look of NPC
/npc getid = Get NPC ID
/npc list = Shows a list of entities you can use for a NPC
/npc kill = Remove/kill NPC

IMPORTANT:

This is NOT my plugin, I just found it, and it seems very useful, that's why I uploaded it here....
Read more about this resource...
 

Master Luke

Supporter
What kinds of commands can you run with addcmd ? could you give some ideas?
how hard would it be to allow it to run a transfer command to send a player to a specific server when they click the NPC?

Thanks!!!!
 

Pxssiii

New Member
I have a bug found in this Plugin

16:36:36 [CRITICAL] Unhandled exception executing command 'slapper addcmd 1 transfer %p unex.us.to 19136' in slapper: java.lang.NullPointerException
at com.GhostKilllaX.NPC.NPC.onCommand(NPC.java:207)
at cn.nukkit.command.PluginCommand.execute(PluginCommand.java:33)
at cn.nukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:261)
at cn.nukkit.Server.dispatchCommand(Server.java:694)
at cn.nukkit.Player.handleDataPacket(Player.java:2672)
at java.util.ArrayList.forEach(ArrayList.java:1257)
at cn.nukkit.network.Network.processPackets(Network.java:179)
at cn.nukkit.network.Network.processBatch(Network.java:161)
at cn.nukkit.Player.handleDataPacket(Player.java:2042)
at cn.nukkit.network.RakNetInterface.handleEncapsulated(RakNetInterface.java:157)
at cn.nukkit.raknet.server.ServerHandler.handlePacket(ServerHandler.java:132)
at cn.nukkit.network.RakNetInterface.process(RakNetInterface.java:66)
at cn.nukkit.network.Network.processInterfaces(Network.java:76)
at cn.nukkit.Server.tick(Server.java:1071)
at cn.nukkit.Server.tickProcessor(Server.java:848)
at cn.nukkit.Server.start(Server.java:825)
at cn.nukkit.Server.<init>(Server.java:514)
at cn.nukkit.Nukkit.main(Nukkit.java:109)
 
Status
Not open for further replies.
Top