Is there a difference between using the Datastore scope parameter and just prepending a string to every key? Does it matter? bc I find prepending a string to each key is easier
In other words, is there any performance difference or anything between
local inventoryStore = game:GetService("DataStoreService"):GetDataStore("PlayerData", "Inventory")
inventoryStore:SetAsync("User123", 100)
and
local playerDataStore = game:GetService("DataStoreService"):GetDataStore("PlayerData")
playerDataStore:SetAsync("InventoryUser123", 100)
Nope, thats all on the web server side. It’s just an easier way to seperate one datastore. Correct me if I’m wrong with the performance side. From my knowledge thats all HTTP(Maybe not HTTP, but a method of communication) and doesn’t really impact your game at all.
I see. I really hope it’s the case bc using the scope parameter just seems so extra to me and is kind of making it difficult to use my datastore module