Class PlayerLoginEvent

java.lang.Object
com.loohp.limbo.events.Event
com.loohp.limbo.events.player.PlayerLoginEvent
All Implemented Interfaces:
Cancellable

public class PlayerLoginEvent extends Event implements Cancellable
  • Constructor Details

    • PlayerLoginEvent

      public PlayerLoginEvent(ClientConnection connection, boolean cancelled, net.kyori.adventure.text.Component cancelReason)
  • Method Details

    • getConnection

      public ClientConnection getConnection()
    • getCancelReason

      public net.kyori.adventure.text.Component getCancelReason()
    • setCancelReason

      public void setCancelReason(net.kyori.adventure.text.Component cancelReason)
    • setCancelled

      public void setCancelled(boolean cancelled)
      Specified by:
      setCancelled in interface Cancellable
    • isCancelled

      public boolean isCancelled()
      Specified by:
      isCancelled in interface Cancellable