Class ServerPostConnectEvent


  • @Beta
    public class ServerPostConnectEvent
    extends java.lang.Object
    Fired after the player has connected to a server. The server the player is now connected to is available in Player.getCurrentServer().
    • Constructor Detail

      • ServerPostConnectEvent

        public ServerPostConnectEvent​(Player player,
                                      @Nullable RegisteredServer previousServer)
    • Method Detail

      • getPlayer

        public Player getPlayer()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object