Skip to content

Commit

Permalink
release: Version 4.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
4drian3d committed Jun 28, 2023
1 parent 5c89804 commit 9eed19a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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+

Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ public void onProxyInitialization(ProxyInitializeEvent event) {
}

final boolean vpacketevents = pluginManager.isLoaded("vpacketevents");
metrics.addCustomChart(new SimplePie("vpacketevents_listener", () -> Boolean.toString(vpacketevents)));
if (vpacketevents) {
injector.getInstance(CompletionPacketListener.class).register();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ private void createServerConnectionRequest(final Player player, final ServerConn
}
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(),
Expand Down

0 comments on commit 9eed19a

Please sign in to comment.