AuthMeReloaded icon indicating copy to clipboard operation
AuthMeReloaded copied to clipboard

Double message on bungee auto login

Open JohOply opened this issue 6 years ago • 7 comments

Before reporting an issue make sure you are running the latest build of the plugin and checked for duplicate issues!

What behaviour is observed:

When player changes server with bungeecord, auto-login displays messages twice Issue doesn't happen every time, but 3 times on 4 Issue doesn't happen when player logout/login

https://i.imgur.com/fh4shJq.png

What behaviour is expected:

Messages are displaying once time

Steps/models to reproduce:

/

Plugin list:

Authme ONLY

Environment description

Spigot 1.12.2 b1573i Bungeecord b1283 Mysql

AuthMe build number:

Spigot-side b2204 Bungee-side b113

This bug was already in version 2164 and 73, probably before too

Error Log:

No error, only login message displayed twice

[14:35:40 INFO]: JohOply[/xx.xx.xx.xx:xxxxx] logged in with entity id 15263 at ([world]90.75877274127899, 71.0, -298.6682480601861) [14:35:40 INFO]: [AuthMe] The user JohOply has been automatically logged in, as requested via plugin messaging. [14:35:40 INFO]: [AuthMe] JohOply logged in! [14:35:40 INFO]: [AuthMe] JohOply logged in!

Configuration:

Pastebin/Hastebin/Gist link of your config.yml file (remember to delete any sensitive data) https://pastebin.com/cB6uEitL

JohOply avatar Feb 07 '19 13:02 JohOply

@JohOply does it happen when sessions are disabled?

sgdc3 avatar Feb 07 '19 17:02 sgdc3

No, it seems not

JohOply avatar Feb 07 '19 23:02 JohOply

it looks like the user is logged-in twice, by autologin and then session

sgdc3 avatar Feb 08 '19 07:02 sgdc3

Maybe, plugins are too efficient haha

JohOply avatar Feb 10 '19 12:02 JohOply

@ljacqu hmm how can we fix this issue?

sgdc3 avatar Feb 15 '19 15:02 sgdc3

Hi there Did you find a way to fix it? :)

I am alone to use this feature? :o

JohOply avatar May 06 '19 14:05 JohOply

I also have this issue, and it leads UTitleAuth to displaying titles when the hook is activated - so everytime somebody switches servers.

I did disable sessions, but for me I still get the double messages. Only way was to set an empty string, which shouldn't be the solution. Should I also disable forceSingleSession? Also not recommended with a big server... Because the session message is still triggered for me...

Is there any possibility the hooks don't fire at all or is that always the case?

Greetings, great plugin.

PaBox avatar Aug 24 '24 01:08 PaBox