How to make actual online chat???

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By boston2029

How do I make an online chat? There was a YouTube tutorial for making a chat UI and making it work, but it doesn’t send the messages to everyone else’s client, therefore making it just singleplayer chat. How can I send like a JSON or some encoded version of the chat message (like ASCII or something, idrk.) and send that information to each client, and then decode it on those clients and display it on a new line of the RichTextLabel containing every chat message? Help appreciated.

Have you had a look at the High-level multiplayer tutorial on the godot docs?

If you follow that, you should be able to send messages to all clients via an rpc function fairly easily

RedBlueCarrots | 2021-04-14 03:03

:bust_in_silhouette: Reply From: FlashSloth

I don’t have any experience with networking , but i think this website ould help : http://www.narwalengineering.com/2018/07/01/godot-tutorial-simple-chat-room-using-multiplayer-api/