Posted August 7, 20205 yr 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 August 7, 20205 yr by GizmoDawg
August 7, 20205 yr I’m not sure what you mean be client side time but there’s a pr on github trying to implement client side commands register event, you might want to have a look at it.
August 7, 20205 yr 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 August 7, 20205 yr by poopoodice
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.