Commit Graph

1878 Commits

Author SHA1 Message Date
md_5
9953698a7c
Add GitHub Java 17 build 2021-09-16 07:43:13 +10:00
md_5
bda1605627
Minor formatting fixes 2021-07-22 11:46:41 +10:00
Outfluencer
2e0e88db0d
#3158: Remove redundant protocol version check in the TabCompleteResponse packet
No need for the second if in the read and write method use a else instead
2021-07-22 11:43:03 +10:00
Outfluencer
96482cc0cf
#3157: Read only 20 chars for clients below 1.13 in PluginMessages
20 chars is the vanilla limit for all clients below 1.13. We should use this value.
2021-07-22 11:42:48 +10:00
Outfluencer
a283aaf724
#3153: Add color support to the end command 2021-07-18 10:22:17 +10:00
Adrian Antkowiak
5db276eb52
#3147: HAProxyMessage.sourceAddress() can be null
.sourceAddress() is null when send-proxy-v2 & check option is used
2021-07-11 09:06:51 +10:00
md_5
c866619f56
Minecraft 1.17.1 support 2021-07-07 00:00:00 +10:00
Outfluencer
b9da505efe
#3142: Remove redundant name length check in InitialHandler
This check is not needed anymore as the player gets kicked while reading the LoginRequest packet if the name length is longer than 16
2021-07-04 09:40:47 +10:00
md_5
061a7c67bd
Update checkstyle 2021-07-03 11:17:12 +10:00
Ivan Pekov
6f7331e852
#3138, 3140: Check for the new leak detector netty flag 2021-06-30 19:00:22 +10:00
md_5
1b489bcc11
Attempt to fix java 8 native crash 2021-06-26 11:39:53 +10:00
md_5
da27924a49
#3115, #3125: Update natives build script, switch to Cloudflare zlib 2021-06-26 11:31:05 +10:00
Outfluencer
15b39887c5
#3133: Directly disconnect on illegal chars 2021-06-26 10:09:17 +10:00
Janmm14
f9583a7652
#3129: Replace ConnectTimeoutException with a more user-friendly string. 2021-06-26 10:06:12 +10:00
Janmm14
cb738188de
#3126: Use suppliers instead of reflection for native impl generation. 2021-06-26 10:01:30 +10:00
Outfluencer
a8b2f5268d
#3123: Apply exact vanilla string length limits for tab completion 2021-06-20 08:51:55 +10:00
Outfluencer
ad50fc9ad3
#3111: Check chat for illegal chars & moved length check into the packet class 2021-06-15 09:07:20 +10:00
md_5
a25c2b325b
Fix typo in previous commit 2021-06-13 11:26:18 +10:00
md_5
c57bf61114
#3113: Remove unnecessary slice in PacketDecompressor
Thanks @lokha for the profiling and suggestion.
2021-06-13 08:32:25 +10:00
md_5
b7935d4b14
Downgrade SnakeYAML due to issues with comments parsing 2021-06-11 21:13:42 +10:00
Janmm14
00982f3620
#3104: Use lambdas rather than reflection to create packets 2021-06-11 16:55:02 +10:00
Lukas Alt
088b2045d0
#3109: Made file log level configurable 2021-06-10 08:42:48 +10:00
Antoine L
633ff1cfc8
#3107: Fix action bar messages in 1.17 2021-06-09 18:58:20 +10:00
md_5
6cda6b6c10
Update SnakeYAML and Netty 2021-06-09 18:56:38 +10:00
md_5
90573625f1
Minecraft 1.17 support 2021-06-09 09:00:00 +10:00
Janmm14
d49e97c423
#3099: Improve toArray calls by using an empty array as parameter.
From Intellij IDEA inspections: Since late updates of OpenJDK 6 this call was intrinsified, making the performance of the empty array version the same and sometimes even better, compared to the pre-sized version.
2021-05-28 08:23:43 +10:00
md_5
39a80e414e
#3093: Support names with '.', block names with ' ' 2021-05-26 10:31:37 +10:00
md_5
ab9153ddc3
Further increase length limit for TO_CLIENT chat packets 2021-05-26 10:31:26 +10:00
md_5
7ec1f487c1
Remove ipv6 scope from forwarded addresses
Affects forwarding when epoll enabled
2021-05-25 18:42:10 +10:00
md_5
c96628b72e
#3094: Fix TO_CLIENT max Chat string length 2021-05-21 17:45:55 +10:00
md_5
e5ded9a2fb
Apply stricter length limits to client strings
Also bump snapshot version and remove redundant file header
2021-05-21 08:16:55 +10:00
md_5
5823f47467
#3090: Register events in parent classes 2021-05-19 18:41:09 +10:00
Janmm14
a0b7f09252
#3087: Force-enable multi-release jar file support for JDK9+ via System property 2021-05-18 20:34:53 +10:00
md_5
b60a30c705
Move additional dependencies to runtime scope 2021-05-16 18:09:04 +10:00
md_5
4fc1a9e770
Dependency bump 2021-05-15 17:22:35 +10:00
md_5
f0908b663f
Add optional 1.17 (21w19a) snapshot protocol support
Accessible via the net.md_5.bungee.protocol.snapshot JVM property.
2021-05-15 09:31:07 +10:00
md_5
5fa596fee9
#3084: (Regrettably) add a full SLF4J wrapper 2021-05-14 08:51:09 +10:00
md_5
ada1b95ffc
Remove redundant entity rewriting code on > 1.16.2 2021-05-12 07:59:50 +10:00
Luck
72b3bdf676
#3077: Fix regression preventing child classloaders delegating to a PluginClassloader
Bug was introduced in 425dd45109
2021-05-01 08:32:51 +10:00
Janmm14
71d1246374
#3066: Put ReadTimeoutHandler after frame decoder.
This reduces the impact of attacks that send a large packet size first and then send data very slowly but frequently enough to not trigger a timeout (as the timeout handler was before the Varint21FrameDecoder). This causes connections to stay open for a long time without much effort from an attacker, while the packet never leaves the Varint21FrameDecpder stage of the netty pipeline (causing no additional checks to happen and no logs of the connection to be created).

This will not have an impact on bad connections as without recieving full packets the underlying spigot server would timeout instead.
2021-04-28 16:52:00 +10:00
_tomcraft
ac371bb596
#3073: Release HAProxyMessage after read 2021-04-28 08:07:17 +10:00
md_5
830ee8f27d
#3061: Continue to fallback to underlying URLClassLoader 2021-04-10 07:30:17 +10:00
md_5
425dd45109
Override classloader close method for completeness 2021-04-09 15:38:21 +10:00
md_5
6a039de8db
Add preview of automatic library support
Example plugin.yml usage:
```
    libraries:
      - com.squareup.okhttp3:okhttp:4.9.0
```

Libraries will only be accessible to plugins and their transitive depends, allowing for multiple versions of the same library to be used by different plugins.

This is a preview feature. Feedback is welcome so that it may be refined before being made widely available.
2021-04-09 13:13:55 +10:00
md_5
8d783aa172
#3058: Remove world limit 2021-04-06 08:18:58 +10:00
md_5
a4e5f5005b
Add full support for building on JDK [15,) 2021-04-04 17:24:23 +10:00
Zach Levis
a7c6edeb63
#3041: Respond to login query requests in a way that matches the Vanilla client 2021-02-26 11:28:05 +11:00
Janmm14
4f23b49fef
#3037: Update ProxiedPlayer#setDisplayName javadoc to current behaviour 2021-02-14 09:37:07 +11:00
md_5
cfcc8b1a6f
Pin GitHub workflow build to ubuntu-20.04 2021-02-14 09:35:07 +11:00
md_5
ebec582ce2
Add full support for building on JDK [8, 14] 2021-02-14 09:29:55 +11:00