3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-11-16 21:10:30 +01:00
Commit graph

1753 Commits

Autor SHA1 Nachricht Datum
Andrew Steinborn
cbee52aa61 Further API tweaks 2021-06-18 16:18:15 -04:00
Andrew Steinborn
5579f76316 a 2021-06-05 20:17:24 -04:00
Andrew Steinborn
ab0300eb6c include adventure-nbt to fix compile errors 2021-05-30 23:18:36 -04:00
Andrew Steinborn
6a6ca7a03e Move mostly independent parts of the proxy to its own module
At this point, we have mostly connection/protocol handling and the "core proxy logic" left in the proxy module.
2021-05-30 23:15:38 -04:00
Andrew Steinborn
4a8be52c93 Rename Java plugin loader to JVM plugin loader
This is to prevent confusion with Java Edition - Velocity is built on the JVM and this handles plugins loaded into the same JVM Velocity is running in.
2021-05-30 18:20:34 -04:00
Andrew Steinborn
eef2b2040c Reorganize networking components to Java Edition (part 1) 2021-05-30 18:17:06 -04:00
Andrew Steinborn
1c70776ed4 whoops 2021-05-30 17:44:03 -04:00
Andrew Steinborn
80a59f7478 Add API exposure for platform and platform-specific protocol versions 2021-05-30 17:43:52 -04:00
Andrew Steinborn
3772bc1e0b Initial adjustments for better support of Bedrock 2021-05-30 16:52:34 -04:00
Andrew Steinborn
e093c91a26 Precisely unrolled VarInt reading 2021-05-30 16:20:28 -04:00
Andrew Steinborn
063a208f5f Convert ClientboundLoginPluginMessagePacket encoding to PacketWriter 2021-05-27 16:26:09 -04:00
Andrew Steinborn
c00ffea161 Merge branch 'dev/2.0.0' into dev/polymer 2021-05-19 16:15:27 -04:00
Andrew Steinborn
1f0a186766
Merge pull request #504 from Cybermaxke/event-task-improvements
Simplify EventTask. Add Continuation parameter support.
2021-05-19 16:14:49 -04:00
Andrew Steinborn
89f3dbc894 Skip a major version, move to 4.0.0-SNAPSHOT 2021-05-19 16:12:07 -04:00
Seppe Volkaerts
c30575ec44 Simplify EventTask. Add custom handler support.
Additionally support for continuation adapters (will be used by the kotlin language plugin).
2021-05-19 19:16:46 +02:00
Andrew Steinborn
0ddadc90e2 Demonize legacy formatting completely.
Velocity has always supported components from day 1. It's time to officially frown upon legacy formatting for good.
2021-05-18 12:09:35 -04:00
Andrew Steinborn
045b974096
Merge pull request #505 from Cybermaxke/fix-bstats-error
Fix bStats error when starting in dev.
2021-05-17 17:38:16 -04:00
Seppe Volkaerts
404936a53f Fix bStats error when starting in dev. 2021-05-17 23:29:40 +02:00
Andrew Steinborn
9643159826 Don't exclude fastutil Int2Object maps 2021-05-17 11:38:50 -04:00
Andrew Steinborn
5e7373b062
Merge pull request #499 from hugmanrique/dev-2/command-api-changes
[2.0] Document some restrictions in the command API
2021-05-16 07:49:37 -04:00
Hugo Manrique
1753b8c15c
Document some restrictions in the command API 2021-05-16 13:46:38 +02:00
Andrew Steinborn
99b3b32525 There's no need to shadow the API JAR 2021-05-16 03:17:08 -04:00
Andrew Steinborn
9efda3d42d Merge branch 'l10n_dev/2.0.0' into dev/2.0.0
# Conflicts:
#	proxy/src/main/resources/com/velocitypowered/proxy/l10n/messages_fi_FI.properties
#	proxy/src/main/resources/com/velocitypowered/proxy/l10n/messages_nl_NL.properties
#	proxy/src/main/resources/com/velocitypowered/proxy/l10n/messages_ru_RU.properties
2021-05-16 03:14:03 -04:00
Andrew Steinborn
90ecb7182a Resync and merge all translation commits into one 2021-05-16 03:13:13 -04:00
Andrew Steinborn
78036438f2 Gradle Shadow enters the plugins block 2021-05-16 01:45:09 -04:00
Andrew Steinborn
49c25e24c7 Bump Gradle Shadow version
We'll need to upgrade to Gradle 7 soon, probably also with an upgrade to Kotlin DSL too...
2021-05-16 01:32:43 -04:00
Andrew Steinborn
65cf7072cd Bump dependencies: Log4j, Guava, Netty, Configurate 2021-05-16 01:29:33 -04:00
Andrew Steinborn
a6d4ad6950 Some classloader/dependency versioning fix ups 2021-05-16 00:33:03 -04:00
Andrew Steinborn
a155f91dfd Support multiple plugins loaded from the same JAR 2021-05-15 23:42:54 -04:00
Andrew Steinborn
3579fa644b Fix typo 2021-05-15 08:59:13 -04:00
Andrew Steinborn
fe2ca18955 that explains it 2021-05-15 08:53:34 -04:00
Andrew Steinborn
707de2dfba A little debugging(?) 2021-05-15 08:29:50 -04:00
Andrew Steinborn
c753037b7b Fix Checkstyle 2021-05-15 08:17:47 -04:00
Andrew Steinborn
2a39ddb03e Add support for resolving dependencies that require a version range 2021-05-15 08:16:17 -04:00
Andrew Steinborn
348ea4cc23 Fix annotation processor choking on event subscribers 2021-05-15 08:15:25 -04:00
Andrew Steinborn
07f8980f82 Fix compile errors 2021-05-14 16:28:16 -04:00
Andrew Steinborn
ee2870aafb Add annotation processor for @Subscribe 2021-05-14 16:14:42 -04:00
Andrew Steinborn
e6e35d3754 Add a base interface for events 2021-05-14 12:24:43 -04:00
Andrew Steinborn
e65c4102a6 Add missing nullability annotation 2021-05-14 09:28:57 -04:00
Andrew Steinborn
0af9d9d77b Reimplement packet length checks 2021-05-14 09:24:39 -04:00
Andrew Steinborn
14be98c88c Banish all use of Optionals from Velocity entirely 2021-05-13 04:35:50 -04:00
Andrew Steinborn
6cd3b00428 Fix suppress warnings on the packets 2021-05-13 04:25:06 -04:00
Andrew Steinborn
3c41211163 Switch over to Error Prone (now with NullAway!)
There is one major change: we now have a separate artifact for the annotation processor.

As for NullAway, we are currently exempting the clientbound join game/respawn packets. They are ugly and need to be refactored.
2021-05-13 04:13:15 -04:00
Andrew Steinborn
c496d912ea Merge branch 'feature/extended-connection-handshake-event' into dev/2.0.0 2021-05-12 12:35:00 -04:00
Andrew Steinborn
00cc636d6a Remove essentially all use of Java Optionals from the API
Also fix extended handshake event handling
2021-05-12 12:33:55 -04:00
Andrew Steinborn
100a930502
Merge pull request #498 from VelocityPowered/feature/extended-connection-handshake-event
Reimplement #434 but aligned to the Velocity 2.0.0 API
2021-05-12 10:10:07 -04:00
Andrew Steinborn
6fcef41146 Reimplement #434 but aligned to the Velocity 2.0.0 API 2021-05-12 10:03:48 -04:00
Andrew Steinborn
11928f3737 Fix warning when using a Unix domain socket to connect to a server 2021-05-12 09:15:37 -04:00
Andrew Steinborn
47a1332514 Add equals/hashCode to all results and remove another result I don't like
Fixes #483
2021-05-11 06:52:46 -04:00
Andrew Steinborn
f4fc07768b Simplify event result structure and add some convenience methods 2021-05-11 06:40:22 -04:00