Velocity icon indicating copy to clipboard operation
Velocity copied to clipboard

Limit chat message size

Open roccodev opened this issue 4 years ago • 2 comments

This allows server owners to block oversized messages on the proxy's end.
They can either choose to kick the player or to just cut the message to fit within limits.

roccodev avatar Jan 08 '22 16:01 roccodev

I don't think this should be something built-in to Velocity, but rather something a plugin should do

tjalp avatar Jan 08 '22 18:01 tjalp

That's also something I was wondering, but Velocity already checks for invalid characters, and it also rejects oversized messages in the API's Player#spoofChatInput(String).

roccodev avatar Jan 08 '22 18:01 roccodev