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
501 stars 121 forks source link

Premium users aren't being auto-registered #69

Closed Eufranio closed 8 years ago

Eufranio commented 8 years ago

When a Premium player joins my server, he is not auto-registered, and have to use /login every time he join. I'm using latest FastLogin from Spigot, and AuthMe Reloaded, latest stable build from Jenkins and AuthMeBridge.

Also i have a Bungee network and a modded server, both with AuthMe and FastLogin. The issue started when i switched from BungeeAuth to AuthMe (as BungeeAuth needs a auth server, i can't use Forced Hosts).

games647 commented 8 years ago

he is not auto-registered,

Then it's maybe a already registered which FastLogin doesn't know.

Eufranio commented 8 years ago

Sorry?

games647 commented 8 years ago

FastLogin only auto registers player if they are not already registered to protect cracked players from stealing their account by premium players.

Eufranio commented 8 years ago

Well, here they are not registered, and i'm sure. New players aren't auto registered, they need to use /register.

games647 commented 8 years ago

Do you activated autoRegister in the config?

Eufranio commented 8 years ago

Yes EDIT: I am auto registered joining my lobby server (1.8 with ProtocolHack, ProtocolLib, Spigot, these stuff), but when i join the first time my Modded 1.7.10 I am not registered.

games647 commented 8 years ago

Do you use BungeeCord and followed the guideline on the main page of this project?

Please activate debug logging in the spigot.yml. And try to login with a premium username that FastLogin and your auth plugin doesn't know.

Eufranio commented 8 years ago

Yes i followed.

Spigot debug didn't show anything special except some log spam:

Something's taking too long! 'root.connection.keepAlive.root.connection.keepAlive.root.connection.keepAlive.root.connection.keepAlive.root.connection.keepAlive.root.connection.keepAlive.root.connection.keepAlive.root.connection.keepAlive.root.connection.keepAlive.root.connection.keepAlive.root.connection.keepAlive.root.connection.keepAlive.root.connection.keepAlive.root.connection.keepAlive.root.connection.keepAlive.root.connection.keepAlive.root.connection.keepAlive.root.connection.keepAlive.root.connection.keepAlive.root.connection.keepAlive.root.connection.keepAlive.root.connection.keepAlive.root.connection.keepAlive.root.connection.keepAlive.root.connection.keepAlive.root.connection.keepAlive.root.levels' took aprox 261.194618 ms
games647 commented 8 years ago

Okay then BungeeCord is responsible for activating it. I need your BungeeCord log at the time.

Eufranio commented 8 years ago

Is there a BungeeCord debug? There is no stacktraces in the Bungee log when joining (with a premium account not known, ofc).

games647 commented 8 years ago

Is there a BungeeCord debug?

BungeeCord logs everything

here is no stacktraces in the Bungee log when joining (with a premium account not known, ofc).

Doesn't need to be. I just need the debug logging.

Eufranio commented 8 years ago

Nothing special (?)

07:46:46 [INFO] [/189.81.128.187:59423] <-> InitialHandler has connected
07:46:49 [INFO] [/189.81.128.187:59424] <-> InitialHandler has connected
07:46:50 [INFO] [+] PotterCraft_
07:46:50 [INFO] [PotterCraft_] <-> ServerConnector [MagiTech] has connected
Eufranio commented 8 years ago

I tested some times, and realized that maybe there is a error in somewhere. I was succesfully registered in 1 of 8 times i tried, and tested with other players, they are registered kinda 1/8 or 1/6 times.

games647 commented 8 years ago

Nothing special (?)

Either FastLogin knows this player, or it's deactivated, because there is a missing "Player {0} uses a premium username"-message

Try to use a dev-build from here: https://ci.xephi.fr/job/FastLogin/changes

Eufranio commented 8 years ago

Fixed!

games647 commented 8 years ago

Thanks for the info.