Aaron
cc67b99c8b
permission Tristate and function exchanged with adventure
2023-06-16 01:27:27 +02: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
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
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
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
Alexander Städing
1161482fce
Upgradle to v8.1 and remove now-redundant warnings ( #1001 )
2023-04-19 17:43:25 -04:00
Adrian
e364e2c7d1
feat: Warn if an attempt is made to register a command with multiple interfaces implemented instead of just ignoring it ( #1000 )
2023-04-09 12:23:39 -04:00
Andrew Steinborn
d438422d52
Get a bit more spotless
2023-04-09 12:19:50 -04:00
Andrew Steinborn
2fa9f37481
Delete copying temporary version of config.toml into temporary files
...
Fixes #999
2023-04-09 12:18:02 -04:00
Andrew Steinborn
771dfa8d0e
Cherry-pick full Unix domain socket support from b00389029f
...
Closes #991 . We can't properly support this without an API break, so let's just do it in 5.0.0.
2023-04-04 01:44:13 -04:00
Gero
93b6376b38
Remove registry decoding ( #979 )
2023-03-29 09:21:01 +02:00
Alexander Städing
7b5f010215
Forgot to migrate adventure bom declaration
2023-03-26 16:18:28 +02:00
Alexander Städing
e9526e0e23
Move dependencies to gradle version catalog and clean up buildscripts
2023-03-26 14:53:11 +02:00
Gero
c7ba5255e3
Add Player#hasSentPlayerSettings ( #980 )
2023-03-21 09:22:40 +01:00
EpicPlayerA10
01f1e1a94e
Fix header and footer desync ( #928 )
2023-03-16 02:32:09 -04:00
Andrew Steinborn
15cce53adf
Revert "Handle exceptions in ConnectionRequestBuilderImpl#fireAndForget ( #875 )" ( #978 )
...
This reverts commit b4e04204a9
.
2023-03-16 02:14:22 -04:00
Andrew Steinborn
02ed711573
Breaking API dependency updates.
2023-03-15 23:08:39 -04:00
Andrew Steinborn
a575324009
Merge branch 'dev/3.0.0' into dev/5.0.0
2023-03-15 23:03:43 -04:00
A248
b4e04204a9
Handle exceptions in ConnectionRequestBuilderImpl#fireAndForget ( #875 )
...
See #859
2023-03-15 23:02:02 -04:00
Andrew Steinborn
8b1eb9b214
A wild Velocity 5.0.0 appears!
2023-03-15 23:00:37 -04:00
Andrew Steinborn
7e9a25209c
Update various dependencies
2023-03-15 22:52:12 -04:00
Adrian
cc74cf855f
Added MiniMessage support to built-in motd ( #666 )
2023-03-15 19:27:20 -04:00
Adrian
65a84833d7
Expose Caffeine in the API module
2023-03-11 08:36:38 -05:00
Gero
43f6dd653b
1.19.4 (rc1) ( #967 )
2023-03-09 19:25:52 +01:00
Nassim Jahnke
5d03023679
Update ServerData reading
2023-03-09 19:25:51 +01:00
Nassim Jahnke
31e557c80b
Start working on 1.19.4
2023-03-09 19:25:51 +01:00
Nassim Jahnke
9122d70ffe
Update Gradle wrapper, add wrapper-validation-action to build workflow
2023-03-09 19:10:01 +01:00
Gero
cb1f336d14
Fix cancellation of PlayerChatEvent for key revision GENERIC_V1 ( #941 )
2023-03-09 18:56:09 +01:00
Corey Shupe
d733e88677
Add getEntry to TabList.java
2023-02-20 10:11:33 -05:00
Nassim Jahnke
e0e156a420
Fix task scheduler, reject tasks above cap
...
The ThreadPoolExecutor API is confusing with *very* common pitfalls, one of them being a setup like the one before completely blocking task execution while core task executors are working, not actually starting new threads.
2023-02-19 14:47:38 +01:00
Andrew Steinborn
b0988bc50a
Add a hard cap of 200 threads to VelocityScheduler
...
This is a more realistic (generalized) solution for #943 . Fundamentally, a plugin should not be spawning an unbounded number of asynchronous task execution units on demand from the user - an invariant Velocity itself enforces. However, since this practice is so commonplace, it makes sense that we would need to have some upper cap to at least make the practice safer than it currently is.
2023-02-18 16:20:12 -05:00
DEv0on
cd35e8f8a9
Fix for edgecase FML|HS packet desynchronization ( #948 )
...
* Fix for edgecase FML|HS packet desynchronization
* Change approach for FML packet desynchronization edge case
2023-02-15 01:00:11 -05:00
Adrian
8761d02def
feat: Implement RegisteredServer#ping(PingOptions) ( #938 )
2023-01-26 00:33:07 -05:00
Andrew Steinborn
f744b37ad5
Merge remote-tracking branch 'origin/dev/3.0.0' into dev/3.0.0
2023-01-21 18:22:04 -05:00
4drian3d
d6c0b71648
Add /velocity heap command ( #786 )
2023-01-21 18:21:22 -05:00
Outfluencer
50acf17f3f
Username can be 16 * 3 bytes ( #936 )
...
see my pr #843
2023-01-21 18:14:49 -05:00
EpicPlayerA10
8a048f0505
Fix sendPluginMessage ( #926 )
2023-01-13 17:43:50 -05:00
Andrew Steinborn
586cd56c05
Fire PluginMessageEvent correctly if it's sent when a connection is established
...
Fixes #774
2023-01-08 13:34:44 -05:00
Andrew Steinborn
022ae0fc00
Instead of re-encoding the client-server registry, pass through the original
2023-01-08 13:18:14 -05:00
Andrew Steinborn
7ed422b4ed
Switch all Guava Cache uses to Caffeine
2023-01-01 19:05:13 -05:00
Andrew Steinborn
aaa24752ac
Update various other dependencies
2023-01-01 18:58:27 -05:00
Andrew Steinborn
3768e66e86
Also use Spotless to remove unused imports
2023-01-01 18:52:11 -05:00
Andrew Steinborn
b0862d2d16
Use Spotless for license formatting
2023-01-01 18:46:33 -05:00
Andrew Steinborn
d715e17acb
Bump copyright date to 2023
2023-01-01 17:56:00 -05:00