3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-11-17 05:20:14 +01:00
Commit graph

328 Commits

Autor SHA1 Nachricht Datum
Andrew Steinborn
0e05f5f308 Mostly brought 2.0.0 up to update with Velocity 1.1.5-SNAPSHOT changes.
I have not verified that this actually works.
2021-02-21 18:09:56 -05:00
Andrew Steinborn
699147c916 Merge branch 'dev/1.1.0' into dev/2.0.0
# Conflicts:
#	api/build.gradle
#	api/src/main/java/com/velocitypowered/api/proxy/connection/Player.java
#	api/src/main/java/com/velocitypowered/api/proxy/player/TabList.java
#	build.gradle
#	proxy/build.gradle
#	proxy/src/main/java/com/velocitypowered/proxy/Velocity.java
#	proxy/src/main/java/com/velocitypowered/proxy/command/CommandNodeFactory.java
#	proxy/src/main/java/com/velocitypowered/proxy/connection/backend/BackendPlaySessionHandler.java
#	proxy/src/main/java/com/velocitypowered/proxy/connection/backend/BungeeCordMessageResponder.java
#	proxy/src/main/java/com/velocitypowered/proxy/connection/backend/VelocityServerConnection.java
#	proxy/src/main/java/com/velocitypowered/proxy/connection/client/ConnectedPlayer.java
#	proxy/src/main/java/com/velocitypowered/proxy/network/packet/clientbound/ClientboundAvailableCommandsPacket.java
#	proxy/src/main/java/com/velocitypowered/proxy/network/packet/clientbound/ClientboundJoinGamePacket.java
#	proxy/src/main/java/com/velocitypowered/proxy/network/packet/clientbound/ClientboundRespawnPacket.java
#	proxy/src/main/java/com/velocitypowered/proxy/network/pipeline/MinecraftDecoder.java
#	proxy/src/main/java/com/velocitypowered/proxy/protocol/MinecraftPacket.java
#	proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/EncryptionResponse.java
#	proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/HeaderAndFooter.java
#	proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/LoginPluginMessage.java
#	proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/PluginMessage.java
#	proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/ServerLogin.java
#	proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/StatusPing.java
#	proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/StatusRequest.java
#	proxy/src/main/java/com/velocitypowered/proxy/tablist/VelocityTabList.java
#	proxy/src/main/java/com/velocitypowered/proxy/tablist/VelocityTabListLegacy.java
#	proxy/src/test/java/com/velocitypowered/proxy/command/CommandManagerTests.java
2021-02-21 17:56:40 -05:00
Andrew Steinborn
3aee47166f Allow clearing favicon in ServerPing builder. 2021-02-09 14:36:16 -05:00
Andrew Steinborn
55cc416b52
Merge pull request #428 from Camotoy/registerevent
Add PlayerRegisterChannelEvent
2021-02-09 14:26:34 -05:00
Andrew Steinborn
a6a9d1e0fb Forward slashes are allowed in channel IDs
Fixes an issue where the Fabric registry sync packet would not be allowed by Velocity.
2021-02-09 14:25:12 -05:00
Camotoy
fb879cb498
Apply initial requested changes 2021-02-09 14:13:33 -05:00
Camotoy
d47b339908
Add PlayerPluginMessageRegisterEvent 2021-02-09 13:51:43 -05:00
Zach Levis
bac64ac958 build: Fix search when generating Javadoc with broken java versions 2020-12-19 14:49:53 -08:00
Seppe Volkaerts
d0a61e8704 Update java version. Switch to caffeine cache to allow null values. 2020-12-15 13:05:32 +01:00
Seppe Volkaerts
b04d5de141 Implement async event tasks.
Events will now only be handled by an async executor if necessary. This should improve performance for lightweight listeners.
2020-12-15 12:48:32 +01:00
Andrew Steinborn
523b61e0c7 Make sure unit tests actually run(!) and fix command hints 2020-12-14 14:39:39 -05:00
Andrew Steinborn
58294595f3 Fix unit tests and correct several issues with hinting.
The packet registry tests are defunct, and will be rewritten at a future date.
2020-12-14 14:31:19 -05:00
Andrew Steinborn
ef7f4871b8 Remove dependency on the java.desktop module
The Favicon.create(BufferedImage) method has been removed. In its place we have Favicon.create(Path) (carried over from the 1.x.x series) and Favicon.create(byte[]) (brand new).
2020-12-14 14:30:39 -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
Riley Park
5da085d82f
Adventure 4.3.0: Player list header/footer 2020-12-06 17:50:57 -08:00
Andrew Steinborn
2f5e82a0f1 More fixups 2020-12-02 01:39:04 -05:00
Andrew Steinborn
cb4202fe78 Merge branch 'dev/2.0.0' into 2/network
# Conflicts:
#	proxy/src/main/java/com/velocitypowered/proxy/network/serialization/brigadier/ArgumentPropertyRegistry.java
#	proxy/src/main/java/com/velocitypowered/proxy/network/serialization/brigadier/ModArgumentProperty.java
#	proxy/src/main/java/com/velocitypowered/proxy/network/serialization/brigadier/ModArgumentPropertySerializer.java
2020-12-02 01:24:39 -05:00
Andrew Steinborn
5bd7b66bda Merge branch 'dev/1.1.0' into dev/2.0.0
# Conflicts:
#	build.gradle
#	native/src/main/java/com/velocitypowered/natives/compression/Java11VelocityCompressor.java
2020-11-17 04:49:32 -05:00
Andrew Steinborn
511165415d Switch to our internal Brigadier fork 2020-11-15 23:33:16 -05:00
Riley Park
0615b024cf
packets! 2020-11-06 19:40:30 -08:00
Andrew Steinborn
89e1a07448 Try and explicitly specify Java 8 in the modules. 2020-11-06 18:52:00 -05:00
Andrew Steinborn
02ad6b7e01 Promote CommandInvocation#alias 2020-11-05 19:23:26 -05:00
Andrew Steinborn
2e55461503 API uses Java 8 2020-11-05 18:11:01 -05:00
Andrew Steinborn
2c07d00f18 Merge branch 'dev/1.1.0' into dev/2.0.0 2020-11-05 16:39:26 -05:00
Andrew Steinborn
642573e9e0 Fix logic for telling the server snapshot versions. 2020-11-04 18:58:48 -05:00
Andrew Steinborn
8dd83193c8 Manually merge in conflicting 2.0.0 changes into the 1.1.0 merge. 2020-10-28 20:36:22 -04:00
Andrew Steinborn
e21cd77ae7 Merge branch 'dev/1.1.0' into dev/2.0.0
# Conflicts:
#	build.gradle
2020-10-28 20:33:57 -04:00
Andrew Steinborn
dd23203139 Add some missing convenience APIs to MinecraftChannelIdentifier 2020-10-28 19:02:37 -04:00
Andrew Steinborn
9360fab6a5 Forgot about this. Can we just publish this already? 2020-10-28 11:00:09 -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
8fbce8423f Fix typo in ServerPing#asBuilder() Javadoc
Fixes #375
2020-10-26 17:20:52 -04:00
Andrew Steinborn
bf06134fb5 Merge branch 'dev/1.1.0' into dev/2.0.0 2020-10-22 12:43:04 -04:00
Andrew Steinborn
cfb9104696 1.16.4-pre2 support 2020-10-22 12:42:35 -04:00
Andrew Steinborn
973503ff99 Rearrange connection-related API classes.
This is the last rearrangement I plan to do.
2020-10-22 02:31:29 -04:00
Andrew Steinborn
b00389029f Add support for listening and connecting to servers listening on Unix sockets 2020-10-22 02:01:29 -04:00
Andrew Steinborn
29890d7c20 Further shuffling of event classes. 2020-10-22 01:09:30 -04:00
Andrew Steinborn
51daa65860 Improve the PostOrder Javadoc. 2020-10-22 01:06:06 -04:00
Andrew Steinborn
9a59f9e8e2 Shuffle some event classes around.
The new locations make better sense.
2020-10-22 01:03:08 -04:00
Andrew Steinborn
929d623be2 Add support for arbitrary event handler ordering.
This allows for 65,536 different orders, which should be more than enough for anyone.
2020-10-22 01:02:40 -04:00
Andrew Steinborn
abfa05c249 Breaking dependency upgrades:
Guava 25.1-jre -> 30.0-jre
Configurate 3.7.1 -> 4.0.0-SNAPSHOT
2020-10-22 00:49:25 -04:00
Andrew Steinborn
d8d469af0b Remove remaining deprecated APIs 2020-10-22 00:41:56 -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
a1eebc6502 Remove deprecated Velocity 1.0.0 Command API. 2020-10-22 00:13:20 -04:00
Andrew Steinborn
9dfe44b125 Bump to 2.0.0-SNAPSHOT, remove deprecated text API and toml4j 2020-10-21 23:57:53 -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
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
Riley Park
a76c01df4b
Fix a few javadoc-related problems 2020-10-15 08:24:41 -07: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