I was wondering, how can I go about making a chat system that works across servers? Maybe even across games?
I know in the past, people have made certain things like ROBLOX phones and stuff that would allow you to message people across games. I don’t need to make an entire phone, of course, just the chat.
First, we tried using data stores which did not work out. Now we are wondering if we need to use a web server or something.
Currently, the only possible ways of cross-communication are through data stores or using web requests. Although, both of these methods have limitations to how much you can use them. HttpService has a higher amount of requests you are limited to, however this would require you to have your own domain or website that it interacts with. However, with both of these methods comes delays while posting or getting information (messages). Assuming you decide to use HttpService, you could tell the player when they have exceeded the amount of requests in a minute (maybe 5 - 10 messages in a 10 player server). There is also a release note that has promised a MessageService which is dedicated to cross-server communication.
Universe Scripts were thrown aside, not a promised feature. MessageService will be out soon and provides cross-server chats as well as real-time leaderboards.
Datastore.OnUpdate is not called unless there is a GetAsync called (iirc from a previous topic). It shouldn’t be hard to do this web-server wise, but would need a reliable host for constant requests.
You may want to check out Okwo’s sendShared function which runs cross-server and is pretty efficient.
Let me know if you’re interested or just hop into our Discord (link is at the bottom of the website) so I can explain it deeper and answer any questions.