Commit Graph
100 Commits
Author SHA1 Message Date
Andrew Steinborn fcffccf0d8 Fix typo 2021-01-23 01:35:49 -05:00
Andrew Steinborn ce7d1dcb26 A new year, a new color for Velocity! 2021-01-23 01:34:46 -05:00
Andrew SteinbornandGitHub a2a799a8a7 Update CONTRIBUTING.md 2021-01-22 19:50:31 -05:00
Andrew SteinbornandGitHub 13ee59d20b Update CONTRIBUTING.md 2021-01-22 19:49:38 -05:00
Andrew Steinborn 892ac6f626 Accept changes to compression treshold on the fly.
Vanilla allows this for some reason, and there has been one case where Velocity's strict behavior has caused a bug. Fix this.
2021-01-21 17:58:09 -05:00
Andrew Steinborn 0fa61216e7 Bump to Adventure 4.4.0 2021-01-19 02:40:32 -05:00
Andrew Steinborn 919319438d Bump Netty version to 4.1.58.Final 2021-01-17 00:43:35 -05:00
Andrew Steinborn 567a3b2365 Swallow and more usefully log exceptions in scheduler task running. 2021-01-09 16:39:38 -05:00
Andrew Steinborn ba1c1eef64 More clarification 2021-01-06 13:30:57 -05:00
Andrew Steinborn 4df8f70156 Rename proxy-protocol setting to haproxy-protocol to make it clearer this is for HAProxy. 2021-01-06 13:29:30 -05:00
Andrew Steinborn 1f9c24566d Fix off-by-one error in MinecraftCompressEncoder 2020-12-31 13:18:01 -05:00
Andrew Steinborn 42d211bf08 Velocity 1.1.4-SNAPSHOT 2020-12-29 18:07:14 -05:00
Andrew Steinborn 44046fe772 Velocity 1.1.3 2020-12-29 18:06:46 -05:00
Andrew Steinborn dc7ab0f7f5 Log server backpressure 2020-12-27 18:36:54 -05:00
Andrew Steinborn 2a1e83902d Add support for server-side backpressure 2020-12-27 18:05:27 -05:00
Andrew Steinborn 7329d165f6 2021 2020-12-26 21:56:19 -05:00
Andrew Steinborn 6a8ec21f26 Use a different quiet exception type to indicate the user should enable a debugging flag if needed 2020-12-26 20:59:17 -05:00
Andrew Steinborn f6078e9b74 Fix several problems and clean up the BungeeCord plugin messaging support.
Fixes #402
2020-12-26 20:52:12 -05:00
Andrew Steinborn b1f7980c5d Fix ForwardToPlayer subchannel, closes #406 2020-12-26 19:49:28 -05:00
Andrew Steinborn 7fe2fc71e9 Add some small debug for refcount issues with plugin messages. 2020-12-25 17:03:38 -05:00
Andrew Steinborn 07b95d46ac Delay sending stats to bStats for 3-5 minutes after server startup 2020-12-21 20:14:57 -05:00
Andrew Steinborn eb3868d911 Do not try to override colors in messages or server-sent messages 2020-12-21 19:56:17 -05:00
Andrew SteinbornandGitHub ce34a8c1b5 Merge pull request #405 from zml2008/fix/jd-search
build: Fix search when generating Javadoc with broken java versions
2020-12-21 15:19:10 -05:00
Andrew Steinborn 98b74fd220 Correctly retain message buffer for LoginPluginMessage.
Fixes #407
2020-12-21 13:14:38 -05:00
Andrew Steinborn 9c375f337b Bump to Netty 4.1.56.Final 2020-12-17 21:16:46 -05:00
Andrew Steinborn 523b61e0c7 Make sure unit tests actually run(!) and fix command hints 2020-12-14 14:39:39 -05:00
Andrew Steinborn 4f5c315ef8 Remove netty-resolver-dns dependency
Geyser has fixed the issue in the latest builds
2020-12-14 04:29:28 -05:00
Andrew Steinborn 991aaa31b1 Revert "Stop bundling the Netty DNS resolver, we don't use it"
This reverts commit 88a57b77df.

Breaks Geyser
2020-12-13 18:47:47 -05:00
Andrew Steinborn 8c52341ff6 Do not pull in transitive dependencies of adventure-text-serializer-legacy-text3
Fixes #401
2020-12-13 15:33:19 -05:00
Andrew SteinbornandGitHub 3efb84d62f Merge pull request #400 from jkcoxson/dev/1.1.0
Fix grammer and spelling in the default config
2020-12-12 01:50:57 -05:00
Andrew Steinborn 88a57b77df Stop bundling the Netty DNS resolver, we don't use it 2020-12-10 06:56:19 -05:00
Andrew Steinborn aef0e4a825 Update Netty to 4.1.55.Final. 2020-12-09 22:25:06 -05:00
Andrew Steinborn 2a5bb1e487 Fix tab list clearing bug.
Fixes regression introduced in 5da085d
2020-12-07 02:28:03 -05:00
Andrew Steinborn fa2655d49b Fix the debug message 2020-11-24 12:09:49 -05:00
Andrew Steinborn aa7aee9dd7 Add another validation case although it's not strictly required 2020-11-24 12:05:27 -05:00
Andrew Steinborn 084b741375 Don't repeat validation in AvailableCommands
When deserializing an AvailableCommands packet, we do a few sanity checks to ensure the packet is valid. Some of this work was repeated for each cycle (notably the root) so we now check the children and any redirects are defined only once.
2020-11-24 12:03:34 -05:00
Andrew Steinborn dd8c670ef7 Velocity 1.1.3-SNAPSHOT 2020-11-22 12:04:07 -05:00
Andrew Steinborn 783054d098 Velocity 1.1.2 2020-11-22 12:00:47 -05:00
Andrew Steinborn 3d0cb50569 Better check for unfinished decompression 2020-11-17 04:48:20 -05:00
Andrew Steinborn 563a96e624 Bump Netty version 2020-11-17 04:38:24 -05:00
Andrew Steinborn 329e2b0dc9 Use our fork's removeChildByName 2020-11-16 13:09:47 -05:00
Andrew SteinbornandGitHub 7ead4add67 Support custom mod argument tunneling (#390) 2020-11-16 02:58:00 -05:00
Andrew Steinborn 511165415d Switch to our internal Brigadier fork 2020-11-15 23:33:16 -05:00
Andrew Steinborn 44f872eea4 Better validate addresses in configuration. Fixes #385 2020-11-07 20:43:58 -05:00
Andrew SteinbornandGitHub 09de77425d Merge pull request #387 from A248/fix-addToClasspath-preconditions
Permit passing PluginContainer to PluginManager#addToClasspath
2020-11-07 20:39:25 -05:00
Andrew Steinborn d51f357fa8 Avoid unneeded copy in BackendPlaySessionHandler plugin messages 2020-11-07 10:57:03 -05:00
Andrew Steinborn 8a3b6403da Wrap plugin message copies in unreleasable copies.
Trying to track down a very weird issue that barely makes sense to me.
2020-11-07 09:40:09 -05:00
Andrew Steinborn 89e1a07448 Try and explicitly specify Java 8 in the modules. 2020-11-06 18:52:00 -05:00
Andrew Steinborn fb888c3b8a Store players in VelocityRegisteredServer by UUID instead.
Fixes an issue where players would be repeated in /glist and the like.
2020-11-06 09:38:26 -05:00
Andrew Steinborn cc89a2a1e5 We don't need to retain/release the mod list buffer in readModList 2020-11-05 20:04:31 -05:00
Andrew Steinborn 91b295ead5 Further improve the inflate overflow checks in the Java 11 compressor native
This brings the Java compressor in line with our libdeflate one. Backport this from Velocity 2.0.0.
2020-11-05 17:22:19 -05:00
Andrew Steinborn 1f5b0e1e03 Fix a few minor issues with the Java 11 compressor 2020-11-05 17:07:49 -05:00
Andrew SteinbornandGitHub b78b091b33 Merge pull request #383 from Gabik21/fix-status-ping-17
Fix ping response being delayed on 1.7
2020-11-05 11:46:54 -05:00
Andrew Steinborn 642573e9e0 Fix logic for telling the server snapshot versions. 2020-11-04 18:58:48 -05:00
Andrew Steinborn 54c5effe27 Fix typos. 2020-11-03 16:06:30 -05:00
Andrew Steinborn d708716ef6 Use slower server switching sequence for Legacy Forge clients 2020-11-03 15:58:03 -05:00
Andrew Steinborn 325ab19102 Move out VarintByteDecoder to improve escape analysis 2020-11-03 12:55:02 -05:00
Andrew Steinborn 9adba81d23 Use ByteBuf#clear() instead of skipping readable bytes 2020-11-02 22:44:53 -05:00
Andrew Steinborn 7944544606 Small cleanup in TransitionSessionHandler 2020-10-31 18:32:42 -04:00
Andrew Steinborn 4fb7e02326 Fix Checkstyle error 2020-10-30 06:35:35 -04:00
Andrew Steinborn 9a0affbca9 Fix disconnect issues in 1.7-specific logic. 2020-10-30 06:34:28 -04:00
Andrew Steinborn 8a16db3794 Go to 1.1.2-SNAPSHOT again. 2020-10-28 20:48:08 -04:00
Andrew Steinborn 93f42f53e9 Reissuing Velocity 1.1.0 2020-10-28 20:46:48 -04:00
Andrew Steinborn cace7cc428 Fix typo resulting in BungeeCord plugin messaging not working 2020-10-28 20:44:50 -04:00
Andrew Steinborn f3e1a7e01d 1.1.2-SNAPSHOT 2020-10-28 19:15:29 -04:00
Andrew Steinborn ba8d6fe42a Really Velocity 1.1.1. Fix a missed case of 7bec4b2f1. 2020-10-28 19:06:43 -04:00
Andrew Steinborn 3038152852 Velocity 1.1.1 2020-10-28 19:04:10 -04:00
Andrew Steinborn dd23203139 Add some missing convenience APIs to MinecraftChannelIdentifier 2020-10-28 19:02:37 -04:00
Andrew Steinborn 7bec4b2f12 Don't let clients fake being the BungeeCord plugin message channel 2020-10-28 18:54:51 -04:00
Andrew Steinborn 36ff6f63ae Use the fallback description if the backend server description is null
This is technically incorrect but it seems like this is the best we can do...
2020-10-28 17:11:19 -04:00
Andrew Steinborn e3f17eeb24 Velocity 1.1.1-SNAPSHOT 2020-10-28 11:01:49 -04:00
Andrew Steinborn 9360fab6a5 Forgot about this. Can we just publish this already? 2020-10-28 11:00:09 -04:00
Andrew Steinborn ce92e2e36b Fix typo causing failed deploy. This is Velocity 1.1.0. 2020-10-28 10:58:45 -04:00
Andrew Steinborn 3da2621e48 Velocity 1.1.0 🎉 2020-10-28 10:48:10 -04:00
Andrew Steinborn 4ccbb2cde2 Fix TabCompleteResponse not using Adventure to read tooltips. 2020-10-27 07:29:08 -04:00
Andrew Steinborn 911aba1b45 Native cipher test should only be enabled on Linux 2020-10-27 01:53:43 -04:00
Andrew Steinborn bf81d20ba7 Recompile natives for Linux aarch64 2020-10-27 01:48:25 -04:00
Andrew Steinborn 0f919d7163 Recompile natives for Linux x86_64
Debian 9 was used to compile the libdeflate native and OpenSSL 1.1.x crypto, CentOS for OpenSSL 1.0.x crypto only.
2020-10-27 01:44:14 -04:00
Andrew Steinborn 4ca996098c Merge branch 'dev/1.1.0' into further-native-tweaks
# Conflicts:
#	native/compile-linux.sh
2020-10-27 01:30:42 -04:00
Andrew Steinborn 188758cf0e Drop 1.16.4 snapshot support in anticipation for full 1.16.4 release 2020-10-26 21:05:09 -04:00
Andrew Steinborn 9f424522ac Authors should be a JSON array 2020-10-26 21:00:08 -04:00
Andrew Steinborn 536049995d Fix SpotBugs complaint 2020-10-26 20:58:20 -04:00
Andrew SteinbornandGitHub 45752d5ea4 Merge pull request #377 from Xernium/dev/feature-dump
[Feature] Velocity-Dump
2020-10-27 00:55:21 +00:00
Andrew SteinbornandGitHub 6b1896b10f Merge pull request #376 from A248/completable-future-exceptions
Handle exceptions relating to CompletableFuture operations
2020-10-26 21:47:11 +00:00
Andrew Steinborn 8fbce8423f Fix typo in ServerPing#asBuilder() Javadoc
Fixes #375
2020-10-26 17:20:52 -04:00
Andrew Steinborn cfb9104696 1.16.4-pre2 support 2020-10-22 12:42:35 -04:00
Andrew Steinborn 8995b64dc6 Do not use the GAME_INFO chat type. 2020-10-22 03:02:09 -04:00
Andrew Steinborn e3eace6a56 Undeprecate CommandManager#register(String, Command, String...)
This is a very convenient shorthand so let's save it from being axed. This is a change I made for an eventual Velocity 2.0.0 but it is backwards compatible for 1.1.0.
2020-10-22 00:14:41 -04:00
Andrew Steinborn a6e708c98e Fix Adventure sendActionBar implementation and add proper action bar sending for 1.16.2 2020-10-20 14:26:08 -04:00
Andrew Steinborn b78ffe6e86 Bump to Adventure 4.1.1
I don't even know
2020-10-17 00:32:28 -04:00
Andrew Steinborn be6f67d002 Bump to Adventure 4.1.0 2020-10-16 17:24:37 -04:00
Andrew Steinborn fd63945175 Follow historical precedent with the new snapshot protocol release policy. 2020-10-15 15:57:27 -04:00
Andrew Steinborn e20c37fcba Reintroduce two-packet respawn sequence for older clients
Fixes #372
2020-10-15 15:38:51 -04:00
Andrew Steinborn 53b2400682 Remove bad snapshot flag. 2020-10-15 11:47:34 -04:00
Andrew Steinborn b75086aacb Proper Minecraft 1.16.4-pre1 support. 2020-10-15 11:46:44 -04:00
Andrew Steinborn 6e00dbe2b7 Fix compile errors 2020-10-14 16:08:20 -04:00
Andrew Steinborn cffc6d0a81 Fix Checkstyle error 2020-10-14 13:58:28 -04:00
Andrew SteinbornandGitHub 2b46f1c6f4 Merge pull request #370 from VelocityPowered/adventure-2
Player has an identity
2020-10-14 02:13:07 -04:00
Andrew Steinborn 3b1009caba Prepare for 1.16.4 2020-10-11 20:15:29 -04:00
Andrew Steinborn 59d8bd4c78 Plugins need to be stored in a LinkedHashMap too. 2020-10-11 14:36:56 -04:00