Commit Graph

1664 Commits

Author SHA1 Message Date
Andrew Steinborn b0da4b60c7 Do not check if a plugin message channel is registered before forwarding it
This fixes issues with Servux and probably a crap ton of other bad mods. Purity on this front serves no real purpose than to say we're pedantic.

A future commit may remove all tracking of registered channels altogether. There's strong evidence (back to Minecraft 1.8, at least) that we don't have to track this data and only need to send channels for plugin message channels registered by Velocity itself. This will likely involve more testing to see if this uncovers client bugs with older versions of the game.
2021-06-12 10:30:46 -04:00
Andrew Steinborn 445688b9a1 Merge branch 'dev/1.1.0' into dev/3.0.0
# Conflicts:
#	build.gradle
2021-06-09 01:29:51 -04:00
Andrew Steinborn 793ad443c6 Velocity 1.1.9-SNAPSHOT 2021-06-08 15:50:37 -04:00
Andrew Steinborn caf7af12b8 WTF, actually 1.1.8 please. 2021-06-08 15:48:02 -04:00
Andrew Steinborn 9b42bc8c45 Whatever, let's update Adventure too I guess 2021-06-08 15:45:53 -04:00
Andrew Steinborn d84609ab7c Velocity 1.1.8 2021-06-08 15:45:26 -04:00
Andrew Steinborn e1af30e0fa whoops 2021-06-08 15:42:20 -04:00
Andrew Steinborn 8892e2a5c6 We don't need the hash to go along with the resource pack response 2021-06-08 15:41:54 -04:00
Andrew Steinborn 4619053962 Velocity 1.1.8-SNAPSHOT 2021-06-07 17:31:29 -04:00
Andrew Steinborn a4649c81df Velocity 1.1.7 2021-06-07 17:28:46 -04:00
Andrew Steinborn a65f720f9d Merge branch 'dev/1.1.0' into dev/3.0.0
# Conflicts:
#	build.gradle
2021-06-07 15:32:52 -04:00
Andrew Steinborn 496372d7af Check if the resource pack hash looks like it might be a SHA-1 hash 2021-06-07 15:32:36 -04:00
Andrew Steinborn d7bf03b956 Minecraft 1.17 2021-06-07 14:16:16 -04:00
Andrew Steinborn 224e06d7ea Bump to 1.1.7-SNAPSHOT 2021-06-07 12:48:11 -04:00
Andrew Steinborn b6dc0089b4 Velocity 1.1.6 2021-06-07 12:47:00 -04:00
Andrew Steinborn c2c119140f Anticipatory bump to Minecraft 1.17 2021-06-07 12:46:21 -04:00
Andrew Steinborn b34f2f6944 Merge pull request #516 from A248/caffeine-3
Bump to Caffeine 3
2021-06-07 16:44:29 +00:00
A248 6e42f225e2 Bump to Caffeine 3 2021-06-06 08:09:42 -04:00
Andrew Steinborn 65608bb360 Bump Gson version 2021-06-06 04:22:08 -04:00
Andrew Steinborn ef7aeae4ed Merge remote-tracking branch 'origin/dev/3.0.0' into dev/3.0.0 2021-06-06 03:52:03 -04:00
Andrew Steinborn 9d54a03a4b Force SpotBugs to shut up here
This method is indeed called...
2021-06-06 03:51:42 -04:00
Andrew Steinborn b1b3882fab Merge branch 'Xernium-future/1.17' into dev/3.0.0
# Conflicts:
#	api/src/main/java/com/velocitypowered/api/proxy/ProxyServer.java
#	proxy/src/main/java/com/velocitypowered/proxy/connection/client/ConnectedPlayer.java
2021-06-06 03:48:49 -04:00
Andrew Steinborn 43b72ff826 Apply some spelling fixes from code review
Co-authored-by: Hugo Manrique <hugmanrique@users.noreply.github.com>
2021-06-06 00:20:47 +00:00
Andrew Steinborn f4550c3a37 Merge pull request #515 from hugmanrique/dev-3/command-api-changes
[3.0] Document some restrictions in the command API
2021-06-05 18:27:18 +00:00
Hugo Manrique f103662dc4 Fix incorrect import removal 2021-06-05 18:33:22 +02:00
Hugo Manrique e6eecd806a Document some restrictions in the command API 2021-06-05 18:02:26 +02:00
FivePB 59b29a075e Improve new Resource-pack API 2021-06-05 16:07:24 +02:00
Andrew Steinborn df21105701 Minecraft 1.17-rc1 2021-06-04 17:48:45 -04:00
Andrew Steinborn 100eedf102 Minecraft 1.17-pre5 2021-06-03 14:40:06 -04:00
Andrew Steinborn 3eb64855d3 Minecraft 1.17-pre4 2021-06-03 02:50:16 -04:00
Andrew Steinborn f67dc3ffc8 Minecraft 1.17-pre3 2021-06-01 13:36:28 -04:00
Andrew Steinborn 7fbfdb2f23 Merge pull request #513 from CoreyShupe/feature/Allow-Raw-Registered-Server-Creation
Initial implementation of raw registered server creation.
2021-06-01 13:12:41 +00:00
Andrew Steinborn dffbaba716 Merge pull request #514 from CoreyShupe/feature/CheckServerInfoEquality
Initial change to allow for server info equality.
2021-06-01 13:05:43 +00:00
CoreyShupe 61c0c0d083 Initial change to allow for server info equality. 2021-06-01 02:17:35 -04:00
CoreyShupe 150808b4b0 Initial implementation of raw registered server creation. 2021-06-01 02:07:06 -04:00
Andrew Steinborn c161a3859c 1.17-pre2 2021-05-31 12:47:13 -04:00
Andrew Steinborn 10bfd8685e Minecraft 1.17-pre1 2021-05-27 11:02:07 -04:00
Andrew Steinborn 04db382a18 Merge pull request #507 from A248/remove-add-opens
Remove Add-Opens from manifest
2021-05-24 13:03:14 -04:00
A248 2cfa3f743f Remove Add-Opens from manifest 2021-05-24 12:02:35 -04:00
Andrew Steinborn 64d30fba81 AsyncEventExecutor -> AwaitingEventExecutor 2021-05-23 17:51:07 -04:00
Andrew Steinborn 51f923bf2d Fix Java 11 Javadoc URL 2021-05-23 17:21:44 -04:00
Andrew Steinborn b9823085af Update Guice to 5.0.1
This (aside from removal of deprecated methods) is the only notable API break in Velocity 3.0.0.
2021-05-23 17:20:52 -04:00
Andrew Steinborn e14ea36150 We don't rely on kyori/event any more 2021-05-23 15:52:09 -04:00
Andrew Steinborn 3944eec491 Add async parameter to @Subscribe, also as a migration aid. 2021-05-23 15:42:17 -04:00
Seppe Volkaerts 821ca02ee7 Backport Velocity Polymer's async event API, with changes.
This commit backports the event manager from Velocity Polymer, with some changes for Velocity 1.1.x API compatibility:

- All event handlers run asynchronously. (While EventTask.async() exists, it is not useful in 3.0.0, but is provided as a migration aid for Polymer.)
- Event ordering is currently limited to the 5 levels available in Velocity 1.x.x.
2021-05-23 15:39:06 -04:00
Andrew Steinborn 3f50964f36 Fix CommandManager method naming so that it is in sync with the 1.1.0 API 2021-05-23 14:20:59 -04:00
Andrew Steinborn b632431ae9 don't build on Java 8 2021-05-23 14:15:22 -04:00
Andrew Steinborn 977300cc66 Remove text 3.x API and associated deprecated APIs 2021-05-23 14:13:51 -04:00
Andrew Steinborn 569bb4a16b Just import the entire command manager from Polymer, without changing any names 2021-05-23 13:58:27 -04:00
Andrew Steinborn 590f18dbe0 Convert to Java 11 compressor 2021-05-23 13:58:01 -04:00