Andrew Steinborn
55cc416b52
Merge pull request #428 from Camotoy/registerevent
...
Add PlayerRegisterChannelEvent
2021-02-09 14:26:34 -05:00
Andrew Steinborn
a6a9d1e0fb
Forward slashes are allowed in channel IDs
...
Fixes an issue where the Fabric registry sync packet would not be allowed by Velocity.
2021-02-09 14:25:12 -05:00
Camotoy
fb879cb498
Apply initial requested changes
2021-02-09 14:13:33 -05:00
Camotoy
d47b339908
Add PlayerPluginMessageRegisterEvent
2021-02-09 13:51:43 -05:00
Zach Levis
bac64ac958
build: Fix search when generating Javadoc with broken java versions
2020-12-19 14:49:53 -08:00
Andrew Steinborn
523b61e0c7
Make sure unit tests actually run(!) and fix command hints
2020-12-14 14:39:39 -05:00
Andrew Steinborn
8c52341ff6
Do not pull in transitive dependencies of adventure-text-serializer-legacy-text3
...
Fixes #401
2020-12-13 15:33:19 -05:00
Riley Park
5da085d82f
Adventure 4.3.0: Player list header/footer
2020-12-06 17:50:57 -08:00
Andrew Steinborn
511165415d
Switch to our internal Brigadier fork
2020-11-15 23:33:16 -05:00
Andrew Steinborn
89e1a07448
Try and explicitly specify Java 8 in the modules.
2020-11-06 18:52:00 -05:00
Andrew Steinborn
642573e9e0
Fix logic for telling the server snapshot versions.
2020-11-04 18:58:48 -05: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
cfb9104696
1.16.4-pre2 support
2020-10-22 12:42:35 -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
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
Andrew Steinborn
c0af5668b9
Merge pull request #338 from xxDark/read-timeout
...
Make initial read timeout configurable
2020-08-10 23:05:52 -04:00
Andrew Steinborn
ab10b6de1e
Cross our fingers and hope this is 1.16.2
2020-08-10 21:46:13 -04:00
Andrew Steinborn
1a31b99701
1.16.2-rc2
2020-08-10 12:53:23 -04:00
Andrew Steinborn
ba66d15b1d
1.16.2-rc1
2020-08-07 13:35:31 -04:00
Andrew Steinborn
b34b198064
1.16.2-pre3
2020-08-06 15:08:50 -04:00
Andrew Steinborn
d79c1d0407
Port of #325 for Velocity 1.1.0
...
Co-authored-by: Five (Xer) <admin@xernium.com>
2020-08-05 18:13:16 -04:00
xxDark
e94778c149
Resolve code style issue
2020-08-05 21:31:51 +03:00
Andrew Steinborn
3beaeb2df7
Merge pull request #341 from alexstaeding/feature/shutdown-api
...
Add shutdown methods to ProxyServer
2020-08-05 11:35:38 -04:00
Jacob Allen
76173e4145
Add PRE_SERVER_JOIN to DisconnectEvent#LoginStatus ( #346 )
2020-08-04 16:30:17 -04:00
Alexander Staeding
c963343e27
Add dataAsInputStream() to PluginMessageEvent
2020-08-03 00:52:54 +02:00
Alexander Staeding
190bef375a
Add shutdown methods to ProxyServer
2020-07-30 21:48:58 +02:00
xDark
b79f6ad827
Make initial read timeout configurable
2020-07-29 16:59:39 +03:00
Hugo Manrique
6cc6e0f641
New command API ( #330 )
2020-07-29 03:43:16 -04:00
Andrew Steinborn
3ac403539d
Bump dependencies:
...
Gson 2.8.5 -> 2.8.6
text 3.0.3 -> 3.0.4
log4j 2.11.2 -> 2.13.3
Netty 4.1.50.Final -> 4.1.51.Final
Configurate 3.6 -> 3.7
2020-07-21 21:00:38 -04:00
Andrew Steinborn
cb261c6513
Better handle not failing over on a read timeout
...
The existing Velocity logic was pretty optimistic, hoping the player connection would stay alive long enough to accept a connection to another server. Now, if we notice a read timeout on the server end, we'll treat the disconnect as "unsafe" and disconnect the player immediately.
I've added a configuration option to solve the issue in the way BungeeCord does it. This could cause issues with servers that extensively modify the server pipeline and could degrade the user experience, though. Let's try this more conservative and see if it helps,
2020-07-20 21:55:33 -04:00