Can I let users keep in-game currency accross different games?

Lets say I make two games, I want players to be able to transfer their money across games so if they play one and earn 10 coins, then when they play the other game they would have ten more coins there too. Could I script this, or is it impossible without group ranks for every number?

Because Roblox experiences can only access their own datastore, I don’t think you can save stats like normal. See this: Data Stores | Roblox Creator Documentation.

You could however use a database (mysql or whatever) or some kind of externally hosted storage and then interact with it through the httpservice instead of using datastore.
For example, you could have a table of players and then a table for each stat which you’d then link to the player primary key through a foreign key.

Of course, this would usually cost money to host so unless you’re gonna make that money back from it, it’s probably not worth it.

There are also free solutions like google spreadsheets (and trello but using that for data storage is a bad idea), see this similar thread: Possible to save data across multiple games?

4 Likes

Ok, thanks. I guess I’ll only do it once the game is popular and it’s high priority.