Alex (TuxCoding)
Alex (TuxCoding)
>I added you a license but the problem is reflection access actually Why? NPE, means that the supplied object was null. In this instance it's the network manager.
Yes you are not able to access the field, because the supplied object is null. The NPE is wrapped into the RuntimeException. You can see that by the `Caused by`...
FastLogin uses ProtocolLib and in the early login process. That hooks into the network protocol the same way. I guess that is conflicting with each other. However that shouldn't happen....
I could reproduce it and it could be connected to the asynchronous behavior of ProtocolLib. It doesn't happen for synchronous listeners.
This more like an enhancement request. Updating the plugin on Spigot requires more rigorous testing and preparing a changelog. It's time consuming. That's why I tried to work towards automatic...
FastLogin in spigot will receive the premium status delayed. See the documentation on the API method: https://github.com/games647/FastLogin/blob/de1487b6aae79bbbb054bc3d8f883bf159aff1d9/bukkit/src/main/java/com/github/games647/fastlogin/bukkit/FastLoginBukkit.java#L152-L153 You should delay your request until the data is received.
Use a auth plugin or if you using a custom one you have register it here: https://github.com/games647/FastLogin/blob/de1487b6aae79bbbb054bc3d8f883bf159aff1d9/core/src/main/java/com/github/games647/fastlogin/core/shared/FastLoginCore.java#L231
`FastLoginCore` is not a JavaPlugin `FastLoginBukkit` is. Core is the common component between all platform, you can get it with getCore().
The plugin reports only the way how the players are authenticated. If they are not registered as premium, then FastLogin cannot know that. FastLogin tries to make some assumptions based...
>I have a custom auth plugin. But i dont want to use this one to autologin, i just want to know, if the specific player premium or not. I dont...