Seppe Volkaerts
b04d5de141
Implement async event tasks.
...
Events will now only be handled by an async executor if necessary. This should improve performance for lightweight listeners.
2020-12-15 12:48:32 +01:00
Andrew Steinborn
58294595f3
Fix unit tests and correct several issues with hinting.
...
The packet registry tests are defunct, and will be rewritten at a future date.
2020-12-14 14:31:19 -05:00
Andrew Steinborn
ef7f4871b8
Remove dependency on the java.desktop module
...
The Favicon.create(BufferedImage) method has been removed. In its place we have Favicon.create(Path) (carried over from the 1.x.x series) and Favicon.create(byte[]) (brand new).
2020-12-14 14:30:39 -05:00
Andrew Steinborn
2f5e82a0f1
More fixups
2020-12-02 01:39:04 -05:00
Andrew Steinborn
cb4202fe78
Merge branch 'dev/2.0.0' into 2/network
...
# Conflicts:
# proxy/src/main/java/com/velocitypowered/proxy/network/serialization/brigadier/ArgumentPropertyRegistry.java
# proxy/src/main/java/com/velocitypowered/proxy/network/serialization/brigadier/ModArgumentProperty.java
# proxy/src/main/java/com/velocitypowered/proxy/network/serialization/brigadier/ModArgumentPropertySerializer.java
2020-12-02 01:24:39 -05:00
Andrew Steinborn
5bd7b66bda
Merge branch 'dev/1.1.0' into dev/2.0.0
...
# Conflicts:
# build.gradle
# native/src/main/java/com/velocitypowered/natives/compression/Java11VelocityCompressor.java
2020-11-17 04:49:32 -05:00
Andrew Steinborn
511165415d
Switch to our internal Brigadier fork
2020-11-15 23:33:16 -05:00
Riley Park
0615b024cf
packets!
2020-11-06 19:40:30 -08:00
Andrew Steinborn
89e1a07448
Try and explicitly specify Java 8 in the modules.
2020-11-06 18:52:00 -05:00
Andrew Steinborn
02ad6b7e01
Promote CommandInvocation#alias
2020-11-05 19:23:26 -05:00
Andrew Steinborn
2e55461503
API uses Java 8
2020-11-05 18:11:01 -05:00
Andrew Steinborn
2c07d00f18
Merge branch 'dev/1.1.0' into dev/2.0.0
2020-11-05 16:39:26 -05:00
Andrew Steinborn
642573e9e0
Fix logic for telling the server snapshot versions.
2020-11-04 18:58:48 -05:00
Andrew Steinborn
8dd83193c8
Manually merge in conflicting 2.0.0 changes into the 1.1.0 merge.
2020-10-28 20:36:22 -04:00
Andrew Steinborn
e21cd77ae7
Merge branch 'dev/1.1.0' into dev/2.0.0
...
# Conflicts:
# build.gradle
2020-10-28 20:33:57 -04:00
Andrew Steinborn
dd23203139
Add some missing convenience APIs to MinecraftChannelIdentifier
2020-10-28 19:02:37 -04:00
Andrew Steinborn
9360fab6a5
Forgot about this. Can we just publish this already?
2020-10-28 11:00:09 -04:00
Andrew Steinborn
188758cf0e
Drop 1.16.4 snapshot support in anticipation for full 1.16.4 release
2020-10-26 21:05:09 -04:00
Andrew Steinborn
8fbce8423f
Fix typo in ServerPing#asBuilder() Javadoc
...
Fixes #375
2020-10-26 17:20:52 -04:00
Andrew Steinborn
bf06134fb5
Merge branch 'dev/1.1.0' into dev/2.0.0
2020-10-22 12:43:04 -04:00
Andrew Steinborn
cfb9104696
1.16.4-pre2 support
2020-10-22 12:42:35 -04:00
Andrew Steinborn
973503ff99
Rearrange connection-related API classes.
...
This is the last rearrangement I plan to do.
2020-10-22 02:31:29 -04:00
Andrew Steinborn
b00389029f
Add support for listening and connecting to servers listening on Unix sockets
2020-10-22 02:01:29 -04:00
Andrew Steinborn
29890d7c20
Further shuffling of event classes.
2020-10-22 01:09:30 -04:00
Andrew Steinborn
51daa65860
Improve the PostOrder Javadoc.
2020-10-22 01:06:06 -04:00
Andrew Steinborn
9a59f9e8e2
Shuffle some event classes around.
...
The new locations make better sense.
2020-10-22 01:03:08 -04:00
Andrew Steinborn
929d623be2
Add support for arbitrary event handler ordering.
...
This allows for 65,536 different orders, which should be more than enough for anyone.
2020-10-22 01:02:40 -04:00
Andrew Steinborn
abfa05c249
Breaking dependency upgrades:
...
Guava 25.1-jre -> 30.0-jre
Configurate 3.7.1 -> 4.0.0-SNAPSHOT
2020-10-22 00:49:25 -04:00
Andrew Steinborn
d8d469af0b
Remove remaining deprecated APIs
2020-10-22 00:41:56 -04:00
Andrew Steinborn
e3eace6a56
Undeprecate CommandManager#register(String, Command, String...)
...
This is a very convenient shorthand so let's save it from being axed. This is a change I made for an eventual Velocity 2.0.0 but it is backwards compatible for 1.1.0.
2020-10-22 00:14:41 -04:00
Andrew Steinborn
a1eebc6502
Remove deprecated Velocity 1.0.0 Command API.
2020-10-22 00:13:20 -04:00
Andrew Steinborn
9dfe44b125
Bump to 2.0.0-SNAPSHOT, remove deprecated text API and toml4j
2020-10-21 23:57:53 -04:00
Andrew Steinborn
fd63945175
Follow historical precedent with the new snapshot protocol release policy.
2020-10-15 15:57:27 -04:00
Andrew Steinborn
53b2400682
Remove bad snapshot flag.
2020-10-15 11:47:34 -04:00
Andrew Steinborn
b75086aacb
Proper Minecraft 1.16.4-pre1 support.
2020-10-15 11:46:44 -04:00
Riley Park
a76c01df4b
Fix a few javadoc-related problems
2020-10-15 08:24:41 -07:00
Andrew Steinborn
6e00dbe2b7
Fix compile errors
2020-10-14 16:08:20 -04:00
Andrew Steinborn
cffc6d0a81
Fix Checkstyle error
2020-10-14 13:58:28 -04:00
Riley Park
60e917b4a1
Player has an identity
2020-10-13 22:36:51 -07:00
Andrew Steinborn
3b1009caba
Prepare for 1.16.4
2020-10-11 20:15:29 -04:00
Andrew Steinborn
dc48eb97f9
Start publishing velocity-natives module
...
Note that this will remain internal API for Velocity and the publication of the module does not necessarily indicate that they will be stable.
2020-09-23 01:03:18 -04:00
Frank van der Heijden
2b6c271cc7
Add ability to check for command alias existence in api module
2020-09-13 19:11:40 +02:00
Andrew Steinborn
3a4aa4a25c
Minecraft 1.16.3
2020-09-10 10:47:25 -04:00
Andrew Steinborn
540541842a
Minecraft 1.16.3-rc1
2020-09-07 10:06:49 -04:00
Andrew Steinborn
5d287306c2
Small code cleanups
2020-09-01 03:25:15 -04:00
Andrew Steinborn
764c8ed3e5
Fix compile error
...
While we're at it, change the newly-introduced shutdown API to use a generic Adventure component instead.
2020-08-30 07:09:52 -04:00
Andrew Steinborn
1f621300f6
Revert #338
...
This is creating more problems than it actually solves
2020-08-22 02:40:35 -04:00
Andrew Steinborn
c47d25c88a
Upgrade to Gradle 6.6 and use SpotBugs.
...
As a result, at least one real bug was fixed! Nice.
2020-08-21 19:09:04 -04:00
Andrew Steinborn
26f3cb43c7
Clean up some Adventure support code, implement another sendMessage overload
2020-08-16 14:02:04 -04:00
Andrew Steinborn
1717d7f9b4
Add SimpleCommand.Invocation#alias function.
...
It seems like this ability is generally useful outside RawCommand, so let's add this to SimpleCommand too.
2020-08-15 16:41:35 -04:00