games647 / FastLogin

Checks if a minecraft player has a valid paid account. If so, they can skip offline authentication automatically. (premium auto login)
https://www.spigotmc.org/resources/fastlogin.14153
MIT License
493 stars 121 forks source link

Console error when connecting a player #802

Closed iammehdib closed 2 years ago

iammehdib commented 2 years ago

What happened?

Since I use the fork of TacoSpigot which is NachoSpigot I have error that appears in the console when connecting any type of player (premium or crack).

What did you expect?

test

Steps to reproduce

  1. Install NachoSpigot 1.8.9 for the server;
  2. Install the latest version of FastLoginBukkit and AuthMe-5.6.0-beta2 plugins.
  3. Start the server and connect to the server

Plugin list

Authme

Configuration file

https://www.toptal.com/developers/hastebin/exageqaxes.yaml

Server log

[00:18:19 ERROR]: Could not pass event AsyncPlayerPreLoginEvent to FastLogin v1.11-SNAPSHOT-4f3c8ad
org.bukkit.event.EventException: null
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[server.jar:git-NachoSpigot-"74ed0ea"]
        at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:74) ~[server.jar:git-NachoSpigot-"74ed0ea"]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[server.jar:git-NachoSpigot-"74ed0ea"]
        at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:490) ~[server.jar:git-NachoSpigot-"74ed0ea"]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:472) ~[server.jar:git-NachoSpigot-"74ed0ea"]
        at net.minecraft.server.v1_8_R3.LoginListener$LoginHandler.fireEvents(LoginListener.java:255) ~[server.jar:git-NachoSpigot-"74ed0ea"]
        at net.minecraft.server.v1_8_R3.LoginListener.lambda$a$1(LoginListener.java:181) ~[server.jar:git-NachoSpigot-"74ed0ea"]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_312]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_312]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_312]
Caused by: java.lang.NoSuchMethodError: org.bukkit.event.player.AsyncPlayerPreLoginEvent.getPlayerProfile()Lcom/destroystokyo/paper/profile/PlayerProfile;
        at com.github.games647.fastlogin.bukkit.listener.PaperCacheListener.lambda$onAsyncPlayerPreLogin$0(PaperCacheListener.java:60) ~[?:?]
        at java.util.Optional.ifPresent(Optional.java:159) ~[?:1.8.0_312]
        at com.github.games647.fastlogin.bukkit.listener.PaperCacheListener.onAsyncPlayerPreLogin(PaperCacheListener.java:60) ~[?:?]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_312]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_312]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_312]
        at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_312]
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:300) ~[server.jar:git-NachoSpigot-"74ed0ea"]
        ... 9 more

Plugin version

v1.11-SNAPSHOT-4f3c8ad

Platform

Spigot

Relevance

games647 commented 2 years ago

What's your server version?

iammehdib commented 2 years ago

screeen

iammehdib commented 2 years ago
[01:01:43 WARN]: [FastLogin] Cannot access proxy field
java.lang.NoSuchFieldException: velocitySupport
        at java.lang.Class.getDeclaredField(Class.java:2070) ~[?:1.8.0_312]
        at com.github.games647.fastlogin.bukkit.BungeeManager.isProxySupported(BungeeManager.java:104) [FastLoginBukkit.jar:?]
        at com.github.games647.fastlogin.bukkit.BungeeManager.detectProxy(BungeeManager.java:116) [FastLoginBukkit.jar:?]
        at com.github.games647.fastlogin.bukkit.BungeeManager.initialize(BungeeManager.java:91) [FastLoginBukkit.jar:?]
        at com.github.games647.fastlogin.bukkit.FastLoginBukkit.onEnable(FastLoginBukkit.java:108) [FastLoginBukkit.jar:?]
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) [server.jar:git-NachoSpigot-"74ed0ea"]
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:332) [server.jar:git-NachoSpigot-"74ed0ea"]
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:393) [server.jar:git-NachoSpigot-"74ed0ea"]
        at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugin(CraftServer.java:392) [server.jar:git-NachoSpigot-"74ed0ea"]
        at org.bukkit.craftbukkit.v1_8_R3.CraftServer.enablePlugins(CraftServer.java:351) [server.jar:git-NachoSpigot-"74ed0ea"]
        at net.minecraft.server.v1_8_R3.MinecraftServer.s(MinecraftServer.java:402) [server.jar:git-NachoSpigot-"74ed0ea"]
        at net.minecraft.server.v1_8_R3.MinecraftServer.k(MinecraftServer.java:366) [server.jar:git-NachoSpigot-"74ed0ea"]
        at net.minecraft.server.v1_8_R3.MinecraftServer.a(MinecraftServer.java:328) [server.jar:git-NachoSpigot-"74ed0ea"]
        at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:295) [server.jar:git-NachoSpigot-"74ed0ea"]
        at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:559) [server.jar:git-NachoSpigot-"74ed0ea"]

I also get this error when I start my server

games647 commented 2 years ago

Do you use TCPShield?

iammehdib commented 2 years ago

No

games647 commented 2 years ago

Then don't use the TCPShield version. As noted in the release description, this is a special version.

iammehdib commented 2 years ago

Okey sorry