Jump to content

[1.8.9] Monitor Client Chat and prevent it from being sent


ScottBot10

Recommended Posts

I am making a mod that I can use on servers and what I would like to do is monitor the messages being sent by the player and if they contain a certain string to not send them. For example if it has bad language it will prevent it from being sent.

 

I could not find an event for this, only for receiving chat and not for sending it.

 

I am new to modding and any help would be appreciated. Thanks!

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.