Hello! I was wondering if its possible to view all of my data on a large scale UI or something else like a plugin.
I saw the plugin here but it doesn’t seem to work or I cant understand how to go about using this. If anyone could help me then it’d be greatly appreciated!
My datastore is a simple DataStorage called Data
local DataStoreService = game:GetService("DataStoreService") -- Calling the DataStoreService here that way we can replicate it to the client (X2)
local DataStore = DataStoreService:GetDataStore("Data")
Anyways to use the plug in you’ll have to first log into the datastore “Data” and then browse to the savefile you want using the same key you use to save: Settings.DataID…plr.UserId
The plugin works by indexing your data table. Example:
local DataStoreService = game:GetService("DataStoreService")
local DataStore = DataStoreService:GetDataStore("Data")
local dataTable = DataStore:GetAsync(Settings.DataID..plr.UserId)
for i,v in pairs(dataTable) do
print(i,v)
-- i is the index name and v is the value. If i is not given a index name it will return the value's place number (1, 2, 3, and etc...)
-- Add something here to visualize the datastore
end
I can go more in depth on how it works if you wanted me to.
local DataStoreService = game:GetService("DataStoreService")
local DataStore = DataStoreService:GetDataStore("DataStoreName", "Scope")
DataStore:GetAsync("Key")
Does that help you?
Also if you’re using a global scope leave the scope box empty.