games647 / FlexibleLogin

A Sponge minecraft server plugin for second factor authentication
https://forums.spongepowered.org/t/8872
MIT License
87 stars 23 forks source link

ipAutoLogin teleports to location of section "teleportConfig" #141

Closed x3rAx closed 6 years ago

x3rAx commented 6 years ago

Hi,

when enabling the "teleportConfig" option together with "ipAutoLogin" I am teleported the the configured location while also being logged in.

When I then enter /login <my-password> the server tells me that I'm already logged in but I am teleported back to where I left the server.

games647 commented 6 years ago

Yes and that's sounds like the expected behavior. Unlogged in players will be teleported to the configured location and once they login they are teleported back.

x3rAx commented 6 years ago

Thanks for the quick response.

The problem is, that players that are automatically logged in, are not teleported back.

Or in other words: Players that are automatically logged in are teleported to the configured location and stay there.

I have created a bedrock room around coordinates 0, 2, 0 so that no one could get in there and it is pitch black in there so players connecting will have an almost black screen with the chat telling them to login first.

When they login, they are teleported to their original coordinates.

But players that are automatically logged in will stay in that room and have no chance of getting out.