release: Version 4.0.3

This commit is contained in:
Adrian 2023-06-27 22:21:10 -05:00
parent 5c89804190
commit 9eed19a390
No known key found for this signature in database
GPG Key ID: FB8EF84DCE1BE452
4 changed files with 5 additions and 4 deletions

View File

@ -6,7 +6,7 @@
This plugin adds the support for [Velocity](https://velocitypowered.com/) to [AuthMeReloaded](https://github.com/AuthMe/AuthMeReloaded)
## Requirements
- Spigot, Paper, Pufferfish or Purpur 1.8-1.19.2 && 1.19.4+
- Paper, Pufferfish or Purpur 1.8-1.19.2 && 1.19.4+
- Velocity 3.2.0+
- Java 17+
@ -21,7 +21,7 @@ This plugin adds the support for [Velocity](https://velocitypowered.com/) to [Au
## Setup
1. Download the latest release of the plugin [link](https://modrinth.com/plugin/authmevelocity)
2. Install AuthMeVelocity-Proxy on your Velocity Proxy
3. Install AuthMeVelocity-Paper on your Spigot/Paper servers that have AuthMeReloaded installed
3. Install AuthMeVelocity-Paper on your Paper servers that have AuthMeReloaded installed
4. Start the Velocity proxy and set up the config.conf with the auth servers.
## Plugin API

View File

@ -1,5 +1,5 @@
group = io.github.4drian3d
version = 4.0.3-SNAPSHOT
version = 4.0.3
description = AuthMeReloaded Support for Velocity
url = https://modrinth.com/plugin/authmevelocity
id = authmevelocity

View File

@ -157,6 +157,7 @@ public final class AuthMeVelocityPlugin implements AuthMeVelocityAPI {
}
final boolean vpacketevents = pluginManager.isLoaded("vpacketevents");
metrics.addCustomChart(new SimplePie("vpacketevents_listener", () -> Boolean.toString(vpacketevents)));
if (vpacketevents) {
injector.getInstance(CompletionPacketListener.class).register();
}

View File

@ -141,7 +141,7 @@ public final class PluginMessageListener implements Listener<PluginMessageEvent>
}
player.createConnectionRequest(event.getResult().getServer())
.connect()
.thenAcceptAsync(result -> {
.thenAccept(result -> {
if (!result.isSuccessful()) {
logger.info("Unable to connect the player {} to the server {}",
player.getUsername(),