Class UnauthenticatedInitialLimboEvent
java.lang.Object
pl.spcode.navauth.api.event.velocity.UnauthenticatedInitialLimboEvent
- All Implemented Interfaces:
NavAuthEvent
-
Constructor Summary
ConstructorsConstructorDescriptionUnauthenticatedInitialLimboEvent(com.velocitypowered.api.proxy.Player player, @Nullable com.velocitypowered.api.proxy.server.RegisteredServer initialLimbo) -
Method Summary
Modifier and TypeMethodDescriptionOptional<com.velocitypowered.api.proxy.server.RegisteredServer> com.velocitypowered.api.proxy.PlayervoidsetInitialLimbo(@Nullable com.velocitypowered.api.proxy.server.RegisteredServer server) Sets the new initial limbo.toString()
-
Constructor Details
-
UnauthenticatedInitialLimboEvent
public UnauthenticatedInitialLimboEvent(com.velocitypowered.api.proxy.Player player, @Nullable com.velocitypowered.api.proxy.server.RegisteredServer initialLimbo) - Parameters:
player- the player that was connectedinitialLimbo- the initial limbo server selected by NavAuth, may benull
-
-
Method Details
-
getPlayer
public com.velocitypowered.api.proxy.Player getPlayer() -
getInitialLimbo
-
setInitialLimbo
public void setInitialLimbo(@Nullable com.velocitypowered.api.proxy.server.RegisteredServer server) Sets the new initial limbo.- Parameters:
server- the initial limbo the player should connect to handle the authentication
-
toString
-