Sending data between servers?

  1. What do you want to achieve? Keep it simple and clear!
    A type of social media for a project of mine. Lets say a player types “Hello World”. Then they enter it, I want that text to go from that server to all the other servers, is there a way to do that?
  2. What is the issue? Include screenshots / videos if possible!
    No issues, just brainstorming
  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    I was thinking of making an external api using python or something, then post the string to the api, yet i’m not sure I can get that string from a different server. Another thought was having a data base for all the strings, or a server that once I send a string it stores it in a database. Then in other servers I load the strings in from that database. Although this could be potentially bad in terms of performance, unless I clear that data base. If i can’t do the string to multiple servers thing, maybe I can do a client to client type messaging thing instead of the social media style thing.

I’m familiar with python and java script if any options use those languages.

3 Likes

This is specifically the purpose of the MessagingService:

It allows you to easily transfer data between servers, using SubscribeAsync and PublishAsync. It does have limits, but works amazingly in most situations.

7 Likes

Thanks! I should’ve done a bit more research inside the roblox side, I convinced myself that I had to do it externally

2 Likes