How do I make a chat message trigger an event?

Started by LagLiniJacob on

Topic category: Help with modding (Java Edition)

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I make a chat message trigger an event?

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 14:00, 14. Nov 2023
Joined Jun 2015
Points:

User statistics:

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