I'm working on a anti-duplicate login system. The basic flow is:
1. Player attempts to log in
2. Calls a CloudScript function that checks if the user is already logged in
3. If the value returns true, the player can't log in
4. If it returns false, the player proceeds to the Main Menu
The value is stored in the player's internal data. I also made a PlayStream segment that when the player hasn't logged in for more than x minutes (I have x set to 6 right now), it deletes the internal data key, allowing the player to log in. However, I haven't been able to get the segment working. The player enters the segment, but it doesn't call the CloudScript function for deleting the internal data key.
Any help would be much appreciated.
Thank you.