How can i add a command on keybing?

Started by SlayDigger on

Topic category: Help with MCreator software

Active 1 year ago
Joined Dec 2019
Points:
695

User statistics:

  • Modifications: 2
  • Forum topics: 7
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 21
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

Active 1 year ago
Joined Dec 2019
Points:
695

User statistics:

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

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