In vanilla (a server without plugins, just LoginSecurity). When you enable "teleport to SPAWN or RANDOM location" option, it enter in conflict with login command, because the session time does not expire (it don't cares if is -1 or 1, or 60, etc.. in config). I can disconnect on my house coords, and reconnect in 1 or 2 seconds to the server and the plugin teleport me to the spawn (ok, works correctly until this point), BUT It doesn't ask me to login (because of session time). This causes me to stay in that location and does not return me to where I originally was. If i disconnect from the server, the plugin forget the location of my house. And set it to a new disconnect location.
If i wait to the expire of my session, the plugin works fine, but it only works if i put 1 second on the config, if i put -1 to disable it, it will the same (I need wait to session time expire that not exists).
In vanilla (a server without plugins, just LoginSecurity). When you enable "teleport to SPAWN or RANDOM location" option, it enter in conflict with login command, because the session time does not expire (it don't cares if is -1 or 1, or 60, etc.. in config). I can disconnect on my house coords, and reconnect in 1 or 2 seconds to the server and the plugin teleport me to the spawn (ok, works correctly until this point), BUT It doesn't ask me to login (because of session time). This causes me to stay in that location and does not return me to where I originally was. If i disconnect from the server, the plugin forget the location of my house. And set it to a new disconnect location.
If i wait to the expire of my session, the plugin works fine, but it only works if i put 1 second on the config, if i put -1 to disable it, it will the same (I need wait to session time expire that not exists).
The following video explains better what i mean.
https://youtu.be/DVDVDTpl6SM