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

How to make multiple servers 'contact' eachother?

Asked by 6 years ago
Edited 6 years ago

Like for example, in a mini server, a player has completed something and their rewarded points will be saved in the main server. So how do you do that?

0
DataStores User#20388 0 — 6y
0
Don't rush to just answer the question bro Konethorix 197 — 6y

1 answer

Log in to vote
0
Answered by 6 years ago

I'm fairly sure you're referencing to the multiple places in a game in regards to your "servers". If that is the case, you can go from two approaches as to communicating with them; by an external website that you either host using out-of-pocket money or by using the DataStores.

DataStores are usually the way to go for the developers who are looking for a less expensive approach to their game or don't have the need of an external database yet. Be warned, data will transfer across places but not across games! If your game is part of a system of games that are not connected by places, the data will not miraculously transfer over.

Due to this reason, some developers, especially those for groups that want to synchronize data across different group games, seek the help of external databases to get data across to different games. There are some restrictions to this, however. HTTP requests are capped at 500 per minute, meaning that you can't just bombard your database at once. Some databases are also somewhat pricey and your earnings from your game may not cover our expenses.

Read more here: http://wiki.roblox.com/index.php?title=Multi-Place_Games#Persistence_2, http://wiki.roblox.com/index.php?title=API:Class/HttpService

Ad

Answer this question