Is it possible to replace text in chat?

Started by swelkinn_n on

Topic category: Help with Minecraft modding (Java Edition)

Active 3 months ago
Joined Oct 2020
Points:
879

User statistics:

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

Active 4 months ago
Joined Jul 2021
Points:
706

User statistics:

  • Modifications: 3
  • Forum topics: 12
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 127
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)