Hello!
So I was wondering how I can make a Datastore member system which saves the players rank which is a string and the UserId of the player.
This is for a clan/nation system.
I thought about just saving a JSONEncoded Dictionary but if 2 players would try joining the same nation at the same time I doubt this would work.
Saving every player as his own key would also have problem since when getting all keys by :ListKeysAsync it will error at some point since I would need to :GetAsync well over a thousand keys
and as far as I know the :GetAsync limit is 60 + numPlayers × 10 which is not enough.
1 Like
you can create a StringValue on the player
This will obviously not help me since I want to save this like stated in the post.
it’s hard to understand in the post, also DataStores can be used on StringValues
If i save this how would I save it?? If I make a key for every player it will not work as stated in the post and same deal if I make a dictionary
didn’t you read what I said? it’s hard to understand the post and you want to use a 3rd party data generator?
just save the player’s rank under their UserId as the key