How do I make a chat message trigger an event?

Started by LagLiniJacob on Tue, 09/22/2020 - 18:07

Topic category: Help with modding (Java Edition)

Last seen on 05:34, 24. Sep 2020
Joined Nov 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How do I make a chat message trigger an event?
Tue, 09/22/2020 - 18:07

I'm trying to make a simple mod that plays a sound effect whenever "CRITICAL HIT!" is seen in chat, how would I go about doing this?

Last seen on 19:10, 23. Oct 2020
Joined Jun 2015
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Idk if the global trigger is…
Wed, 09/23/2020 - 11:05

Idk if the global trigger is in 2020.4 or if it will arrive in 2020.5 but there's one called "Player send chat" that should do the job.