Open BingYanchi opened 1 year ago
The above error is generated when using NoEncryption-Reflection-5.2.jar
.
Using NoEncryption-1.20.1-5.2.jar
still has problems, but the error is different, as follows:
[16:40:04] [Server thread/INFO]: [NoEncryption] Enabling NoEncryption v5.2
[16:40:04] [Server thread/INFO]: [NoEncryption] Your server is running version 1.20.1-R0.1-SNAPSHOT
[16:40:04] [Server thread/INFO]: [NoEncryption] Checking for new config option...
[16:40:04] [Server thread/INFO]: [NoEncryption] No new config options detected
[16:40:04] [Server thread/INFO]: [NoEncryption] Checking for important messages...
[16:40:04] [Server thread/WARN]: [NoEncryption] forward_uuid: "Due to Minecraft's new message validation techniques, this option is no longer supported"
[16:40:04] [Server thread/INFO]: [NoEncryption] These messages can be suppressed with /ne suppressnotices
[16:40:04] [Server thread/INFO]: [NoEncryption] Compatibility successful!
[16:40:04] [Server thread/INFO]: [NoEncryption] If you used /reload to update NoEncryption, your players need to disconnect and join back
[16:40:04] [Server thread/INFO]: [NoEncryption] bStats is enabled for NoEncryption by default. To disable this, or to see more info, check the NoEncryption config
[16:40:04] [Server thread/INFO]: Server permissions file permissions.yml is empty, ignoring it
[16:40:04] [Server thread/INFO]: Done (7.522s)! For help, type "help"
[16:40:06] [User Authenticator #1/INFO]: UUID of player Bing_Yanchi is 186dfa0d-8e66-4302-80a9-110bd79464b5
[16:40:07] [Server thread/ERROR]: [NoEncryption] An error occurred while retrieving the player's channel for injection!
[16:40:07] [Server thread/ERROR]: Could not pass event PlayerJoinEvent to NoEncryption v5.2
org.bukkit.event.EventException: null
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot-api-1.20.1-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[spigot-api-1.20.1-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:589) ~[spigot-api-1.20.1-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:576) ~[spigot-api-1.20.1-R0.1-SNAPSHOT.jar:?]
at net.minecraft.server.players.PlayerList.a(PlayerList.java:308) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3811-Spigot-c62f4bd-85b89c3]
at net.minecraft.server.network.LoginListener.a(LoginListener.java:183) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3811-Spigot-c62f4bd-85b89c3]
at net.minecraft.server.network.LoginListener.d(LoginListener.java:169) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3811-Spigot-c62f4bd-85b89c3]
at net.minecraft.server.network.LoginListener.c(LoginListener.java:75) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3811-Spigot-c62f4bd-85b89c3]
at net.minecraft.network.NetworkManager.a(NetworkManager.java:285) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3811-Spigot-c62f4bd-85b89c3]
at net.minecraft.server.network.ServerConnection.c(ServerConnection.java:175) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3811-Spigot-c62f4bd-85b89c3]
at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1324) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3811-Spigot-c62f4bd-85b89c3]
at net.minecraft.server.dedicated.DedicatedServer.b(DedicatedServer.java:388) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3811-Spigot-c62f4bd-85b89c3]
at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1198) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3811-Spigot-c62f4bd-85b89c3]
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1015) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3811-Spigot-c62f4bd-85b89c3]
at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:304) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3811-Spigot-c62f4bd-85b89c3]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
Caused by: java.lang.RuntimeException: java.lang.IllegalAccessException: class me.doclic.noencryption.compatibility.CompatiblePlayer cannot access a member of class net.minecraft.server.network.PlayerConnection with modifiers "private final"
at me.doclic.noencryption.PlayerListener.onPlayerJoin(PlayerListener.java:22) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-api-1.20.1-R0.1-SNAPSHOT.jar:?]
... 15 more
Caused by: java.lang.IllegalAccessException: class me.doclic.noencryption.compatibility.CompatiblePlayer cannot access a member of class net.minecraft.server.network.PlayerConnection with modifiers "private final"
at jdk.internal.reflect.Reflection.newIllegalAccessException(Reflection.java:392) ~[?:?]
at java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:674) ~[?:?]
at java.lang.reflect.Field.checkAccess(Field.java:1102) ~[?:?]
at java.lang.reflect.Field.get(Field.java:423) ~[?:?]
at me.doclic.noencryption.compatibility.CompatiblePlayer.getChannel(CompatiblePlayer.java:29) ~[?:?]
at me.doclic.noencryption.PlayerListener.onPlayerJoin(PlayerListener.java:19) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-api-1.20.1-R0.1-SNAPSHOT.jar:?]
... 15 more
[16:40:07] [Server thread/INFO]: Bing_Yanchi joined the game
[16:40:07] [Server thread/INFO]: Bing_Yanchi[/127.0.0.1:4478] logged in with entity id 178 at ([world]78.30000001192093, 42.0, 262.4486195820858)
[16:40:12] [Server thread/INFO]: [NoEncryption] Your NoEncryption version is up-to-date
can confirm
can confirm here too
Also confirm
i have this issue from my server
Confirmed. running 1.20.1
Are you using the latest version of NoEncryption?
Is there an existing issue for this?
NoEncryption Version
5.2
Minecraft Version
1.20.1
Server Type/Build
CraftBukkit version 3811-Spigot-c62f4bd-85b89c3 (MC: 1.20.1) (Implementing API version 1.20.1-R0.1-SNAPSHOT)
Plugins in Use
NoEncryption
Startup/Running Logs
Reproducible Test
Anything else?
The PlayerJoinEvent reports an error when a player joins, and the signature information cannot be removed.