Add whisper event #10547
FireNameFN
started this conversation in
Ideas
Add whisper event
#10547
Replies: 3 comments
-
fwiw, the kick on cancelling preprocess should be fixed |
Beta Was this translation helpful? Give feedback.
0 replies
-
Yes, it was fixed. But whisper event would be very useful. |
Beta Was this translation helpful? Give feedback.
0 replies
-
There already is a |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is your feature request related to a problem?
I need to format whisper messages.
Describe the solution you'd like.
Add
AsyncChatWhisperEvent
.Add
AsyncChatWhisperEvent.renderer(ChatRenderer)
.or
Add
AsyncChatWhisperEvent.senderRenderer(WhisperRenderer)
.Add
AsyncChatWhisperEvent.receiverRenderer(WhisperRenderer)
.Describe alternatives you've considered.
Before I did it with PlayerCommandPreprocessEvent.
Now (after 1.19.1) if you cancel this event (
msg
command), player will be kicked on next chat message.Kick reason: Received chat packet with missing or invalid signature.
Other
Beta Was this translation helpful? Give feedback.
All reactions