I want to disable the whisper feature completely, including /w and clicking player name to open whisper channel.
I have managed to disable /w but I cant disable player clicking people’s name which opens whisper channel
I want to disable the whisper feature completely, including /w and clicking player name to open whisper channel.
I have managed to disable /w but I cant disable player clicking people’s name which opens whisper channel
I don’t exactly know how but I think you might have to like tamper with the actual games code. I haven’t done much with chat other than coloring it. Hope this helps a little.
Script in ServerScriptService
local TextChatService = game:GetService("TextChatService")
TextChatService:WaitForChild("TextChatCommands"):WaitForChild("RBXWhisperCommand"):Destroy()
^ Don’t know if this is still applicable given Roblox chat changes but give it a go
Alternatively, look around the chat modules and Ctrl + F them to see if there is anything relating to whispers you can disable or delete
This may work, idk as I can’t test it right now. Just put it in a local script within StarterPlayerScripts
local textChatService = game:GetService("TextChatService")
textChatService.OnIncomingMessage = function(textChatMessage : TextChatMessage)
if textChatMessage.Metadata == "Roblox.Whisper.Info.Success" then
local properties = textChatService.ChatWindowConfiguration:DeriveNewMessageProperties()
properties.TextColor3 = Color3.new(1, 0, 0.0156863)
properties.Text = "A player has attempted to whipser you. Whispering is disabled."
return properties
end
end