AuthMe / AuthMeReloaded

The best authentication plugin for the Bukkit/Spigot API!
https://www.spigotmc.org/resources/authmereloaded.6269/
GNU General Public License v3.0
628 stars 516 forks source link

Error in console whan some players join #1587

Open CryLegende opened 6 years ago

CryLegende commented 6 years ago

Hi, When some players join the server, an error appear in console. (Not for every players.) I noticed that my ban plugin can not get the ip of the players who have this bug.

BungeeCord: Latest build PaperSpigot: Latest 1.8.8 build Authme Reloaded: Latest build - AuthMeReloaded v5.5.0-SNAPSHOT (build: 2062)

Error: https://hasteb.in/jikoqahi.rb

Configuration: https://hasteb.in/ahuvuzun.yaml

sgdc3 commented 6 years ago

Wtf, NPE at https://github.com/AuthMe/AuthMeReloaded/blob/master/src/main/java/fr/xephi/authme/listener/PlayerListener.java#L275 @ljacqu @Hex3l what do you think?

sgdc3 commented 6 years ago

permissionsManager == null maybe?

sgdc3 commented 6 years ago

What's your permission management plugin?

CryLegende commented 6 years ago

I don't have permission plugin in my login server.

sgdc3 commented 6 years ago

Uh, how often does it happen?

CryLegende commented 6 years ago

"When some players join the server" It depends on the number of players that connects

ljacqu commented 6 years ago

Hi @CryLegende, does the newest dev build fix your issue?

CryLegende commented 6 years ago

Hi, Sorry, i will test it.

CryLegende commented 6 years ago

No change

CryLegende commented 6 years ago

Also, i have two another error when some players join the server: https://hasteb.in/omuvuzuf.cs

krusic22 commented 6 years ago

Try using TacoSpigot if you are using 1.8. It looks like this is a common problem for this version of Paper.

CryLegende commented 6 years ago

I test this and I tell you if it works, thanks.

CryLegende commented 6 years ago

:/ https://hasteb.in/oguneyot.cs

CryLegende commented 6 years ago

Full logs with all errors: https://hasteb.in/xovoqici.cs

"getPlayerIp" I do not know why but some players have their hostname display instead of their IPs.

krusic22 commented 6 years ago

I see that this occurs whenever a user reconnects. Try disabling caching in AuthMe. Also can you give us a list of your plugins?

CryLegende commented 6 years ago

image

CryLegende commented 6 years ago

Before that was just giving the ip of the players, now bungeecord give their hostname + their ip and that's since I have this bug. All my servers have the same problem, my penalty plugin also does not get to get the IP of the players when it is on my server but when it is on bungeecord it works.