Class LoginLimboRegisterEvent

java.lang.Object
net.elytrium.limboapi.api.event.LoginLimboRegisterEvent

public class LoginLimboRegisterEvent extends Object
This event is fired during login process before the player has been authenticated, e.g. to enable or disable custom authentication.
  • Constructor Details

    • LoginLimboRegisterEvent

      public LoginLimboRegisterEvent(com.velocitypowered.api.proxy.Player player)
  • Method Details

    • getPlayer

      public com.velocitypowered.api.proxy.Player getPlayer()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getOnJoinCallbacks

      public Queue<Runnable> getOnJoinCallbacks()
    • getOnKickCallback

      public Function<com.velocitypowered.api.event.player.KickedFromServerEvent,Boolean> getOnKickCallback()
    • addOnJoinCallback

      public void addOnJoinCallback(Runnable callback)
    • addCallback

      @Deprecated public void addCallback(Runnable callback)
      Deprecated.
    • setOnKickCallback

      public void setOnKickCallback(Function<com.velocitypowered.api.event.player.KickedFromServerEvent,Boolean> callback)