Interface ClientSendMessageEvents.ModifyChat
- Enclosing class:
ClientSendMessageEvents
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionmodifySendChatMessage(String message) Called when the client sends a chat message, typically from a client GUI.
-
Method Details
-
modifySendChatMessage
Called when the client sends a chat message, typically from a client GUI. Is not called when chat messages are blocked. UseClientSendMessageEvents.CHATif not modifying the message.- Parameters:
message- the message that will be sent to the server- Returns:
- the modified message that will be sent to the server
-