Global Chat In Roblox - Communicate with users across different servers

Hello Developers!

Happy pride month!

Today I tried to create a global Roblox game chat and it turned out fairly well except a few things.

Note: Chat filter has not been implemented. It soon will be.

What is this “Global Chat”?

The Idea of this global chat is that, users no matter which server they are playing in, can chat with each other. Users from different servers can chat with each other, unlike the default Roblox chat used only to communicate between users in your own server.

How does it work?

Each time someone sends a message, the message is saved inside a datastore. You cannot send another message until the message has been stored inside the datastore. Whenever a person joins, a cache table is created. When loading data. The messages are filtered and placed in the cache. The cache is then loaded on your screen!

Note: Messages take 6-7 seconds to be sent.
Its still in testing phase, so there may be bugs such as, button stuck at “saving…”

Game link if you would like to test it out with your friends: global server chat test - Roblox

I would love feedback, ideas and enhancements that can be implemented.

Thank you!
Stay Safe

3 Likes

There’s also MessagingService. You can use that to improve your Global Chat. :slightly_smiling_face: Look on the Roblox wiki if you need to.

Thank you! I’ll surely look into it :slight_smile: