Make the player run a command when something is sent in chat

Started by Ruukasu on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make the player run a command when something is sent in chat

I'm wanting the client that my mod is running on to run a command, for example, "/message Joel2 they spoke!" when the message "hey!" can be seen in chat, how could I do this?

Joined Sep 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you can use the extra…
Tue, 10/26/2021 - 15:51

you can use the extra trigger with the starting block in procedures and you can set it to do that when the player sends a message in the chat