Jump to content

How to show a chat message, with a client-side forge mod, but not send that message to the server.


Recommended Posts

Posted

I want to make a client-side that allows you to type a command which it will detect, and then show you some information. I have figured out how to detect when the player has entered that command, and how to stop it from being sent to the server, but i can't figure out how to show the information the player requested in the chat (I don't wan't a custom gui) without sending that message to the server. mc.player.sendMessage() send the message to the server, and I wan't a way to stop it from doing so.

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.