I am using the latest version (1.2.4) using a 1.21 Fabric server and Velocity 3.3.0-SNAPSHOT-436
This happens when I use ChatResult.message() to remove the Prefix that specifies the desired Audience.
In this case the prefix symbolizes the MineCraft Server, i.e. the Vanilla Chat.
If this helps, here is the snippet of my Plugin's code:
The Event is registered with PostOrder.FIRST, so it is definitely executed before SignedVelocity's EventListener.
Here is what the Client receives:
The first message is the expected/modified message; the second message is the original message.
For all Velocity Plugin devs reading this: an ugly hotfix is to just send the message to the RegisteredServer yourself and returning ChatEvent.denied() even when you just modify the messages content.
I am using the latest version (1.2.4) using a 1.21 Fabric server and Velocity 3.3.0-SNAPSHOT-436
This happens when I use
ChatResult.message()
to remove the Prefix that specifies the desired Audience. In this case the prefix symbolizes the MineCraft Server, i.e. the Vanilla Chat. If this helps, here is the snippet of my Plugin's code: The Event is registered withPostOrder.FIRST
, so it is definitely executed before SignedVelocity's EventListener.Here is what the Client receives: The first message is the expected/modified message; the second message is the original message.