Commit Graph

739 Commits

Author SHA1 Message Date
ada35ff286 Merge branch 'Xernium-future/1.16' into future/1.16-velocity-1.1.0
# Conflicts:
#	.travis.yml
#	api/src/main/java/com/velocitypowered/api/network/ProtocolVersion.java
#	build.gradle
#	proxy/build.gradle
#	proxy/src/main/java/com/velocitypowered/proxy/VelocityServer.java
#	proxy/src/main/java/com/velocitypowered/proxy/connection/backend/VelocityServerConnection.java
#	proxy/src/main/java/com/velocitypowered/proxy/connection/client/ClientPlaySessionHandler.java
#	proxy/src/main/java/com/velocitypowered/proxy/connection/client/ConnectedPlayer.java
#	proxy/src/main/java/com/velocitypowered/proxy/network/netty/DiscardHandler.java
#	proxy/src/main/java/com/velocitypowered/proxy/protocol/ProtocolUtils.java
#	proxy/src/main/java/com/velocitypowered/proxy/protocol/StateRegistry.java
#	proxy/src/main/java/com/velocitypowered/proxy/protocol/netty/MinecraftCompressDecoder.java
#	proxy/src/main/java/com/velocitypowered/proxy/protocol/netty/MinecraftDecoder.java
#	proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/JoinGame.java
#	proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/Respawn.java
#	proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/ServerLoginSuccess.java
#	proxy/src/test/java/com/velocitypowered/proxy/plugin/util/PluginDependencyUtilsTest.java
2020-06-20 23:24:32 -04:00
cd9bb61f20 Merge branch 'future/1.16' of https://github.com/Xernium/Velocity into Xernium-future/1.16 2020-06-20 23:11:19 -04:00
d6b1bc26d8 Read target of Forward message properly. Fixes #318 2020-06-19 05:36:52 -04:00
f8e20ab3a7 Fix tab complete using proper vanilla limit. 2020-06-19 05:22:35 -04:00
b79d2d4a94 Fix tab complete using proper vanilla limit. 2020-06-19 05:22:19 -04:00
a1ab29186b Changes 1.16-pre6 2020-06-16 17:56:56 +02:00
0109f4477a Complete the teardown future anyway 2020-06-12 07:27:51 -04:00
8a6e77689b Checkstyle strikes again 2020-06-12 07:26:25 -04:00
8b8fd284b3 Call DisconnectEvent explicitly instead of relying on ConnectedPlayer#teardown() to do it for us
Should fix (but not verified) #289
2020-06-12 07:24:17 -04:00
78b442a852 Changes 1.16-pre4 and Logic fixes 2020-06-11 23:39:16 +02:00
101a6a58dd Changes 1.16-pre3 2020-06-10 21:00:18 +02:00
4e5f708bed Resolve review 2020-06-07 00:51:21 +02:00
3ed5e7718c Fix logic error 2020-06-07 00:33:06 +02:00
ef5b9cf183 Sync to IDE 2020-06-07 00:22:11 +02:00
f868cea583 Move to proper API 2020-06-07 00:14:23 +02:00
0377a6829f Move to Registry 2020-06-05 16:00:51 +02:00
6368b47e78 Old sins 2020-06-05 15:58:34 +02:00
aa4a8de2fd Stylize 2020-06-05 15:45:11 +02:00
368d50b455 Rework Dimension Registry 2020-06-05 15:22:55 +02:00
009f207883 More progress 2020-06-04 21:21:54 +02:00
6734ef3a08 Checkstyle-auto 2020-06-04 19:13:10 +02:00
18e5953976 Save progress 2020-06-04 15:36:58 +02:00
669bd14779 Remove duplicate in-flight connection reset 2020-06-03 12:18:29 -04:00
4263c4e2d4 Fix config formatting 2020-06-03 00:58:26 +01:00
c563372ffd Remove unnecessary imports 2020-06-03 00:35:04 +01:00
2cd9f081c3 Merge branch 'dev/1.1.0' into feature/bungeeguard 2020-06-03 00:32:27 +01:00
70abda9c5b Implement legacy forwarding BungeeGuard handshake support 2020-06-02 23:48:42 +01:00
e83662e8c3 Clean up imports and remove some legacy declarations. 2020-05-29 21:36:58 -04:00
cb99b184ed Allow plugins to mutate available commands sent to the client.
This is the first unstable API being introduced and is primarily to get feedback on the system.
2020-05-28 07:14:49 -04:00
eeb660ce00 Fix bad ordering 2020-05-26 05:25:03 -04:00
ebad3d1005 Use Integer.MIN_VALUE for the sentinel for readVarIntSafely() 2020-05-25 16:05:36 -04:00
d7bbe7531a Additional protocol hardening. 2020-05-25 15:58:52 -04:00
abd81a0216 Fix Checkstyle errors. 2020-05-25 13:24:41 -04:00
0cb4c02107 Run all commands on a separate thread pool. 2020-05-25 13:09:04 -04:00
ec1fc3944d Make sure this runs on the event loop. 2020-05-25 12:08:24 -04:00
942e2f2e1a Better generic cleanup. 2020-05-25 11:56:56 -04:00
74ff56cbc9 Also reset when an exception is thrown. 2020-05-25 11:49:45 -04:00
64c16e61d2 Reset in-flight connection only if the server disconnects the client. 2020-05-25 11:44:02 -04:00
b0f1398b45 Further confinement of preconnect checks to event loop. 2020-05-25 10:26:05 -04:00
fa954ab717 Confine preconnect validation/setup logic to event loop. 2020-05-25 09:38:41 -04:00
38487c5bba Server-change mechanics update 2020-05-23 13:03:33 +02:00
197bc4f288 Make checkstyle happy again 2020-05-23 11:49:27 +02:00
fca73bae67 Some minor touch-ups 2020-05-23 11:46:27 +02:00
d37b6a361c Snapshot 20w21a 2020-05-23 00:18:36 +02:00
91e9769c5a Cap /server list to 50 servers.
Any more, and the server list is arguably useless. Thanks to BXBW for finding this particular issue!
2020-05-17 00:24:00 -04:00
feb7c2f893 Reject invalid tab complete command requests. 2020-05-08 18:22:21 -04:00
10680f16d3 Reject invalid tab complete command requests. 2020-05-08 18:16:40 -04:00
2418cc271a Merge pull request #307 from mikroskeem/feature/prevent-proxy-connections
Add prevent-proxy-connections option
2020-05-08 14:57:20 -04:00
21f03d5d50 Add prevent-proxy-connections option to make sending client IP to Mojang toggleable 2020-05-08 21:16:12 +03:00
f7e70cff20 We're well into 2020, just saying. 2020-05-08 14:03:57 -04:00