I’m currently working on an update to my game, and a plan I’ve had for a while is to add currency and an inventory system to my game. In depth, this would include:
Buying Currency for Robux
Buying Inventory items for currency
I’m not really sure where to start. I don’t want to overload datastores, but I’m unsure how to securely store the player’s data (currency and inventory) and keep it up to date.
So, how would I go about making a system like this?
My first attempt at a cash system was not very successful:
I’m not entirely sure how to implement these security measures, because I’m not entirely sure how to create the system. I’m more interested in concept than code, but I’m not very sure how I would properly create a system like this for security and efficiency, and not overloading datastores.
To further understand this though it would be nice to have some small code blocks to experiment with and see better how it works.
If anyone could help that would be great!