Is the documentation almost done? I’m really eager to try out the new API
I don’t see the enable TextChatService button in the Beta features menu. Is it a region thing?
Ive been noticing a pretty annoying bug that needs to be fixed.
So when disabling the chat through a script I use
TextChatService:FindFirstChildOfClass("ChatWindowConfiguration").Enabled = false
TextChatService:FindFirstChildOfClass("ChatInputBarConfiguration").Enabled = false
But for some weird reason its giving me a error that says attempt to index nil with enabled
on the exact line where turning chat off starts!
And ive tried using game:WaitForChild("TextChatService")
but nothing works!
If this could be fixed it would help greatly in the future!
getservice
As long as y’all add customizability for setting the chatboxes transparency from 0-1, I’m happy with the new chat service.
Same exact thing happens. 30
Make sure stuff is loaded before running this code maybe?
The script is a loading script and its in starter player scripts. And also ive tried wait for child and nothing changed
what???
Are you in game? This is a beta feature and only enabled in studio.
This is definitely cool. I played around with it for 3-4 hours. However, it is pretty buggy.
- Text chat service randomly turns off and deletes all instances within it.
- Sometimes when you chat it does not work (rare).
- It does not appear when actually in the game (so far).
Also, it would be great if (when TextChatService) is enabled, the other chat functions work with TextChatService.
is there going to be a way to customize the look
like making it look like the current roblox chat, the old one, and having a custom one?
(just skins, not actual old chat)
This is a pretty good idea but, they probably won’t add this.
Will it look like this if you do the free camera mode?
Is it intentional for this to use usernames and not display names? I currently need to use this workaround:
local TextChatService = game:GetService('TextChatService')
local Players = game:GetService('Players')
local LocalizationService = game:GetService('LocalizationService')
local ColorModule = require(script.ColorModule)
if TextChatService.ChatVersion == Enum.ChatVersion.TextChatService then
TextChatService.OnIncomingMessage = function(message: TextChatMessage)
if message.TextSource then
local plr: Player = Players:GetPlayerByUserId(message.TextSource.UserId)
local translator: Translator = LocalizationService:GetTranslatorForPlayerAsync(Players.LocalPlayer)
local prefix = '<font color="#' .. ColorModule.GetPrefixColor(plr) .. '">' .. translator:FormatByKey('PrefixDeveloper') .. '</font>'
message.PrefixText = prefix .. ' <font color="#' .. ColorModule.GetNameColor(plr) .. '">' .. plr.DisplayName .. '</font>'
end
end
else
warn('TextChatService.ChatVersion is set to "LegacyChatService".')
end
Hello, I’m a little confused. From what I can see on an empty baseplate, the new chat should be using DisplayNames already. Are you seeing something differently?
Last time I checked it (when I replied), it was using usernames in my case. Not sure if this is the case anymore since I haven’t opened Studio. It could also have been since I was setting OnIncomingMessage
prefix, still, it’d be better if TextSource
had an DisplayName
property.
Is there any ETA for when this will go live? I’m very excited for this!
A summary of TextChatService Beta changes this week:
- Rolled out a patch to fix a crash when yielding in an OnIncomingMessage hook (New Beta In-Experience Chat System for Channels, Filtering and More! - #135 by LoveliestJacob)
- We’ve noticed that OnIncomingMessage can also crash if OnIncomingMessage throws and we will be addressing this in a future engine release
- The default ChatInputBar UI will now properly respect if a developer manually sets
ChatInputBarConfiguration.TargetTextChannel
- Fixed an issue where messages were being sent to the wrong TeamChannel if your Team changed while the ChatInputBar was in “team chat mode”
- Toggling the chat top bar button will properly respect ChatInputBarConfiguration’s and ChatWindowConfiguration’s Enabled values (New Beta In-Experience Chat System for Channels, Filtering and More! - #152 by StonksMcHat).
- TextChatService default UI will now respect
StarterGui:SetCoreGuiEnabled
(New Beta In-Experience Chat System for Channels, Filtering and More! - #22 by BillB1ox) - TextChatService default UI scaling should behave better on various screen widths (New Beta In-Experience Chat System for Channels, Filtering and More! - #21 by intergravitation)
We don’t have a set public date yet (since anything that can go wrong will go wrong). We are merging a patch to address a nasty crash this week which is hopefully the last engine change we’ll need before we can release.
That puts our optimistic timeline to sometime towards the end of June or early July when it’s safe to release outside of Studio.