How can i add a command on keybing?

Started by SlayDigger on

Topic category: Help with MCreator software

Joined Dec 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How can i add a command on keybing?

So i'm trying to make a client side mod that will do specific commands upon a key pressed (For Example, /spawn upon down pressed) I already have a keybind, but how would i add a procedure for sending the command?

Add the procedure mod…
Tue, 08/18/2020 - 16:26

Add the procedure mod element and trigger it on key binding.

Keep in mind such server needs server-side as you can't spawn entity entirely from the client-side.

I suggest you check our tutorials collection playlist on our YouTube channel which contains many examples and tutorials that can help you get started with MCreator: https://www.youtube.com/playlist?list=PLAeL-oIFIEngE6jRgFYeFMfuj8WQsO3Ei

Joined Dec 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Would this work? (?) Send to…
Tue, 08/18/2020 - 16:29

Would this work?
(?) Send to chat to all players: text inside textfield /join