Datastoreservice

Can someone explain to me as to why its not “recommended” to use legay scopes since documentation isnt helpful at all

1 Like

This should help you.

1 Like

Thats not what i was talking about

1 Like

I think they just mean that using the default scope which is also referred to as “legacy scope” is not recommended as you can make your code clean and organized using different scopes. For example, a scope for gold, a scope for iron, etc.

1 Like

Pretty sure you can ignore it as it doesn’t say “deprecated”, but I do find scopes pretty useless so that’s maybe what they ment

1 Like

Yeah I still use the default one, It would be more confusing to have seperate scopes for different things. Rather than having it all in one. I guess one benefit could be that if you somehow lose data, it’ll only affect that one scope’s data. So only gold would be lost, but iron and diamonds would be unaffected. Whereas if you had them all in one scope, everything is affected.

And that it helps you organize keys and what not.

1 Like