iamajust
(iamajust)
January 22, 2021, 12:39pm
#1
Hey developers!
Is there a way to disable the chat log, so you only see the chat bar (where you can send a message yourself)?
Have a nice day, iamajust
1 Like
Sir_Numb
(Sir_Numb)
January 22, 2021, 12:43pm
#2
Make sure to check if your question has been asked before next time.
Not sure about where the website setting is, but there is also a setting in the chat scripts that you can use. Here are the instructions:
Play your game in studio and then copy the ClientChatModules folder from Chat. Stop playing and paste this back under Chat. Remove everything from this folder but the ChatSettings module.
This settings module has a good amount of ways to customize both the look and functionality of the chat. The setting you are interested in is:
--- Replace with true/false …
I dont think thats what he is asking.
He asking about the chat log and bar not buble chat.
He wants to get rid of the log. Not the bar.
I would help but IDK how to.
iamajust
(iamajust)
January 22, 2021, 12:47pm
#4
I don’t want to fully disable the chat using game:GetService("StarterGui"):SetCoreGuiEnabled(Enum.CoreGuiType.Chat, false)
.
I just want to disable the chat log and only keep the chat bar where you type the chat messages you will send.
Sir_Numb
(Sir_Numb)
January 22, 2021, 12:51pm
#5
that’s not what @ TheGamer101 tried to explain, you can grab the chat module and modify it inside or an easier solution could be using the ChatService read more here:
Forking the whole chat system to modify one item is not a smart idea. I wouldn’t fork the chat at all actually. You can accomplish this same thing in far less steps. All you need is a LocalScript and a connection to the ChatService.
local Chat = game:GetService("Chat")
Chat:RegisterChatCallback(Enum.ChatCallbackType.OnCreatingChatWindow, function()
return {
BubbleChatEnabled = true,
ClassicChatEnabled = false,
}
end)
Recommended to place this in ReplicatedFirst.
iamajust
(iamajust)
January 22, 2021, 12:56pm
#6
I’ll try it right now! Thanks!
(Edited after 3 minutes)
It works! Thank you for your help!
1 Like