In this video, I demonstrate how the “/cmds” command in my game is broken with the new chat, but still works when forcing the old chat to reappear
The command not working is due to Player.Chatted
not firing on the client, (although it does fire on the client, but for players other than the local player). This has been an issue since the release of TextChatService. I was hoping that the LegacyChat running in the background on migrated games would prevent this issue, but this is not the case
There has already been a bug report for this, Player.Chatted not firing on client when the chat version is set to TextChatService, However, this bug report was closed right away it seems, after the first reply was marked as a solution
The marked solution says to basically not use Player.Chatted
with TextChatService. Problem is that now, this is breaking games due to the recent forced migration to TextChatService. Maybe the older bug report should be reopened?
It is also unclear if Player.Chatted
is going to get deprecated or not. It still has use, mostly for getting chat messages on the server, as the alternative is to use a remote event with SendingMessage
or OnIncomingMessage
Repo file (same one as the other thread): Reproduction.rbxl (35.9 KB)
System information:
Ryzen 5 5600G, 8Gb of DDR4 RAM, …
Expected behavior
I expect Player.Chatted
to fire on the client for messages sent by the local player, or a full deprecation of Player.Chatted