Worldwide chat

how to make like a chat where you can send text to anyone in the world who is in this game as well.

You probably need an external server that manages sending the messages.
I would say you might wanna search for general chat server/client applications and then connect them with C++.
There is probably no easy Blueprint way, at least not without plugins.