AuthMe Reloaded

AuthMe Reloaded

3M Downloads

AuthMe doesnt teleport players to where they were using "teleportUnAuthedToSpawn"

Mmd4J opened this issue ยท 6 comments

commented

What behaviour is observed?

while option "teleportUnAuthedToSpawn" is enabled
it sometimes doesnt teleport players to where they were after successful authentication.

Expected behaviour

Well clearly the option should change the location of player temporarily till they log in so no one can find out their real coordinates by logging into their account but seems this would only teleport them to spawn and would not tp them back to where they were.

To Reproduce

  1. go to config.yml
  2. enable teleportUnAuthedToSpawn
  3. Reload AuthMe/Restart the server
  4. If you log in to the server it wontteleport you to where you were and you'd be on the spawn location again

Plugin list

Skins Restorer
AuthMe Reloaded

Server Implementation

Standalone server (no proxy)

Database Implementation

SQLite

AuthMe Version

5.6.0

Error log (if applicable)

No response

Configuration

https://gist.github.com/Mmd4J/c45e7d8b837fb3140fbe2dffc3914380

commented

@Mmd4J make sure u enabled SaveQuitLocation: true

commented

@Mmd4J make sure u enabled SaveQuitLocation: true

I turned on SaveQuitLocation, but it teleport player to (0, 0, 0) instead of quit location after logging in.

commented

@Mmd4J make sure u enabled SaveQuitLocation: true

I turned on SaveQuitLocation, but it teleport player to (0, 0, 0) instead of quit location after logging in.

also make sure to check ur cfg for spawn points

commented

@Teals53 How can I use teleportUnAuthedToSpawn on existing servers where SaveQuitLocation was not enabled previously (since its not enabled by default). How can I not ruin life of existing players in this scenario? They would simply not be able to tp back...

Also this option completely breaks not registered players that do not to login at all (eg if registration is not required). This option needs a lot of work and does not work correctly in some scenarios (like, why doesn't it ignore not registered players at all?)

commented
commented

I would never understand why there is a whole "quitloc" system that makes a lot of cases where ppl are confused by how it works, like this one. Why don't you just remember the position on player join, tp to spawn or other world, and then tp back?