mcmoonlakedev / moonlake Goto Github PK
View Code? Open in Web Editor NEWA MoonLake Core API Plugin for Minecraft Bukkit & Spigot
License: GNU General Public License v3.0
A MoonLake Core API Plugin for Minecraft Bukkit & Spigot
License: GNU General Public License v3.0
The new version of the package name will be changed from com.minecraft.moonlake
to com.mcmoonlake
Good luck 😃
当使用以下三行代码时将会导致 Internal Exception: java.lang.StackOverflowError 异常
客户端和服务端都没有报错,当删掉 MoonLake 插件时, 以下三行代码能够正常工作
TextComponent message = new TextComponent( "Click me" );
message.setHoverEvent( new HoverEvent( HoverEvent.Action.SHOW_TEXT, new ComponentBuilder("Goto the Spigot website!").create() ) );
player.spigot().sendMessage( message );
[13:25:14] [Server thread/ERROR]: Could not pass event PlayerLoginEvent to MoonLake v2.0
org.bukkit.event.EventException: null
at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:72) ~[PaperSpigot.jar:git-Paper-1298]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78) ~[PaperSpigot.jar:git-Paper-1298]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[PaperSpigot.jar:git-Paper-1298]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:515) [PaperSpigot.jar:git-Paper-1298]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:500) [PaperSpigot.jar:git-Paper-1298]
at net.minecraft.server.v1_12_R1.PlayerList.attemptLogin(PlayerList.java:559) [PaperSpigot.jar:git-Paper-1298]
at net.minecraft.server.v1_12_R1.LoginListener.b(LoginListener.java:149) [PaperSpigot.jar:git-Paper-1298]
at net.minecraft.server.v1_12_R1.LoginListener.e(LoginListener.java:65) [PaperSpigot.jar:git-Paper-1298]
at net.minecraft.server.v1_12_R1.NetworkManager.a(NetworkManager.java:254) [PaperSpigot.jar:git-Paper-1298]
at net.minecraft.server.v1_12_R1.ServerConnection.c(ServerConnection.java:150) [PaperSpigot.jar:git-Paper-1298]
at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:940) [PaperSpigot.jar:git-Paper-1298]
at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:426) [PaperSpigot.jar:git-Paper-1298]
at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:767) [PaperSpigot.jar:git-Paper-1298]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:665) [PaperSpigot.jar:git-Paper-1298]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_161]
Caused by: com.mcmoonlake.api.exception.MoonLakeException: java.lang.NullPointerException
at com.mcmoonlake.api.MoonLakeAPI.throwMoonLake(MoonLakeAPI.kt:227) ~[MoonLakePlugin.jar:?]
at com.mcmoonlake.api.reflect.accessor.Accessors$AccessorFieldSimple.get(Accessors.kt:221) ~[MoonLakePlugin.jar:?]
at com.mcmoonlake.api.utility.MinecraftPlayerMembers$NETWORK_MANAGER.get(MinecraftPlayerMembers.kt:72) ~[MoonLakePlugin.jar:?]
at com.mcmoonlake.api.utility.MinecraftPlayerMembers$CHANNEL.get(MinecraftPlayerMembers.kt:86) ~[MoonLakePlugin.jar:?]
at com.mcmoonlake.impl.service.ServicePacketListenerImpl.getChannelPlayer(ServicePacketListenerImpl.kt:168) ~[MoonLakePlugin.jar:?]
at com.mcmoonlake.impl.service.ServicePacketListenerImpl.injectChannelPlayer(ServicePacketListenerImpl.kt:171) ~[MoonLakePlugin.jar:?]
at com.mcmoonlake.impl.service.ServicePacketListenerImpl.access$injectChannelPlayer(ServicePacketListenerImpl.kt:44) ~[MoonLakePlugin.jar:?]
at com.mcmoonlake.impl.service.ServicePacketListenerImpl$onInitialized$listener$1.onLogin(ServicePacketListenerImpl.kt:52) ~[MoonLakePlugin.jar:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor138.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:70) ~[PaperSpigot.jar:git-Paper-1298]
... 14 more
Caused by: java.lang.NullPointerException
at sun.reflect.UnsafeFieldAccessorImpl.ensureObj(Unknown Source) ~[?:1.8.0_161]
at sun.reflect.UnsafeQualifiedObjectFieldAccessorImpl.get(Unknown Source) ~[?:1.8.0_161]
at java.lang.reflect.Field.get(Unknown Source) ~[?:1.8.0_161]
at com.mcmoonlake.api.reflect.accessor.Accessors$AccessorFieldSimple.get(Accessors.kt:216) ~[MoonLakePlugin.jar:?]
at com.mcmoonlake.api.utility.MinecraftPlayerMembers$NETWORK_MANAGER.get(MinecraftPlayerMembers.kt:72) ~[MoonLakePlugin.jar:?]
at com.mcmoonlake.api.utility.MinecraftPlayerMembers$CHANNEL.get(MinecraftPlayerMembers.kt:86) ~[MoonLakePlugin.jar:?]
at com.mcmoonlake.impl.service.ServicePacketListenerImpl.getChannelPlayer(ServicePacketListenerImpl.kt:168) ~[MoonLakePlugin.jar:?]
at com.mcmoonlake.impl.service.ServicePacketListenerImpl.injectChannelPlayer(ServicePacketListenerImpl.kt:171) ~[MoonLakePlugin.jar:?]
at com.mcmoonlake.impl.service.ServicePacketListenerImpl.access$injectChannelPlayer(ServicePacketListenerImpl.kt:44) ~[MoonLakePlugin.jar:?]
at com.mcmoonlake.impl.service.ServicePacketListenerImpl$onInitialized$listener$1.onLogin(ServicePacketListenerImpl.kt:52) ~[MoonLakePlugin.jar:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor138.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:70) ~[PaperSpigot.jar:git-Paper-1298]
... 14 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.