onebone / rino Goto Github PK
View Code? Open in Web Editor NEWNPC plugin for Nukkit
License: GNU General Public License v3.0
NPC plugin for Nukkit
License: GNU General Public License v3.0
Hello Onebone!
Can you add so you can set the NPC invinsible so I can use this plugin as floating texts also? Can you also add so you can set the NPC to execute a command if you click it.
Many thanks!
Best Regards,
File14
Exception in thread "main" java.lang.NoClassDefFoundError: cn/nukkit/network/protocol/RemovePlayerPacket
at me.onebone.rino.Main.onCommand(Main.java:269)
at cn.nukkit.command.PluginCommand.execute(PluginCommand.java:33)
at cn.nukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:165)
at cn.nukkit.Server.dispatchCommand(Server.java:628)
at cn.nukkit.Player.handleDataPacket(Player.java:2731)
at cn.nukkit.network.Network.processPackets(Network.java:193)
at cn.nukkit.network.Network.processBatch(Network.java:164)
at cn.nukkit.Player.handleDataPacket(Player.java:1794)
at cn.nukkit.network.RakNetInterface.handleEncapsulated(RakNetInterface.java:154)
at cn.nukkit.raknet.server.ServerHandler.handlePacket(ServerHandler.java:123)
at cn.nukkit.network.RakNetInterface.process(RakNetInterface.java:65)
at cn.nukkit.network.Network.processInterfaces(Network.java:75)
at cn.nukkit.Server.tick(Server.java:980)
at cn.nukkit.Server.tickProcessor(Server.java:781)
at cn.nukkit.Server.start(Server.java:761)
at cn.nukkit.Server.(Server.java:455)
at cn.nukkit.Nukkit.main(Nukkit.java:65)
Caused by: java.lang.ClassNotFoundException: cn.nukkit.network.protocol.RemovePlayerPacket
at cn.nukkit.plugin.PluginClassLoader.findClass(PluginClassLoader.java:34)
at cn.nukkit.plugin.PluginClassLoader.findClass(PluginClassLoader.java:28)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 17 more
"/rino create " 칠 경우 발생합니다. 무엇이 문제일까요?
19:52:00 [CRITICAL] 이벤트가 'cn.nukkit.event.player.PlayerTeleportEvent' 에서 'Rino v1.0' 를 지날 수 없습니다: me.onebone.rino.Main 에서의 null
19:52:00 [ALERT] cn.nukkit.utils.EventException
at cn.nukkit.plugin.MethodEventExecutor.execute(MethodEventExecutor.java:28)
at cn.nukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:52)
at cn.nukkit.plugin.PluginManager.callEvent(PluginManager.java:568)
at cn.nukkit.Player.teleport(Player.java:3821)
at cn.nukkit.entity.Entity.teleport(Entity.java:1440)
at Channel.Listener.ChatListener.onCommand(ChatListener.java:267)
at Channel.Chat.onCommand(Chat.java:30)
at cn.nukkit.command.PluginCommand.execute(PluginCommand.java:33)
at cn.nukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:165)
at cn.nukkit.Server.dispatchCommand(Server.java:628)
at cn.nukkit.Player.handleDataPacket(Player.java:2732)
at cn.nukkit.network.Network.processPackets(Network.java:193)
at cn.nukkit.network.Network.processBatch(Network.java:164)
at cn.nukkit.Player.handleDataPacket(Player.java:1795)
at cn.nukkit.network.RakNetInterface.handleEncapsulated(RakNetInterface.java:154)
at cn.nukkit.raknet.server.ServerHandler.handlePacket(ServerHandler.java:123)
at cn.nukkit.network.RakNetInterface.process(RakNetInterface.java:63)
at cn.nukkit.network.Network.processInterfaces(Network.java:75)
at cn.nukkit.Server.tick(Server.java:980)
at cn.nukkit.Server.tickProcessor(Server.java:781)
at cn.nukkit.Server.start(Server.java:761)
at cn.nukkit.Server.(Server.java:455)
at cn.nukkit.Nukkit.main(Nukkit.java:65)
Caused by: java.lang.NullPointerException
at me.onebone.rino.Main.getRino(Main.java:169)
at me.onebone.rino.Main.onPlayerTeleport(Main.java:207)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at cn.nukkit.plugin.MethodEventExecutor.execute(MethodEventExecutor.java:26)
... 22 more
무슨 오류인가요?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.