How can i add a command on keybing?

Started by SlayDigger on Tue, 08/18/2020 - 16:17

Topic category: Help with MCreator software

Last seen on 17:29, 7. Mar 2021
Joined Dec 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How can i add a command on keybing?
Tue, 08/18/2020 - 16:17

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

Last seen on 17:29, 7. Mar 2021
Joined Dec 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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