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
494 stars 122 forks source link

AutoRegister not working with first join #949

Open lynrayy opened 1 year ago

lynrayy commented 1 year ago

What happened?

First join causes some bugs like that: image After rejoin it logging us in image

What did you expect?

I am expected this:

Steps to reproduce

I have bungee server with FastLogin and AuthMe I have 1.12.2 paper-spigot server with FastLogin and AuthMe, bungee enabled in spigot and fastlogin tries to do something with me database of AuthMe was deleted, database of FastLogin also deleted for clear test Just configure all and go testing: Joining the server first time and got sucsessful register, please register and user not registered at the same time (check screenshot) Re-joining the server and now it logged in

Plugin list

[03:06:43 INFO]: Plugins (17): AuthMe, ChestCommands, Citizens, FastLogin, IPWhitelist, ItemJoin, LuckPerms, MessageFilter, PlasmoVoice, ProtocolLib, ServerSleeper, SkinsRestorer, SystemSpawns, TAB, ViaVersion, WorldEdit, WorldGuard

Configuration file

(in server log)

Server log

Spigot FastLogin config https://gist.github.com/lynrayy/b7a5256798cb659b7d5561237298353f Bungee FastLogin config https://gist.github.com/lynrayy/0d65cdd575582c49cc851dd2cd80bbf4

Spigot Console https://gist.github.com/lynrayy/bb1736906baf1eba4810f3963635d48c Full spigot console https://gist.github.com/lynrayy/4762663fc0efe4b38e742d989534d8ba

Full Bungee Console https://gist.github.com/lynrayy/b9e05fc65df77342479512bca0603128

Plugin version

1.12-SNAPSHOT-5af4317

Platform

BungeeCord

Relevance

games647 commented 1 year ago

Please reference the login attempts with the server log, because I only see two login requests. Keep in mind that AuthMe register could also already be sent while FastLogin still fetches some data. This could be the reason you are seeing the message, but are in fact already registered.

lynrayy commented 1 year ago

Please reference the login attempts with the server log

No. I'm already fucked up of filling out your issue by template. There is a error that i can't understand and fix. It is just exists and and do whatever you want with it. In addition, I will say that it also sends the message BEFORE authme, which is why the players do not understand what authorized them and try to do it manually. Sometimes authme keeps spamming auth message in chat

lynrayy commented 1 year ago

I just don't want to fill out each of these issues by hand because of your fucking issue-template(or blank idk how it called), which must be followed.

lynrayy commented 1 year ago

If you want normal feedback instead of tired comments of people like me, make THIS more friendly: image

games647 commented 1 year ago

In fact, this issue template is standard to get all the relevant details. How many times people didn't used the latest version not included the server or forgot a step-by-step guide to help me reproduce it. To fix issues we need to all relevant details otherwise we cannot reproduce it locally.

I just don't want to fill out each of these issues by hand because of your fucking issue-template(or blank idk how it called), which must be followed.

Tell us how we can improve it and we will fix it. These templates were created, because of numerous reports where we had to ask back for the required details. Instead of just posting them. Try to search "Please send your server log" or "Could you send etc."

BTW: The blank template still exists, but it doesn't auto tag the ticket.

There is a error that i can't understand and fix.

Yes and we are trying to solve it, but it requires us to gather all the facts to trigger this bug and then minimize it to find the source.

In addition, I will say that it also sends the message BEFORE authme, which is why the players do not understand what authorized them and try to do it manually.

Sequential timing is difficult in this area, because these processes run parallel.

[02:54:48 INFO]: [FastLogin] Delaying force login until join event fired?: true [02:54:48 INFO]: [FastLogin] Register player Lynrayy [02:54:48 INFO]: [AuthMe] Lynrayy registered 192.168.0.98

From this point I can only say that AuthMe received the register command. So FastLogin correctly forwarded the request from Bungee. It is AuthMe that got stuck. With information about your AuthMe version and configuration, I could try reproduce it locally. At this point, the authentication hangs in AuthMe.

ToneXum commented 3 months ago

Same problem here