Commit Graph

1288 Commits

Author SHA1 Message Date
Outfluencer
a7dbbc2f0a
#3544: Remove redundant super call in handle(FinishConfiguration) 2023-10-05 07:21:46 +11:00
Outfluencer
94a1fb5117
#3535: Queue packets of Title api 2023-09-29 07:21:56 +10:00
md_5
78aef86a8f
#3533: Don't put initial client in configure phase until server is ready 2023-09-29 06:50:28 +10:00
md_5
b34cfcde5a
Simplify UpstreamBridge packet handling code 2023-09-28 06:55:00 +10:00
DartCZ
86e079a4b1
#3523, #3534: Fix kicking players with error 2023-09-28 06:55:00 +10:00
md_5
653f1691d7
Print full stack trace for packet decoder errors 2023-09-26 06:40:02 +10:00
md_5
3cb7a12738
#3527: Switching between servers causes a decoding error 2023-09-26 06:35:48 +10:00
bob7l
f3397b3003
#3525, #3526: Set encode protocol to CONFIGURATION before connecting to a downstream server 2023-09-25 18:57:40 +10:00
md_5
497c6879e0
Add (hopefully temporary) queue for plugin messages to server 2023-09-24 06:50:46 +10:00
md_5
f9b75c4a3a
Update tests to JUnit 5 2023-09-23 18:44:14 +10:00
md_5
0509303fd3
#3519: Queue configuration phase packets from API methods 2023-09-23 10:29:09 +10:00
md_5
d68ebd1eaf
Minecraft 1.20.2-rc1 support 2023-09-17 08:10:42 +10:00
Outfluencer
9e83ee6f0c
#3508: Use same compression threshold checks as Vanilla 2023-09-12 20:29:01 +10:00
md_5
0dd7b98428
Bump version to 1.20-R0.2-SNAPSHOT 2023-08-07 08:01:47 +10:00
md_5
a793692a2c
Release 1.20-R0.1 2023-08-07 07:56:00 +10:00
Outfluencer
9f5ace9025
#3418: Add tab completion for bungee command names in pre-1.13 versions 2023-07-05 19:58:23 +10:00
md_5
da3616e636
SPIGOT-7400: Downgrade maven-resolver due to issues resolving certain depends 2023-06-18 20:37:33 +10:00
Outfluencer
6324c7d527
#3401: Only synchronize necessary parts of the BungeeServerInfo#sendData method 2023-06-10 18:06:37 +10:00
Ruan
9a7617f9b8
#3475: Add KickPlayerRaw channel 2023-06-10 18:01:01 +10:00
Janmm14
9a71358dfa
#3439: Add GetPlayerServer bungee plugin message subchannel 2023-06-10 18:00:33 +10:00
Outfluencer
a96a2e80a1
#3437: Remove unused enum in ServerConnector and add color to exception message 2023-06-10 17:58:14 +10:00
md_5
68200133b6
Minecraft 1.20 support 2023-06-08 01:30:00 +10:00
Janmm14
38028e8e90
#3455: Don't lock connections for offline uuid lookup when given uuid is not offline mode 2023-05-20 11:27:59 +10:00
md_5
3db27052a1
Bump maven-resolver dependencies 2023-05-20 11:13:38 +10:00
md_5
3c12b04c98
Update dependabot.yml 2023-04-20 07:35:29 +10:00
dependabot[bot]
5545850f9d
#3459: Bump mysql-connector-j from 8.0.32 to 8.0.33
Bumps [mysql-connector-j](https://github.com/mysql/mysql-connector-j) from 8.0.32 to 8.0.33.
- [Release notes](https://github.com/mysql/mysql-connector-j/releases)
- [Changelog](https://github.com/mysql/mysql-connector-j/blob/release/8.0/CHANGES)
- [Commits](https://github.com/mysql/mysql-connector-j/compare/8.0.32...8.0.33)

---
updated-dependencies:
- dependency-name: com.mysql:mysql-connector-j
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-20 07:26:54 +10:00
dependabot[bot]
2f909b44d7
#3458: Bump maven-resolver-transport-http from 1.9.7 to 1.9.8
Bumps [maven-resolver-transport-http](https://github.com/apache/maven-resolver) from 1.9.7 to 1.9.8.
- [Release notes](https://github.com/apache/maven-resolver/releases)
- [Commits](https://github.com/apache/maven-resolver/compare/maven-resolver-1.9.7...maven-resolver-1.9.8)

---
updated-dependencies:
- dependency-name: org.apache.maven.resolver:maven-resolver-transport-http
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-20 07:26:41 +10:00
dependabot[bot]
ff155ebbb4
#3457: Bump maven-resolver-connector-basic from 1.9.7 to 1.9.8
Bumps [maven-resolver-connector-basic](https://github.com/apache/maven-resolver) from 1.9.7 to 1.9.8.
- [Release notes](https://github.com/apache/maven-resolver/releases)
- [Commits](https://github.com/apache/maven-resolver/compare/maven-resolver-1.9.7...maven-resolver-1.9.8)

---
updated-dependencies:
- dependency-name: org.apache.maven.resolver:maven-resolver-connector-basic
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-20 07:26:26 +10:00
md_5
a7ad407f4b
Update dependencies 2023-04-02 14:08:27 +10:00
md_5
a1fee720b9
Deprecate string join 2023-03-25 11:00:30 +11:00
Janmm14
2ef5e7004b
#3451: Improve length field prepending on bungee -> server connection
Use alternative implementation of Varint21LengthFieldPrepender on bungee -> server connection for improved speed - it uses separate buffer to prepend the length to avoid copying large data buffer.
Not applied bungee -> client because encrypting 1-5 bytes of length separately through expensive jni call could make it not worth (not measured).
2023-03-25 11:00:30 +11:00
md_5
76673f02a4
Apply dependabot configuration 2023-03-15 18:18:15 +11:00
md_5
b47ae0944c
#3444: Use same duplicate player handling for online and offline modes 2023-03-15 07:41:50 +11:00
md_5
f9712cbc7c
Minecraft 1.19.4 support 2023-03-15 03:30:00 +11:00
Outfluencer
71ac9b34fa
#3425: Make ip command output clickable to copy ip 2023-01-28 11:19:45 +11:00
md_5
e71767688d
#3408: ConcurrentModificationException when player quits 2022-12-08 07:09:20 +11:00
md_5
5467e3a842
Minecraft 1.19.3 support 2022-12-08 03:00:00 +11:00
floge07
c3e8cfac79
#3374, #3389: Improve log handling of normal java.util Logger usage by forwarding the LogRecords directly to the BungeeLogger instead of the fallback err stream. 2022-11-12 11:51:14 +11:00
Outfluencer
68e74a8c03
#3378: Remove KickStringWriter from the pipeline after handshake arrives 2022-11-12 11:41:10 +11:00
Outfluencer
5b4a540440
#3361: Cache MessageFormats for translations 2022-11-12 11:39:31 +11:00
Outfluencer
696315615d
#3366: Improve consistency and appearance of default translations 2022-08-14 11:34:00 +10:00
Outfluencer
dd3f820040
#3363, #3369: Implement new ServerData packet to stop MOTD data from servers 2022-08-14 11:32:35 +10:00
md_5
78ca16dfe3
Minecraft 1.19.1 support 2022-07-28 04:00:00 +10:00
Noah
adc32d5a5c
#3367: Add linux aarch64 native epoll support 2022-07-23 18:53:52 +10:00
Outfluencer
12e4514813
#3355,#3357: Fix possible NPE's in LoginEvent & PreLoginEvent 2022-07-12 21:47:57 +10:00
Ivan Pekov
587fb37bdf
#3192, #3210: Handle null ServerPing#getPlayers upon a legacy ping 2022-07-02 10:35:54 +10:00
Kevin Ludwig
d221e52929
#3241: Support ping passthrough for legacy pings 2022-07-02 10:27:36 +10:00
FlorianMichael
e151a6cf92
#3156: Add kick module 2022-07-02 10:11:09 +10:00
Outfluencer
9ced5ce131
#3287: Fix HttpHandler calls done method twice 2022-07-02 10:02:16 +10:00
tsuoihito
c8e876bfe2
#3342: Fix sanitized address being not IP but hostname after InetSocketAddress#getHostName() 2022-06-30 21:28:37 +10:00
md_5
ff5727c5ef
Revert broken chat PR and align with Spigot 2022-06-08 19:37:15 +10:00
Brokkonaut
e46bc343e4
#3319: Do not forward cancelled messages or handled commands 2022-06-08 17:44:08 +10:00
Lukas Alt
5972fd2353
#3318: Fixed system messages shown in action bar for MC 1.19 clients 2022-06-08 11:23:41 +10:00
md_5
a737a754d1
Downgrade dependency version 2022-06-08 09:01:05 +10:00
md_5
cc4765b4fe
#3313: Fix offline mode support 2022-06-08 08:22:46 +10:00
md_5
eccdf87f22
Minecraft 1.19 support 2022-06-08 02:00:00 +10:00
md_5
862bb2ac72
#3258: Only show detailed connect exception to admins 2022-04-09 08:59:01 +10:00
Outfluencer
34d416a4e8
#3261: Remove unused AttributeKeys
These attribute keys are not used so we can remove them
2022-03-19 10:05:23 +11:00
Outfluencer
978e68fc74
#3265: Print all thrown exception
DecoderExceptions that are not a CorruptedFrameException and dont have BadPacketException or OverflowPacketException as cause are not printed.
I also removed the ID message in BadPacketException because bad packet does not mean it has a invalid id the protocol version can also be not valid or the packet was not read to the end and more details are in the message of the exception
2022-03-19 10:04:40 +11:00
md_5
7e47490e70
Minecraft 1.18.2 support 2022-03-01 02:00:00 +11:00
nnnnt21
f4f94d3b56
#3256: Allow - and . in online mode as some accounts still have these usernames 2022-02-24 08:06:10 +11:00
md_5
eae9d45c8a
Provide more information in connect errors 2022-02-06 08:44:55 +11:00
md_5
d2d157c1fe
#3246: Fix commands not working due to MinecraftForge changes 2022-02-06 08:26:09 +11:00
Outfluencer
9c95d4ba43
#3226: Add console command name tab completion 2022-01-02 10:13:48 +11:00
md_5
51eb1ac623
Dependency upgrades 2021-12-18 12:18:21 +11:00
md_5
f2aadd6014
#3223: Only rewrite spectate packet if no IP forwarding 2021-12-13 08:25:54 +11:00
Valtn
42d8300bb7
#3220: Fix server list info being cached permanently 2021-12-05 08:04:26 +11:00
md_5
21b23624ad
#3159: Account for the (broken) configuration when ip forward is enabled on bungee but not the server 2021-11-23 15:27:31 +11:00
md_5
8b363d3d1f
Minecraft 1.18-pre5 support 2021-11-22 09:00:00 +11:00
PSNRigner
c7b0c3cd48
#3207: Rework the plugin message relaying system to allow unregistering channels 2021-11-12 19:38:47 +11:00
Frank van der Heijden
c3fffbc919
#3205: Don't forward tab completions if the root command is a bungee command 2021-11-04 18:45:11 +11:00
Janmm14
d8e293842f
#2466: Use switch in "BungeeCord" plugin message handling 2021-10-09 09:25:29 +11:00
MrMicky
5cf869df1a
#3198: Remove terminally deprecated SecurityManager
See https://openjdk.java.net/jeps/411
2021-10-09 09:25:29 +11:00
md_5
f26f7d8809
Add optional 1.18 (21w40a) snapshot protocol support
Accessible via the net.md_5.bungee.protocol.snapshot JVM property.
2021-10-09 09:25:28 +11:00
Outfluencer
c5a90475af
#3195: Remove unused translations
Both translations are not used in BungeeCord or any modules.
2021-09-25 08:10:28 +10:00
Outfluencer
3008d7ef2f
#3189: Improve username validation 2021-09-25 08:09:47 +10:00
Outfluencer
1823f86dbb
#3190: Improve login protocol state machine
Prevents repetition of packets
2021-09-17 18:16:01 +10:00
Janmm14
06bf088d27
#3186: Replace String.format calls in exceptions with simple string concats 2021-09-17 18:14:21 +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
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
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
Antoine L
633ff1cfc8
#3107: Fix action bar messages in 1.17 2021-06-09 18:58:20 +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
7ec1f487c1
Remove ipv6 scope from forwarded addresses
Affects forwarding when epoll enabled
2021-05-25 18:42:10 +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