Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

All Server Data Save? [closed]

Asked by 8 years ago

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

0
I think very much that this could be used the help of a service obviously AshRPG12 42 — 8y

Closed as Not Constructive by Sublimus, gskw, and M39a9am3R

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?

1 answer

Log in to vote
1
Answered by 8 years ago

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.

Ad