I made a similar post before, but I want to be able to store and return data from all players who have played my game without them being in the server. For example, I want to be able to save the userIDs of all players who’ve played the game to a single table.
Why would I want to do this?
Because my game has an account system. I want to be able to check automatically generated tokens against pre-existing ones in the Datastore to ensure none will be the same, but have no idea how to do it.
Example of what I’m trying to accomplish:
if tokenTable[generatedToken] then --does the token already exist in the table/datastore?
--generate new token
else
--set the current token as the player's token
end