Paper/paper-server/patches/sources/net/minecraft/server
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
..
bossevents Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
commands Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
dedicated Use a Queue for Queueing Commands 2018-08-12 02:33:39 -04:00
gui Use TerminalConsoleAppender for console improvements 2017-06-09 19:03:43 +02:00
level Workaround for vehicle tracking issue on disconnect 2019-01-07 14:43:48 -06:00
network Limit Client Sign length more 2019-02-27 22:18:40 -05:00
packs Build system changes 2016-02-29 20:40:33 -06:00
players Replace OfflinePlayer#getLastPlayed 2019-01-02 00:35:43 -06:00
rcon Configurable RCON IP address 2016-04-16 00:39:33 -04:00
Bootstrap.java.patch Fix this stupid bullshit 2017-08-06 17:17:53 -05:00
Main.java.patch Basic PlayerProfile API 2018-01-15 22:11:48 -05:00
MinecraftServer.java.patch Async command map building 2020-04-08 02:42:14 -05:00
PlayerAdvancements.java.patch Add PlayerAdvancementCriterionGrantEvent 2018-01-19 08:15:29 -06:00
ServerAdvancementManager.java.patch Configurable Advancement Disabling 2017-06-09 16:29:31 +10:00
ServerFunctionManager.java.patch Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
ServerScoreboard.java.patch Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
ServerTickRateManager.java.patch Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
Services.java.patch Paper config files 2022-06-08 22:20:16 -07:00