Yeah, I'm using onServerChat but I can't tell who sent the message. I want to handle the message if another player sent it, but not send it if the client sent it. onClientChat only works in singleplayer, so I'm not sure, how to tell who sent what message.
So, I am coding a mod for servers. I want to be able to intercept a players message before it's sent. For example, if I were to send "Hey, Everybody" the code would intercept, figure out what the message reads and decide whether it should be sent or not... Or alter what is sent. Thanks for the help!