I'm developing Virtual world and i'm trying to add a function to prevent users from login in more than once.
I want create a system that will detect new login that has been connected from the same user, when the player connects again to the game his old connection will disconnect automatically.
How this supposed to look:
I'm playing the game in Client 1, My username = Name
When Username "Name" connects again (As Client 2) to the game in the new client
Disconnect the old Client 1 connection, Keep the new connection on Client 2.
I saw some other games that added this function (Like the game boxcritters.com they also using Playfab).
I'm wondering how can i add this function.
also i saw this post: https://community.playfab.com/questions/382/206721757-How-to-prevent-duplicate-login-.html
I think its too complex to add, I don't really want to make automatic checks every 2 minutes or so to see if the player is connected or not.