Commit Graph

253 Commits

Author SHA1 Message Date
md_5
ab9153ddc3
Further increase length limit for TO_CLIENT chat packets 2021-05-26 10:31:26 +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
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
8d783aa172
#3058: Remove world limit 2021-04-06 08:18:58 +10:00
md_5
3d701fbe0e
#3028: Add protocol level string length limits 2021-01-25 15:54:27 +11:00
md_5
9f6a798ea6
Bump version to 1.16-R0.5-SNAPSHOT 2021-01-15 10:19:24 +11:00
md_5
36c8df4d2f
Release 1.16-R0.4 2021-01-15 09:49:36 +11:00
md_5
281aecef4c
Minecraft 1.16.4 support 2020-11-03 07:00:00 +11:00
Gerrygames
8fffa206e4
#2978: Allow sending messages from specific UUIDs 2020-10-17 17:46:01 +11:00
md_5
23661737ef
Minecraft 1.16.3 support 2020-09-11 07:00:00 +10:00
md_5
aa22fe68e5
Minecraft 1.16.2 support 2020-08-12 07:14:42 +10:00
Andrew Steinborn
15b514130e
#2908: Don't frame packets for dead connections 2020-07-19 08:54:54 +10:00
md_5
a0f9333a13
Bump version to 1.16-R0.4-SNAPSHOT 2020-07-18 17:36:11 +10:00
md_5
287e28a722
Release 1.16-R0.3 2020-07-18 17:31:21 +10:00
md_5
94c4fcbad7
Bump version to 1.16-R0.3-SNAPSHOT 2020-07-13 08:45:48 +10:00
md_5
a99f62f693
Release 1.16-R0.2 2020-07-13 08:23:55 +10:00
md_5
4786c0986b
Bump version to 1.16-R0.2-SNAPSHOT 2020-06-25 08:36:25 +10:00
md_5
a7180850e0
Release 1.16-R0.1 2020-06-25 08:36:03 +10:00
Polo1K
c5f839c9ad
#2862: Minecraft 1.16.1 support 2020-06-25 08:08:51 +10:00
md_5
b41e9be4c9
Constrain dimension to String|Integer
Fixes 1.8 server switch issues
2020-06-24 12:56:31 +10:00
md_5
d0fd673b60
Minecraft 1.16 support + RGB ChatColor preview 2020-06-24 07:00:00 +10:00
md_5
aa66633df8 #2821: Add support for brigadier:long argument type 2020-04-22 11:44:26 +10:00
md_5
c2cc33c6d7 #2774: doImmediateRespawn not updated when switching servers 2020-02-21 09:40:13 +11:00
md_5
129884f44d Minecraft 1.15.2 support 2020-01-22 08:00:00 +11:00
md_5
2f547f73f7 Fix some javadoc warnings 2020-01-05 11:17:11 +11:00
md_5
1f24591a0d Minecraft 1.15.1 support 2019-12-18 08:00:00 +11:00
md_5
4cccf53775 Minecraft 1.15 support 2019-12-11 08:00:00 +11:00
md_5
5c6bc183fd Minecraft 1.14.4 support 2019-07-20 09:00:00 +10:00
Brokkonaut
7669801e69 #2671: Fix command packet parsing for Float/Double arguments 2019-07-13 16:06:35 +10:00
md_5
941d7f7262 Minecraft 1.14.3 support 2019-06-25 06:49:00 +10:00
md_5
fe2a39e4f1 Minecraft 1.14.3-pre4 support 2019-06-21 20:00:00 +10:00
md_5
8fda060611 Minecraft 1.14.2 support 2019-05-28 06:30:00 +10:00
md_5
3ec223ec94 Minecraft 1.14.1 support 2019-05-14 10:00:00 +10:00
md_5
7d68335c1d Fix switching to servers with larger view distance 2019-04-28 10:52:49 +10:00
md_5
191afb6a6c Minecraft 1.14 support 2019-04-25 12:00:00 +10:00
md_5
af10f82d14 Apply and enforce import ordering rules 2019-04-23 15:23:40 +10:00
md_5
3f01748d75 Minecraft 1.14-pre5 support 2019-04-23 12:00:00 +10:00
md_5
caeabb5b62 #2610: Fix out of date message for unsupported versions 2019-03-09 09:08:27 +11:00
md_5
9133a6f511 Simplify packet registration 2019-02-26 13:05:02 +11:00
md_5
0d6f3ee374 Make 1.13 command injection normal functionality 2019-02-17 10:10:41 +11:00
md_5
96b1fb1f0e #2593: Fix null tooltip string v2 2019-01-30 16:17:55 +11:00
md_5
219d55dfda #2592: Fix null tooltip string 2019-01-30 15:45:47 +11:00
md_5
14fbe6178f bungeecord-protocol requires sonatype-nexus-snapshots repo 2018-12-20 10:45:21 +11:00
md_5
02a65e34cf #2479: Allow injection of BungeeCord commands to 1.13 with inject_commands option 2018-12-20 10:41:18 +11:00
md_5
7793894621 #2567: Fix server changing on 1.12.x due to broken protocol link 2018-12-19 10:26:16 +11:00
md_5
865a346903 #2546: reducedDebugInfo state not updating when changing servers 2018-12-18 11:13:42 +11:00
md_5
378aaadb68 Netty 4.1.32.Final, Trove 3.1.0 2018-12-06 10:54:30 +11:00
md_5
1c5bff7ed7 Minecraft 1.13.2 support 2018-10-23 06:00:00 +11:00
NayXegp
41f8eb68c9 #2529: Use single legacy kicker instance for all channels 2018-09-26 11:16:46 +10:00
md_5
1bb826109c Minecraft 1.13.1 support 2018-08-23 20:52:25 +10:00
md_5
6fadb4250c Use shorter legacy prefix (doesn't really matter because no chance of such a plugin working) 2018-07-23 14:30:34 +10:00
md_5
671c4d1341 Minecraft 1.13 support 2018-07-22 12:00:00 +10:00
NayXegp
0a95af5dc1 #2464: Improve information about missing packet IDs 2018-07-17 16:33:00 +10:00
md_5
b1cc72e212 Minecraft 1.13-pre7 support 2018-07-15 10:00:00 +10:00
Nathan Poirier
d591d0ed29 #2451: Fix direction in BadPacketException message 2018-07-09 09:58:00 +10:00
md_5
968916c0b8 Don't forward unusually large plugin messages during login
Thanks fejm
2018-05-13 11:42:20 +10:00
md_5
9b2bb07d89 Fix some source code formatting 2018-01-28 10:23:52 +11:00
md_5
0eaabdf5ca Update to Minecraft 1.12.2 2017-09-18 20:00:00 +10:00
md_5
017f3a2424 Update to Minecraft 1.12.1 2017-08-03 23:00:00 +10:00
md_5
ff891c000e Update to Minecraft 1.12 2017-06-08 18:00:00 +10:00
md_5
e26b93728c Update to Minecraft 1.12-pre6 2017-05-30 21:50:45 +10:00
md_5
09ee2b1644 Update to Minecraft 1.12-pre5
Obsoletes 1.12-pre2
2017-05-19 21:00:04 +10:00
md_5
16d261553c Minecraft 1.12-pre2 Support 2017-05-14 12:00:00 +10:00
Minefabser
b728aea382 Fix TabListItemHeaderFooter for 1.11.1 (#2028) 2016-12-21 06:57:41 +11:00
md_5
21411af74d Add support for Minecraft 1.11.1 2016-12-21 06:23:51 +11:00
Nathan Poirier
8574688be7 Fix compatibility of Title packet for 1.10 and lower (#1997) 2016-11-16 09:22:09 +11:00
md_5
9a4150cd47 Fix read/write mismatch 2016-11-15 08:15:32 +11:00
md_5
72002ed3bd Fix PlayerListHeaderFooter 2016-11-15 08:00:13 +11:00
Shane
95a269df7a Fix handling of Title packet for 1.11 and maintain backwards compat with 1.10 and earlier 2016-11-15 07:59:27 +11:00
md_5
9ecdde2292 Add support for Minecraft 1.11
Improve QueryHandler session handling as suggested by IchBinJoe
2016-11-15 02:40:46 +11:00
md_5
5c809c2499 #1945: Relay MC|Brand messages 2016-08-26 16:11:38 +10:00
md_5
504d3c0529 #1939: Fix server brand; prevent bungee-bungee connections. 2016-08-20 11:43:48 +10:00
md_5
e4cf010bda Update to Minecraft 1.10 2016-06-09 11:44:06 +10:00
md_5
ec48077dbe #1867: Just fake 1.7 login protocol for now 2016-05-15 22:05:31 +10:00
Zartec
d14b96d55e Added separate exception for packet overflows to limit log output.
Attacking a server with a hacked client causes the log to print a huge amount of stacktraces. This will limit the log output to the error message.
2016-05-15 14:52:41 +10:00
md_5
41621193ec #1862: Support 1.7 pings 2016-05-15 14:52:01 +10:00
Thinkofname
a12ac37cc3 Support Minecraft 1.9.4 and tidy up packet handling 2016-05-10 21:51:39 +10:00
md_5
80b3135a93 Fix formatting 2016-04-24 22:31:04 +10:00
Thinkofname
7179dd4c0d Default readArray to capping to readableBytes instead of Short.MAX_VALUE 2016-03-30 23:31:17 +01:00
Thinkofname
1dda27e19b Revert limits mistakenly added to EncryptionRequest 2016-03-30 23:30:26 +01:00
Thinkofname
d1a1e87ab5 Support Minecraft 1.9.2 2016-03-30 16:57:54 +01:00
md_5
6b4e285186 1.9.1 support 2016-03-30 15:59:51 +01:00
Thinkofname
891ad8711d String arrays are only send by servers/Bungeecord. No need to limit their size 2016-03-29 19:41:16 +01:00
Thinkofname
540e924bfb Add limits to byte arrays and string lists 2016-03-28 21:08:00 +01:00
Youri Kersten
a7664a5559 Remove any tracked bossbars when a client switches servers. 2016-03-03 18:57:48 +11:00
md_5
05de455a9c Update to Minecraft 1.9 2016-03-01 09:31:12 +11:00
Thinkofdeath
12a7b7afc3 Add support for 15w33c and multiple fallback servers 2016-03-01 09:31:12 +11:00
Thinkofdeath
dfaa687f71 Remove 1.7.x Support 2016-03-01 09:31:12 +11:00
md_5
9c4380a201 System.err already has priority prefix. 2016-02-05 12:53:07 +11:00
md_5
8490d611bf [#1717] Perform a copy if Netty isn't using a direct address for any reason. 2016-02-05 12:50:42 +11:00
md_5
841c81cdc4 [#1714] Make a copy of the main Minecraft buffer as EntityMap.rewriteVarInt may require more bytes than available. 2016-01-24 19:45:02 +11:00
md_5
052131c1fa Reduce amount of memcpy within proxy pipeline. 2016-01-24 11:22:39 +11:00
Thinkofdeath
6343416c0c Update the PluginMessage packet to respect the protocol limit changes in 1.8 2015-07-16 23:07:30 +01:00
md_5
ddfd76ebda Make MinecraftDecoder a MessageToMessageDecoder 2015-05-18 20:16:12 +10:00
Thinkofdeath
d76c8d4f33 Ensure the copy is freed if an exception occurs during parsing packets 2015-04-12 01:47:10 +01:00
Thinkofdeath
988490ba87 1.8 isn't a snapshot anymore 2015-02-25 22:27:50 +00:00
md_5
61cee2d27c Fix formatting in a bunch of files. 2015-02-14 18:36:58 +11:00
md_5
0d569ac0d1 Refactor native code and implement our own JNI wrapper around zlib.
The previous native cipher code has been refactored so that it may be loaded and used slightly more generically, allowing more native components to be easily added as time goes on.
I have also written a new native code compression module, which wraps around zlib in the same manner that Inflater / Deflater does, however it operates directly on the memory addresses of it's input / output buffers which means that we can save one, or maybe even two copies. To support this, the VarInt decoder has been adjusted to always use a native buffer.
2015-02-07 14:06:41 +11:00
portalBlock
e68ed48fc3 Use the cached constructor when instantiating a packet. 2015-01-22 18:25:45 +11:00