SteveMCFreak Posted January 10, 2017 Posted January 10, 2017 Hello, I am currently coding a auto correct mod that is suppose to read the message the player types (after they press enter), and modify or cancel it. The mod is almost finished all I need now is to figure out how to modify the chat input the client enters. I have tried google, no luck with that so I came here. Quote
Tschipp Posted January 10, 2017 Posted January 10, 2017 You could probably use Forge's ServerChatEvent Quote
SteveMCFreak Posted January 10, 2017 Author Posted January 10, 2017 Heres the thing, If I did this on the server side every single server would have to download forge and my mod on it and I can tell you already no one is gonna do that. It needs to be on the CLIENT side. Sorry if I didn't make it clearer in the first post. Quote
SteveMCFreak Posted January 11, 2017 Author Posted January 11, 2017 Can't you do it in ClientConnectToServerEvent with some sort of net handler intercepting some chat packet? Quote
Draco18s Posted January 11, 2017 Posted January 11, 2017 On 1/11/2017 at 4:07 AM, SteveMCFreak said: Can't you do it in ClientConnectToServerEvent with some sort of net handler intercepting some chat packet? That event, does not in any way, help you modify chat messages. Quote Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.