Commit Graph

2073 Commits

Author SHA1 Message Date
Adrian
e0cf2e211f Updated Guice to 6.0.0 and manually include updated ASM (#1016) 2023-06-02 22:12:03 -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
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
673af65078 fix 2023-05-14 03:18:20 -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
Andrew Steinborn
7f776abf55 Upgrade Adventure 2023-04-19 23:22:20 -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
Fejby
6a125bd08b [ci skip] Update README.md (#990)
Edit Velocity download link
2023-03-31 12:05:53 -07:00
Gero
93b6376b38 Remove registry decoding (#979) 2023-03-29 09:21:01 +02:00
Riley Park
36cc2bde23 Merge pull request #983 from alexstaeding/refactor/version-catalog
Move dependencies to gradle version catalog and clean up buildscripts
2023-03-26 13:27:29 -07:00
Alexander Städing
39fc2805fd Move group and version declaration to gradle.properties 2023-03-26 21:59:23 +02:00
Alexander Städing
7b5f010215 Forgot to migrate adventure bom declaration 2023-03-26 16:18:28 +02:00
Alexander Städing
ace5e72c8d Fix another missing newline 2023-03-26 14:57:54 +02:00
Alexander Städing
44d06ce79c Fix missing newline in native/build.gradle.kts 2023-03-26 14:55:32 +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
A248
b4e04204a9 Handle exceptions in ConnectionRequestBuilderImpl#fireAndForget (#875)
See #859
2023-03-15 23:02:02 -04:00
Andrew Steinborn
7e9a25209c Update various dependencies 2023-03-15 22:52:12 -04:00
Adrian
b0e8dbc419 [ci skip] Fixed build badge (#975) 2023-03-15 22:45:18 -04:00
Adrian
cc74cf855f Added MiniMessage support to built-in motd (#666) 2023-03-15 19:27:20 -04:00
Riley Park
dc7efd93ad Merge pull request #972 from 4drian3d/expose/caffeine
Expose Caffeine in the API module
2023-03-11 11:32:13 -08:00
Adrian
65a84833d7 Expose Caffeine in the API module 2023-03-11 08:36:38 -05:00
Pantera (Mad_Daniel)
ca0fbd219c Bump netty to 4.1.89.Final (#931) 2023-03-09 21:59:55 +01: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
Riley Park
e08ffa1019 Merge pull request #964 from Doc94/patch-1
[ci skip] Update actions/docs of gradle workflow
2023-03-05 06:00:10 -08:00
Pedro
05019946d0 Update actions/docs of gradle workflow 2023-03-05 09:56:10 -03:00
Riley Park
7da4f260d1 chore: switch to papermc repository 2023-03-01 21:12:39 -08:00
Adrian
9149ed3384 Update adventure javadoc link (#956) 2023-02-25 15:20:41 +00:00
Corey Shupe
48acbb3240 Merge pull request #953 from CoreyShupe/feature/player-tab-list-get-entry 2023-02-20 10:47:01 -05: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
d9ee34feac Ignore the locally-generated lang directory 2023-01-08 13:37:01 -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