#best way to track simple data?

1 messages · Page 1 of 1 (latest)

pallid matrix
#

I want to add some simple system to my game to track playtime and distance walked for stats and some easter eggs. what's the best way to track this? leaderstat?

fair quiver
#

No

coral scroll
#

a datastore..?

#

with a json

torpid cape
#

yeah just use leaderstats folder or make another folder which has a similair structure to leaderstats

pallid matrix
pallid matrix
# coral scroll a datastore..?

no i dont mean saving across servers. im asking whether the best way to hold this data is an intvalue in leaderstats or maybe something else.

pallid matrix
coral scroll
#

could just store it all on a table in a ss

#

if the point is for it to be 'simple' i think that'd be best

pallid matrix
#

is a table best for that?

coral scroll
#

but on this scale the performance would be so incredibly negligible

#

its honestly up to your own scripting practices atp

pallid matrix
#

also, should every piece of information saved for a player be stored the same way (through value instances for example) or is it fine to mix them?

coral scroll
#

its fine to mix

#

like coins might be stored as a leaderstat value inside an instance, whereas tracking robux spent might be stored in a table

tardy patrol