release: Version 4.0.3
This commit is contained in:
parent
5c89804190
commit
9eed19a390
@ -6,7 +6,7 @@
|
|||||||
This plugin adds the support for [Velocity](https://velocitypowered.com/) to [AuthMeReloaded](https://github.com/AuthMe/AuthMeReloaded)
|
This plugin adds the support for [Velocity](https://velocitypowered.com/) to [AuthMeReloaded](https://github.com/AuthMe/AuthMeReloaded)
|
||||||
|
|
||||||
## Requirements
|
## 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+
|
- Velocity 3.2.0+
|
||||||
- Java 17+
|
- Java 17+
|
||||||
|
|
||||||
@ -21,7 +21,7 @@ This plugin adds the support for [Velocity](https://velocitypowered.com/) to [Au
|
|||||||
## Setup
|
## Setup
|
||||||
1. Download the latest release of the plugin [link](https://modrinth.com/plugin/authmevelocity)
|
1. Download the latest release of the plugin [link](https://modrinth.com/plugin/authmevelocity)
|
||||||
2. Install AuthMeVelocity-Proxy on your Velocity Proxy
|
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.
|
4. Start the Velocity proxy and set up the config.conf with the auth servers.
|
||||||
|
|
||||||
## Plugin API
|
## Plugin API
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
group = io.github.4drian3d
|
group = io.github.4drian3d
|
||||||
version = 4.0.3-SNAPSHOT
|
version = 4.0.3
|
||||||
description = AuthMeReloaded Support for Velocity
|
description = AuthMeReloaded Support for Velocity
|
||||||
url = https://modrinth.com/plugin/authmevelocity
|
url = https://modrinth.com/plugin/authmevelocity
|
||||||
id = authmevelocity
|
id = authmevelocity
|
||||||
|
@ -157,6 +157,7 @@ public final class AuthMeVelocityPlugin implements AuthMeVelocityAPI {
|
|||||||
}
|
}
|
||||||
|
|
||||||
final boolean vpacketevents = pluginManager.isLoaded("vpacketevents");
|
final boolean vpacketevents = pluginManager.isLoaded("vpacketevents");
|
||||||
|
metrics.addCustomChart(new SimplePie("vpacketevents_listener", () -> Boolean.toString(vpacketevents)));
|
||||||
if (vpacketevents) {
|
if (vpacketevents) {
|
||||||
injector.getInstance(CompletionPacketListener.class).register();
|
injector.getInstance(CompletionPacketListener.class).register();
|
||||||
}
|
}
|
||||||
|
@ -141,7 +141,7 @@ public final class PluginMessageListener implements Listener<PluginMessageEvent>
|
|||||||
}
|
}
|
||||||
player.createConnectionRequest(event.getResult().getServer())
|
player.createConnectionRequest(event.getResult().getServer())
|
||||||
.connect()
|
.connect()
|
||||||
.thenAcceptAsync(result -> {
|
.thenAccept(result -> {
|
||||||
if (!result.isSuccessful()) {
|
if (!result.isSuccessful()) {
|
||||||
logger.info("Unable to connect the player {} to the server {}",
|
logger.info("Unable to connect the player {} to the server {}",
|
||||||
player.getUsername(),
|
player.getUsername(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user