540 Commits

Author SHA1 Message Date
5285a3c155 Remove AdventureCompact in favor of the text 3.x serializer added in KyoriPowered/adventure-platform#23 2020-06-29 23:34:59 -04:00
1938013ab2 Make DisconnectEvent more sane
This is a step towards fixing #289 and removing some less-than-optimal behavior in plugins I maintain internally.
2020-06-29 11:17:08 -04:00
5b9dbb74c9 Fix up some annotations 2020-06-29 10:42:01 -04:00
22afd1cf41 Since we're deprecating stuff, mark toml4j as deprecated 2020-06-28 23:25:09 -04:00
70698246bf Get everything compiling and Checkstyle clean 2020-06-28 23:20:46 -04:00
5c02d6b007 RegisteredServer and ProxyServer now implement MultiAudience 2020-06-28 22:01:45 -04:00
8ef2835a47 Fix API breaking change, deprecate ProxyAudience 2020-06-28 21:44:44 -04:00
70a989e955 Minor cleanup and add some missing Deprecated tags 2020-06-28 21:29:25 -04:00
2e7a598916 Initial commit of adventure-adapted Velocity API. 2020-06-28 21:23:01 -04:00
7e1f01f13a Bump Guice version to support Java 14 plugins 2020-06-26 23:44:08 -04:00
2f11c22003 Add Minecraft 1.16.1 compatibility 2020-06-24 10:07:24 -04:00
780e1c8be5 Handle duplicates from server pings gracefully 2020-06-23 23:03:19 -04:00
6ec2ad3c7a Anticipatory bump to final Minecraft 1.16 version 2020-06-22 20:25:38 -04:00
ada35ff286 Merge branch 'Xernium-future/1.16' into future/1.16-velocity-1.1.0
# Conflicts:
#	.travis.yml
#	api/src/main/java/com/velocitypowered/api/network/ProtocolVersion.java
#	build.gradle
#	proxy/build.gradle
#	proxy/src/main/java/com/velocitypowered/proxy/VelocityServer.java
#	proxy/src/main/java/com/velocitypowered/proxy/connection/backend/VelocityServerConnection.java
#	proxy/src/main/java/com/velocitypowered/proxy/connection/client/ClientPlaySessionHandler.java
#	proxy/src/main/java/com/velocitypowered/proxy/connection/client/ConnectedPlayer.java
#	proxy/src/main/java/com/velocitypowered/proxy/network/netty/DiscardHandler.java
#	proxy/src/main/java/com/velocitypowered/proxy/protocol/ProtocolUtils.java
#	proxy/src/main/java/com/velocitypowered/proxy/protocol/StateRegistry.java
#	proxy/src/main/java/com/velocitypowered/proxy/protocol/netty/MinecraftCompressDecoder.java
#	proxy/src/main/java/com/velocitypowered/proxy/protocol/netty/MinecraftDecoder.java
#	proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/JoinGame.java
#	proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/Respawn.java
#	proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/ServerLoginSuccess.java
#	proxy/src/test/java/com/velocitypowered/proxy/plugin/util/PluginDependencyUtilsTest.java
2020-06-20 23:24:32 -04:00
83ba7d6051 Changes 1.16-rc1 2020-06-18 18:24:39 +02:00
ee64b97b8e Changes 1.16-pre7 2020-06-16 18:39:51 +02:00
a1ab29186b Changes 1.16-pre6 2020-06-16 17:56:56 +02:00
6577b08bdd Changes 1.16-pre5 2020-06-13 11:26:51 +02:00
78b442a852 Changes 1.16-pre4 and Logic fixes 2020-06-11 23:39:16 +02:00
101a6a58dd Changes 1.16-pre3 2020-06-10 21:00:18 +02:00
368d50b455 Rework Dimension Registry 2020-06-05 15:22:55 +02:00
009f207883 More progress 2020-06-04 21:21:54 +02:00
b028d9ca8f Use standard Guava annotation 2020-05-28 10:44:42 -04:00
cb99b184ed Allow plugins to mutate available commands sent to the client.
This is the first unstable API being introduced and is primarily to get feedback on the system.
2020-05-28 07:14:49 -04:00
305949487e Add @UnstableApi annotation. Resolves #313 2020-05-28 07:05:19 -04:00
d37b6a361c Snapshot 20w21a 2020-05-23 00:18:36 +02:00
21f03d5d50 Add prevent-proxy-connections option to make sending client IP to Mojang toggleable 2020-05-08 21:16:12 +03:00
4b4ed02e8d fix build 2020-04-30 01:00:12 +03:00
d096eb3429 update class javadoc 2020-04-29 22:15:33 +03:00
9d6689f64a forgot annotation 2020-04-27 13:12:03 +03:00
26bf94f08f fix typos, update javadocs 2020-04-27 13:09:04 +03:00
c0b8e9d646 add async methods, also add separate methods which will call event and which will not call event 2020-04-27 01:05:57 +03:00
6555e0e337 Add CommandExecuteEvent 2020-04-27 00:04:12 +03:00
957c0dd307 Implement brigadier:long argument type, fixes #295 2020-04-23 16:21:22 -04:00
88641662d8 Implement brigadier:long argument type, fixes #295 2020-04-23 16:19:49 -04:00
24c9fc0ef1 Relax GameProfileRequestEvent#setGameProfile to allow faking even in online-mode 2020-04-19 09:20:03 -04:00
a5350c6822 Deal with potentially nullable player sample entries 2020-02-13 13:32:47 -05:00
7d1770d37e Deal with potentially nullable player sample entries 2020-02-13 13:32:22 -05:00
a1577dd8a5 Minecraft 1.15.2 2020-01-21 13:28:37 -05:00
6e41ce7f15 Minecraft 1.15.2 2020-01-21 13:28:27 -05:00
fb0446f4fc Add DisconnectEvent#disconnectedDuringLogin() 2019-12-24 23:56:39 -05:00
1e50615993 Minecraft 1.15.1 2019-12-17 13:58:44 -05:00
4c09024952 Minecraft 1.15.1 2019-12-17 13:57:23 -05:00
b56302b17e Minecraft 1.15 (backport from 1.1.0) 2019-12-10 12:22:24 -05:00
07c2024307 Minecraft 1.15 2019-12-10 11:47:10 -05:00
b5aeeab2a8 Minecraft 1.15-pre7 2019-12-09 18:00:08 -05:00
0b6fc06e67 Initial 1.15-pre2 support 2019-11-26 15:10:22 -05:00
d2b8271eb4 Allow running Velocity without any servers.
This is a niche setup, however if your network is 100% dynamically configured, this is a handy feature to have available.

To support this functionality, a new PlayerChooseInitialServerEvent event was added to allow the initial server to connect to be changed as desired.
2019-11-16 23:17:09 -05:00
09d33de03e Merge pull request #256 from Gabik21/previous-server-in-event
Add previous server to ServerConnectedEvent
2019-10-31 19:51:32 -04:00
bc8756f715 Readd old constructor 2019-10-31 19:31:47 +01:00