I made a post 2 weeks ago regarding muting people so that they cannot speak at all in-game (as opposed to local muting with /mute). I soon found out about the MuteSpeaker method that ChatChannels have. However, this does not prevent whispering. Whisper channels are not returned in the array from the method GetChannelList, and even if they were, the point here is to ensure those channels are not created in the first place.
How can I completely prevent certain users from entering anything into the chat, without forking the system? I want them to be absolutely muted and only able to read messages. Right now, whispering seems to be the only thing they can do with the MuteSpeaker command having been run on them. If I can disable that, then players are effectively muted.
I donât know scripting, but there is a custom chat model named iChatX that customizes the chat, and makes it available to delete and create commands, it is pretty cool! I suggest you try it out.
I am pretty sure (donât know if itâs deprecated) there was a constant in the chatsettings called AllowWhispers or WhisperChannelsEnabled. Maybe try this, but like I said, it might be deprecated
This removes the functionality of whispering from everybody, not just muted users. At that point youâre forking the chat, too, so you might as well just edit those scripts to take mutes into account.
Appreciate the notice, from you and the person you replied to. The ambiguity of the title suggests a contradiction between it and the content of the post.
âDisable whispering entirelyâ is inaccurate. I mean to disable the whisper functionality (and ideally, sending chat messages as a whole) on certain clients.
Actually, after doing some research, you arenât able to whisper to anyone while being muted in the channel.
However, if chat bubbles are enabled, they will still be visible to the client youâre messaging (and yourself).
You would have to go inside the chat bubble script and check if they can speak or not.
you arenât able to whisper to anyone while being muted in the channel.
Which channel? If you mean the All channel (the default channel), then this is not true. Consider the following gif: https://gyazo.com/e5f8ca6105c77396fda504275e2668a9
On the left is Player1, with no chat methods run on them. On the right is Player2, with MuteSpeaker run on them in the All ChatChannel. As you can see, while Player2 cannot speak in the chat, they can still whisper to other users.
Trying this with the System ChatChannel does nothing. Neither player is muted.
By default, these are the only two ChatChannels that exist (as returned from GetChannelList, anyway).
In regards to chat bubbles, someone else will have to figure that out because my game will have them turned off.
thatâs strange, the message never got sent by my other client.
I believe youâre doing something wrong as I did not run into this when muting them from the All channel.