Can you have Chat disabled but have Bubble Chat enabled at the same time?

Well, I have a custom chat radio system, I do not want the chat window at all however whenever I submit a message from my custom chat radio I want the bubble dialogues to show, but I do not at all want the default chat window what am currently using is StarterGui:SetCoreGuiEnabled("Chat", false)
to set the whole chat off, If I try it with just SetCore that wouldn’t work because having an understanding Bubble chat needs the default chat system enabled however if I do not want that chat window enabled, can I just go ahead with the regular bubble chat dialogue or will I have to make some custom sort of bubble dialogue?

1 Like

Yes, infact you can.

Now you’ll need a LocalScript inside ReplicatedFirst for this and you’ll want to register a chat callback to return some settings to be merged with the already existing ChatSettings.

The Chat Service has a RegisterChatCallback method where you’ll want to pass the callback Enum you want to register to (OnCreatingChatWindow) and the function to run. This function must return the settings which includes ClassicChatEnabled as false & BubbleChatEnabled as true.

Eg.

local Chat = game:GetService("Chat");

local settings = {
    ClassicChatEnabled = false,
    BubbleChatEnabled = true
};

local function callback()
    return settings;
end

Chat:RegisterChatCallback(Enum.ChatCallbackType.OnCreatingChatWindow, callback);

P.S: There are more settings; see the api-reference

3 Likes

I think your talking about the normal chat right?

But am pretty sure that since I have this line of code written StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Chat, false)
The chat system in itself has been disabled so would this code still work?
I basically in lay man’s terms do not want the chat window or bar at all but the bubble chat dialogues yes and the bubble chat dialogues will be linked to the text I enter from Custom Radio Chat, which would be the message which has been fired through a remote event.

The Chat will need to be enabled in order for this to work, SetCoreGuiEnabled completely hides the Chat.

Yes but can I use SetCore instead of SetCoreGuiEnabled so as to disable the bar and or the window? Or if not can I visually make the bar non-visible?

Using the TopbarEnabled SetCore will hide the entirety of the UI, you don’t want that.

The PlayerGui does have a SetTopbarTransparency method to assign it’s transparency, you’ll want to use this in collaboration with SetCoreGuiEnabled.

Yeah exactly what I wanted to do however, is there any method that I do not start typing in that chat box and instead I can type in my own custom chat box and when I send it that’s the message in the bubble chat. I may have found a method for it called ChatActive which makes the chat active or non-active. I have a slash function in my custom chatbox that it captures the focus whenever you press / so like if I make the chat active to false and I type and enter text in my custom chat box would the bubble chat be sending that message of mine am pretty sure it might not the main thing I want to edit is that I want that bubble chat to be the text of my custom chat box’s message.