Jump to content

Recommended Posts

Posted

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.

Posted

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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