Commit Graph

2220 Commits

Author SHA1 Message Date
9e47a711b2 Move GH actions to java 17
Java 11 left standard support 3 months ago, it's time to move forward
and align with the rest of the ecosystem
2023-12-09 18:16:02 +00:00
bbbf549c88 Bump version pending 1.20.4 and API changes 2023-12-09 17:55:58 +00:00
07a525be7f Correct writing of brand string 2023-11-30 23:02:43 +00:00
e5176717a9 fix backend not receiving brands from 1.20.2 clients (#1147) 2023-11-30 20:18:40 +00:00
8dcc7ee37e Fix 2023-10-29 15:29:43 -04:00
2ec830f874 Apply some changes from 5.0.0 2023-10-29 14:54:50 -04:00
2e8ef8b2ca Fire PlayerSettingsChangedEvent event when PlayerSettings are provided in the Configuration phase (#1118) 2023-10-29 14:44:04 -04:00
f87b05a487 Allow sending all players from current server (#1133) 2023-10-29 14:42:40 -04:00
67d5e77b1f Revert bad bug fix 2023-10-29 00:56:30 -04:00
9b71564c5b Improve tab completion of glist and send command (#1126) 2023-10-28 23:21:15 -04:00
81145e45df Add send command (#1073) 2023-10-28 20:14:19 -04:00
7f8edf8c77 Fix typo in VelocityRegisteredServer#ping() 2023-10-28 19:53:49 -04:00
74033addbe Fix bug in VelocityRegisteredServer#ping() 2023-10-28 19:53:29 -04:00
ae63da6836 Merge branch 'dev/3.0.0' of github.com:PaperMC/Velocity into dev/3.0.0 2023-10-27 21:57:44 -04:00
c6cc6098a6 Make EventTypeTracker actually thread-safe
Although I don't think anyone has actually triggered this bug in practice, we should still fix this.
2023-10-27 21:57:34 -04:00
b7853d648f Add kqueue support (#996) 2023-10-27 17:32:22 -04:00
660160e858 Support plugin message in configuration stage (#1096) 2023-10-27 17:13:13 -04:00
277be8f9a7 Bump SnakeYAML to the last 1.x version
Fixes #1047. We can't go any higher since that's an API-breaking change. In any event, this will likely disappear in 5.0.0 anyway, because Configurate 4.x now shades SnakeYAML internally.
2023-10-27 16:58:43 -04:00
bbdeb3ec58 Revert "Modify MinecraftCompressorAndLengthEncoder to handle 8MiB outgoing packets like vanilla supports now"
This reverts commit 7e932eaad4.

Yikes, I broke something. Need to rethink this approach.
2023-10-27 16:10:39 -04:00
24ed83dcad Remove redundant suppress in buildscript 2023-10-27 16:03:17 -04:00
0aff18f865 Fix redundant empty line and url in publish script as per suggestions 2023-10-27 16:03:17 -04:00
c1420c3ea9 Update build-logic/src/main/kotlin/velocity-publish.gradle.kts
Co-authored-by: Riley Park <riley.park@meino.net>
2023-10-27 16:03:17 -04:00
3d20c3dd2d Migrate buildSrc plugins to build-logic 2023-10-27 16:03:15 -04:00
7e932eaad4 Modify MinecraftCompressorAndLengthEncoder to handle 8MiB outgoing packets like vanilla supports now 2023-10-27 15:35:04 -04:00
0b07456c89 Bump HARD_MAXIMUM_UNCOMPRESSED_SIZE to 128MiB 2023-10-27 15:17:32 -04:00
4b7950658b Remove legacy repository cruft
This dates from the dark days when I dared to operate my own Jenkins instance. Never again.
2023-10-27 01:50:27 -04:00
b33d18af2b Allow closing active proxy listeners (#1109) 2023-10-27 01:39:03 -04:00
b30802c1b3 API: Add Tristate#fromOptionalBoolean (#1125) 2023-10-26 03:01:24 -04:00
81b183ac39 Bump netty to 4.1.100.Final (#1067) 2023-10-16 12:07:17 +01:00
f884e049c0 Log the protocol phase in case of trying to obtain a packet id not existing in the phase (#1107) 2023-10-12 21:29:04 +01:00
eb594fc799 Implement ComponentLogger (#1022) 2023-10-12 18:44:10 +01:00
98163cb82c acknowledge seen messages to server when running proxy commands (#1100) 2023-10-12 17:22:42 +01:00
0d9a097a59 Fix unsigned commands detected as signed (#1082)
* fix: commands flagged as signed without signed arguments

* feat: improve error message for illegal protocol state.
2023-10-12 15:51:19 +01:00
1cc3f120ee Several improvements and fixes for 1.20.2 (#1097)
* Send LoginAcknowledged immediately

* Resend player list header/footer after backend server switched to config state

* Fix clearHeaderAndFooter not clearing fields in ConnectedPlayer

* Clear boss bars, header/footer, tab list when switching client to config state

* Send client settings in config state
2023-10-12 11:11:47 +02:00
9be0bca3c4 Catch throwables when loading plugins (#1098) 2023-10-11 16:24:35 +01:00
2bd2c692ea Change packet decode logging prompt 2023-10-10 18:44:03 +01:00
05e5963660 appease checkstyle, move back to older fix placement 2023-10-10 18:21:02 +01:00
550ca58a09 Actually send plugin message registration to backend servers
I don't see where this was ever done, and don't see how plugin messaging
could of ever worked, at least within the confines of CB and co, given
the fact that we never seemed to be sending this to the backend?
2023-10-10 18:05:05 +01:00
768ecdb0c3 1.20.2 Support (#1088)
Co-authored-by: RednedEpic <redned235@gmail.com>
Co-authored-by: Gero <gecam59@gmail.com>
2023-10-10 12:44:16 +00:00
19abb9094e fix #1062 2023-08-20 02:13:55 -04:00
f62d759896 Do not track plugin channels registered per-player on the proxy (#591)
We don't need to track this information since Velocity uses the JoinGame packet, which is about as good of a server rejoin mechanism we're likely to get in vanilla Minecraft.
2023-08-17 23:51:34 -04:00
2aaf702a2e [ci skip] Replaced weired i with i in javadocs (#1057)
In this little patch I replaced an i which caused my build process to crash with an i
2023-08-13 20:36:53 +01:00
81b45d710b feat: add TabList#addEntries (#987) 2023-08-12 10:49:08 -07:00
be9ecf75b2 check if a plugin has a executor service (#1038)
* check if a plugin has an executor service

* checkstyle
2023-08-04 20:48:01 -04:00
37fedf508e bump adventure to 4.14.0 (#1034) 2023-06-28 17:27:32 -04:00
bda1430d5c Add version information for 1.20.1 (#1021) 2023-06-12 16:11:20 +01:00
5ef90c46e3 1.20 2023-06-06 17:13:48 +02:00
e0cf2e211f Updated Guice to 6.0.0 and manually include updated ASM (#1016) 2023-06-02 22:12:03 -04:00
40b76c6332 Fix flaky obtainTasksFromPlugin() test 2023-05-15 01:21:30 -04:00
92ae25b8ac Also make sure to use the latest ping serializer as well 2023-05-15 01:20:45 -04:00