Jump to content

Client Side Commands in 1.16


GizmoDawg

Recommended Posts

How could I create a client side command in 1.16? My idea for this was so I could add commands like /day or /night to set the client side time. Thanks.
EDIT: Also, I would like to say that I am new to forge and just set it up today. I have had past experiences with spigot, but I see that it is nothing like forge.

Edited by GizmoDawg
  • Like 1
Link to comment
Share on other sites

What I do is create the command with empty content (does not execute anything) so you have the auto completion, and use ClientChatEvent to compare the input manually, then stop the msg being sent if it matches. Not sure if this works without any side effects, but it works.

Edited by poopoodice
  • Thanks 1
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.