PaperMC/paper-server/patches/sources/net/minecraft/server/network
Aikar 04c783377e Limit Client Sign length more
modified clients can send more data from the client
to the server and it would get stored on the sign as sent.

Mojang has a limit of 384 which is much higher than reasonable.

the client can barely render around 16 characters as-is, but formatting
codes can get it to be more than 16 actual length.

Set a limit of 80 which should give an average of 16 characters 2
sets of legacy formatting codes which should be plenty for all uses.

This does not strip any existing data from the NBT as plugins
may use this for storing data out of the rendered area.

it only impacts data sent from the client.

Set -DPaper.maxSignLength=XX to change limit or -1 to disable
2019-02-27 22:18:40 -05:00
..
LegacyQueryHandler.java.patch Call PaperServerListPingEvent for legacy pings 2017-10-11 19:30:51 +02:00
ServerCommonPacketListenerImpl.java.patch revert serverside behavior of keepalives 2017-10-15 00:29:07 +01:00
ServerConfigurationPacketListenerImpl.java.patch Adventure 2021-01-29 17:54:03 +01:00
ServerConnectionListener.java.patch Avoid blocking on Network Manager creation 2016-05-16 23:19:16 -04:00
ServerGamePacketListenerImpl.java.patch Limit Client Sign length more 2019-02-27 22:18:40 -05:00
ServerHandshakePacketListenerImpl.java.patch Configurable connection throttle kick message 2018-10-02 09:57:50 +01:00
ServerLoginPacketListenerImpl.java.patch Add PlayerConnectionCloseEvent 2018-10-07 12:05:28 -07:00
ServerStatusPacketListenerImpl.java.patch Implement extended PaperServerListPingEvent 2017-10-11 15:56:26 +02:00