diff --git a/api/velocity/src/main/java/me/adrianed/authmevelocity/api/velocity/event/PreSendOnLoginEvent.java b/api/velocity/src/main/java/me/adrianed/authmevelocity/api/velocity/event/PreSendOnLoginEvent.java index 7c0c0b7..d7f64a2 100644 --- a/api/velocity/src/main/java/me/adrianed/authmevelocity/api/velocity/event/PreSendOnLoginEvent.java +++ b/api/velocity/src/main/java/me/adrianed/authmevelocity/api/velocity/event/PreSendOnLoginEvent.java @@ -3,6 +3,7 @@ package me.adrianed.authmevelocity.api.velocity.event; import java.util.Objects; import com.velocitypowered.api.event.ResultedEvent; +import com.velocitypowered.api.event.annotation.AwaitingEvent; import com.velocitypowered.api.proxy.Player; import com.velocitypowered.api.proxy.server.RegisteredServer; @@ -10,8 +11,12 @@ import org.jetbrains.annotations.NotNull; /** * Event to be executed just before sending a player to another server after login/registration. - * Here you have the ability to deny the event. + * + *
AuthMeVelocity will wait for the execution of this event to perform the given action, + * which means that you can modify the server to which the player will connect + * or if the player should not be sent to any server after being logged in
*/ +@AwaitingEvent public final class PreSendOnLoginEvent implements ResultedEvent