FastLogin icon indicating copy to clipboard operation
FastLogin copied to clipboard

Cache Mojang requests for offline usage in the case the mojang servers are offline

Open popcorn9499 opened this issue 9 years ago • 13 comments

One feature i think that could be useful on this plugin is the ability to login with a regular minecraft account when mojangs servers are offline and keep your online uuid. you seem to keep the uuids stored i was just thinking that if the ip from the previous login matches and such that they could still login. Maybe you could also make this a config option. Thanks for reading. Otherwise this plugin is amazing keep up the good work.

popcorn9499 avatar Dec 03 '16 23:12 popcorn9499

https://www.spigotmc.org/resources/alwaysonline.820/ would be an example of what im talking about for reference

popcorn9499 avatar Dec 03 '16 23:12 popcorn9499

Auto-in also has this option, Idk If its implemented in FastLogin

Eufranio avatar Dec 04 '16 03:12 Eufranio

it hasn't been added to fastlogin and auto in is unsupported. it also didn't work at the time i tried with 1.7.10 forge which made me go to fast login. hence y i originally went to fastlogin. The developer nicely went and added support and i thank him a lot for that. but it should be added to fastlogin imo

popcorn9499 avatar Dec 04 '16 06:12 popcorn9499

Aren't the Mojang server a lot more stable nowadays?

TuxCoding avatar Dec 04 '16 08:12 TuxCoding

Kinda. I think they are still using the same service though so it is possible for someone to target.

Instead of caching mojang requests, I think most plugins save the last IP address, and if it matches while the servers are down and the user is logged as premium in the database then it lets them in and forces the correct UUID.

null321-jared avatar Dec 04 '16 12:12 null321-jared

caching may work but also do the ip for redundancy. Im not sure but thats how id implement it. Because the caching would be in memory and if the server is shut down then you cant login after. thats me tho and id recommend something like that. Thanks for reading.

popcorn9499 avatar Dec 04 '16 23:12 popcorn9499

Agree with implementing this. Cache could be saved in the Datastore, like in a new table or so. Logins when Mojang is offline would ask FastLogin for their info and then allowed to join with no issues, and with the correct UUID. The plugins that does it and that I found are one-mode UUIDs only, so I think it's better being implemented on FastLogin's end.

Eufranio avatar Feb 23 '17 16:02 Eufranio

Any news about this? From time to time the mojang session falls and my premium users feel lost as it recognizes them as non-premium

Even when the session is up and running it takes a while to re-recognize them

SeruhioX avatar Jun 10 '17 18:06 SeruhioX

It should only fail for new players

TuxCoding avatar Jun 10 '17 19:06 TuxCoding

Maybe #154 that I suggested would work better than Caching the IP? Or maybe combine both to allow premiums whose IP has changed or are at a different location to use my method (which I suggested to be optional).

lukacat10 avatar Jun 14 '17 20:06 lukacat10

I agree that would be nice. I mean it would be nice for the option even if it wasnt used that often. unsure how much extra work that would involve or if the dev would want to.

popcorn9499 avatar Jun 15 '17 01:06 popcorn9499

@games647

Right now, for example, the mojang session is down and premium users can't log in, they receive the message "the session is disabled for maintenance"

SeruhioX avatar Jul 27 '17 13:07 SeruhioX

Aren't the Mojang server a lot more stable nowadays?

not now……I think this feature begin to become useful……

XChen446 avatar Sep 08 '25 12:09 XChen446