Search code examples
javachatminecraftbukkit

How to change chat text in bukkit after being posted?


Ok, so I want to animate some text with prefix [anim]something, so the color changes. So after the player sends the text, I can get text in the plugin without posting it yet. So then I can do something with text and then I post it. But I don't think I can animate it this way.

Any suggestions on how to update only one line of chat without having to store and re-post whole chat text?

Thank you!


Solution

  • You cannot change chat messages after being sent.

    So the only way to do it would be exactly what you want to avoid, re-posting the whole chat.