13
0
geforkt von Mirrors/Paper
Paper/paper-server/patches/sources/net/minecraft
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
..
advancements Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
commands Brigadier Mojang API 2020-04-19 18:15:29 -04:00
core Optimize MappedRegistry 2018-08-26 20:49:50 -04:00
nbt MC Dev fixes 2016-03-30 19:36:20 -04:00
network Add PlayerConnectionCloseEvent 2018-10-07 12:05:28 -07:00
resources MC Dev fixes 2016-03-30 19:36:20 -04:00
server Limit Client Sign length more 2019-02-27 22:18:40 -05:00
stats Allow statistics to be disabled/forced 2014-01-07 15:56:26 +00:00
util PreCreatureSpawnEvent 2018-01-14 17:01:31 -05:00
world BlockDestroyEvent 2019-02-06 00:20:33 -05:00
ChatFormatting.java.patch Adventure 2021-01-29 17:54:03 +01:00
CrashReport.java.patch Deobfuscate stacktraces in log messages, crash reports, and etc. 2021-06-20 18:19:09 -07:00
CrashReportCategory.java.patch Deobfuscate stacktraces in log messages, crash reports, and etc. 2021-06-20 18:19:09 -07:00
Util.java.patch Improve Server Thread Pool and Thread Priorities 2018-10-23 23:14:38 -04:00