Andrew Steinborn
348f387d12
fix after rename and cherry-pick
2023-10-29 01:25:53 -04:00
Andrew Steinborn
7cb1189e30
Revert bad bug fix
2023-10-29 01:24:47 -04:00
Andrew Steinborn
3584c20167
Fix bug in VelocityRegisteredServer#ping()
(5.0.0 version)
2023-10-28 20:15:41 -04:00
Angelillo15
77ec0d648d
Add send command ( #1073 )
2023-10-28 20:14:47 -04:00
Andrew Steinborn
437c505cd8
Start tearing out the prefixes
2023-10-27 23:58:13 -04:00
Andrew Steinborn
908dd96015
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:55:44 -04:00
Andrew Steinborn
115ac92d5c
A full reorganization of the networking logic
...
While we're at it, make the packet files mostly Checkstyle clean, except for Javadocs (not very useful)
2023-10-27 18:38:26 -04:00
Andrew Steinborn
67a6d27123
Fix spotless
2023-10-27 17:45:13 -04:00
JNNGL
1bee6f1ded
Add kqueue support ( #996 )
2023-10-27 17:44:00 -04:00
Andrew Steinborn
86b6a60368
Refactor StatusSessionHandler
so we can introduce cached server pings more easily
2023-10-27 17:40:56 -04:00
James58899
b023b03063
Support plugin message in configuration stage ( #1096 )
2023-10-27 17:23:42 -04:00
Andrew Steinborn
95c9b78ab6
Merge branch 'use/adventure-permission' of https://github.com/RealBauHD/Velocity into RealBauHD-use/adventure-permission
2023-10-27 17:10:31 -04:00
Andrew Steinborn
0c7b8081d5
Clean up after the merge.
2023-10-27 16:51:53 -04:00
Andrew Steinborn
a037ab4956
Merge branch 'dev/3.0.0' into dev/5.0.0
...
# Conflicts:
# buildSrc/src/main/kotlin/com/velocitypowered/script/SetManifestImplVersionPlugin.kt
# proxy/src/main/java/com/velocitypowered/proxy/connection/backend/VelocityServerConnection.java
# proxy/src/main/java/com/velocitypowered/proxy/event/VelocityEventManager.java
# proxy/src/main/java/com/velocitypowered/proxy/network/ConnectionManager.java
# proxy/src/main/java/com/velocitypowered/proxy/server/VelocityRegisteredServer.java
2023-10-27 16:40:54 -04:00
Andrew Steinborn
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
Alexander Städing
3d20c3dd2d
Migrate buildSrc plugins to build-logic
2023-10-27 16:03:15 -04:00
Andrew Steinborn
7e932eaad4
Modify MinecraftCompressorAndLengthEncoder
to handle 8MiB outgoing packets like vanilla supports now
2023-10-27 15:35:04 -04:00
Andrew Steinborn
0b07456c89
Bump HARD_MAXIMUM_UNCOMPRESSED_SIZE
to 128MiB
2023-10-27 15:17:32 -04:00
Owen
b33d18af2b
Allow closing active proxy listeners ( #1109 )
2023-10-27 01:39:03 -04:00
Adrian
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
Adrian
eb594fc799
Implement ComponentLogger ( #1022 )
2023-10-12 18:44:10 +01:00
Shane Freeder
98163cb82c
acknowledge seen messages to server when running proxy commands ( #1100 )
2023-10-12 17:22:42 +01:00
Joo200
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
Gero
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
Joo200
9be0bca3c4
Catch throwables when loading plugins ( #1098 )
2023-10-11 16:24:35 +01:00
Shane Freeder
2bd2c692ea
Change packet decode logging prompt
2023-10-10 18:44:03 +01:00
Shane Freeder
05e5963660
appease checkstyle, move back to older fix placement
2023-10-10 18:21:02 +01:00
Shane Freeder
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
Paul
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
Andrew Steinborn
19abb9094e
fix #1062
2023-08-20 02:13:55 -04:00
Andrew Steinborn
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
Aaron
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
Aaron
48e4fa637e
expose PermissionChecker and use this
2023-06-16 10:25:01 +02:00
Aaron
cc67b99c8b
permission Tristate and function exchanged with adventure
2023-06-16 01:27:27 +02:00
Gero
5ef90c46e3
1.20
2023-06-06 17:13:48 +02:00
Adrian
e0cf2e211f
Updated Guice to 6.0.0 and manually include updated ASM ( #1016 )
2023-06-02 22:12:03 -04:00
Andrew Steinborn
64ea90d254
Also make sure to use the latest ping serializer as well
2023-05-15 01:21:51 -04:00
Andrew Steinborn
40b76c6332
Fix flaky obtainTasksFromPlugin() test
2023-05-15 01:21:30 -04:00
Andrew Steinborn
92ae25b8ac
Also make sure to use the latest ping serializer as well
2023-05-15 01:20:45 -04:00
Andrew Steinborn
bd54b34334
When pinging the server with protocol version -1, return the latest version supported by the proxy
...
This matches BungeeCord's behavior and is in line with what clients specifying this meta-version would expect.
2023-05-15 01:16:51 -04:00
Andrew Steinborn
12a05f6d75
When pinging the server with protocol version -1, return the latest version supported by the proxy
...
This matches BungeeCord's behavior and is in line with what clients specifying this meta-version would expect.
2023-05-15 01:15:49 -04:00
Andrew Steinborn
3852f27eb8
Allow arbitrary post orders
2023-05-14 04:41:10 -04:00
Andrew Steinborn
3579532892
typo
2023-05-14 04:37:32 -04:00
Andrew Steinborn
d1030c3096
Reintroduce sync event execution to the Velocity event system
...
This required a not-insubstantial number of bug fixes, since the sync support had bit-rotted somewhat. This PR also corrects a number of bugs.
Finally. the per-plugin executor services are now used to execute all async event tasks.
2023-05-14 04:32:58 -04:00
Andrew Steinborn
3fcfb71b71
fix
2023-05-14 03:18:56 -04:00
Andrew Steinborn
673af65078
fix
2023-05-14 03:18:20 -04:00
Andrew Steinborn
64693cc97d
Merge branch 'dev/3.0.0' into dev/5.0.0
2023-05-14 02:53:47 -04:00
Andrew Steinborn
eca2767dc1
oops
2023-05-14 02:53:19 -04:00
Andrew Steinborn
02f0ed7ff0
Merge branch 'dev/3.0.0' into dev/5.0.0
...
# Conflicts:
# api/build.gradle.kts
# gradle.properties
# proxy/src/main/java/com/velocitypowered/proxy/config/VelocityConfiguration.java
2023-05-14 02:52:09 -04:00
Andrew Steinborn
a29c753e39
Give each plugin its own executor service ( #1010 )
...
This is part of preparatory work for Velocity 5.0.0's revamped event system, but this change is safe to bring into the 3.x.x series. This affects the scheduler for now, but command execution will also be moved into the per-plugin thread pool, along with invocations of `EventTask.async()`.
2023-05-14 02:51:25 -04:00