Jump to content

[SOLVED] Forced entry of Client Side commands from the server


JeuKkaRak

Recommended Posts

There is a client-only command in the mode, and the server wants to force the user to enter it.

 

ClientCommandHandler.instance.executeCommand

I found the following phrase, but I realized that it was not appropriate to use it as a server command.

Does anyone know how to do this?

 

* It might be a little sloppy because I used a translator.

Edited by JeuKkaRak
SOLVED
Link to comment
Share on other sites

8 minutes ago, Luis_ST said:

I'm not sure if understand your question correctly but Commands are server side, if you want to add client side Commands you need to create a custom logic for them

In mode, there is a client-only instruction called A.

Since command A is not a server command, if the server forces the plug-in to enter it with a dispatch command, etc., it will only come out as a command that does not exist.
However, when the player inputs it directly, it recognizes it as a client command and inputs it normally.

In this way, I want to force the server to make it as if the player had entered it himself.

Link to comment
Share on other sites

  • JeuKkaRak changed the title to [SOLVED] Forced entry of Client Side commands from the server

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.