Posted February 5, 20196 yr I'm making a command logger (client only), and I need to intercept the chat command that goes from client to the server. I have tried to find some class or interface, but it was not successful. If such an interface or a class exists, you can specify its name and the simplest example of usage, please. Maybe I need to extend Gui class and implement my own chat GUI? P.S. Sorry for my English. Thank you.
February 5, 20196 yr You don't need to implement your own GUI, no. Forge provides ServerChatEvent and ClientChatEvent events, depending on where you want to intercept the message. Sounds like ClientChatEvent is what you need here.
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.