You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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
![image](https://private-user-images.githubusercontent.com/40949807/373287695-054c3d28-b15b-47f3-b3f9-bd1d45252789.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwOTAxNzAsIm5iZiI6MTczOTA4OTg3MCwicGF0aCI6Ii80MDk0OTgwNy8zNzMyODc2OTUtMDU0YzNkMjgtYjE1Yi00N2YzLWIzZjktYmQxZDQ1MjUyNzg5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA5VDA4MzExMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTA4OTdjODEzNDY0OTQxZDUxZjk1ODNhZTVkN2I2MWQzNWIzZjcyNzYxNGM3ZDQwYTVlNjY2NGNiOGUzZWE1OTgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.5W98htpKyJ6C3RiEYtgB4q6UVBHYByDvF-norxbQSG8)
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:
![image](https://private-user-images.githubusercontent.com/40949807/373291230-4f4c64ea-d234-4792-acab-04814ab0fbff.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwOTAxNzAsIm5iZiI6MTczOTA4OTg3MCwicGF0aCI6Ii80MDk0OTgwNy8zNzMyOTEyMzAtNGY0YzY0ZWEtZDIzNC00NzkyLWFjYWItMDQ4MTRhYjBmYmZmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA5VDA4MzExMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTkyMDBkYjY5ODZkYTMyMTU0ZjJjNGU1OWU1MDRiMTViNzdlM2I5ZDc3ZjM4OGFkZGM0MWQzYWE3ODZhM2FkMTMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.YKNtDVMKv0nQxBFx7U40xr1aVffFVIQ2lchAZSOU7RE)
The first message is the expected/modified message; the second message is the original message.
The text was updated successfully, but these errors were encountered: