Can I create items/rewards with unique serial numbers for my game?

I want to create some rare, collectable items within my game, similar to the “LimitedU” items Roblox has implemented on their website.

The thing that is troubling me is: every time a player in any server buys the item, it has to check which serial number will be sold next, to assign that serial number to the user’s item, which seems like it could lead to a lot of DataStore operations, especially since I want players to be able to buy multiple copies. I don’t want to create a system which will quickly push my game to the DataStore limits.

Is it feasible to create something like this? So far, the only thing that comes to mind is restricting the amount of purchases each user can make per minute.

2 Likes

Maybe OrderedDataStores are worth a try?
Just my thoughts because I can’t think of any other ways.

2 Likes