How to create team chats

I’ve been trying to implement a system where players will only be able to see chats and chat bubbles from members who are in the same team. I’d like to do this with the new chat and without using the Chat service if possible.

So far I’ve tried Chat:RegisterChatCallback but it seems to have been deprecated and doesn’t work. I’ve also checked out all of the functions in the TextChatService but none of them seem to be able to accomplish my goal.

All help is appreciated!

2 Likes

The documentation for In-Game Chat System has information on how the new TextChatService works.
You are looking for .ShouldDeliverCallback(). It is part of the TextChannel object, and is how you can ensure the correct people/team can receive the message.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.