Jump to content

ClientChatEvent


gutyina70

Recommended Posts

I'm searching for a client side event. I know, there is a server side event called ServerChatEvent, but I want that event client side. My project is  when you try to say something on a server, it says something different. So the event has to be cancellable. If no events for this thing how can I do my project?

Link to comment
Share on other sites

There are events for this. There is ClientChatEvent which is for when client wants to send chat to server, and a ClientChatReceivedEvent for when chat is received. Both are cancelable, but if you just want to change the chat I don't think you need to cancel but rather just change the content of the related fields.

Check out my tutorials here: http://jabelarminecraft.blogspot.com/

Link to comment
Share on other sites

1 hour ago, gutyina70 said:

If I make that mod in 1.12.2 then can I use that in 1.8.9?

No. 

Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support.

 

1.12 -> 1.13 primer by williewillus.

 

1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support.

 

http://www.howoldisminecraft1710.today/

Link to comment
Share on other sites

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.