Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

All Server Data Save?

How would you make a script that saves data from all servers and lets you put it into the current server? ex: one person votes yes (+1 vote) in another server and the server you are in saves that data and puts the vote to [1: yes] [0: no]

I couldn't think how but mhmmmmm dont know how to refer the roblox wiki for this

1 comment

0

I think very much that this could be used the help of a service obviously

1 answer

✓ Accepted answer

DataStores

DataStores are a way to save information between servers. They are a very powerful system which allows persistence of data ranging from information about players, to information about whole servers. The application of them is down to what you need to save.


How does this help?

In your case, when somebody adds a vote you can use UpdateAsync to add a vote to the counter, and then on other servers you can use OnUpdate to change the count on the server when it's updated. Be careful of the request limit.

This discussion is preserved as it was. New answers, comments, and votes are closed.