Is it possible to replace text in chat?

Started by swelkinn_n on

Topic category: Help with Minecraft modding (Java Edition)

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Is it possible to replace text in chat?

I remember an old mod that had something like a "silenced" effect if I remember, and what it would do is make it so if a player sent a chat message it would replace it with something like "Mmmff mmmh mmph!" or something silly like that since they were silenced. Is this possible to do in MCreator?

Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If Event/Target Entity has…
Thu, 06/22/2023 - 06:35

If Event/Target Entity has active potion "silenced" (It's in flow control)
      Cancel event that caused trigger (It's a big green block in advanced)

      Send message to all players "Mmfff mmmh mmph!" (You could also make it pick from a few random ones or something)