Interface EventHandler


  • public interface EventHandler
    • Method Detail

      • handleMessage

        void handleMessage​(AdaptedPlayer reciever,
                           byte[] data)
      • onPlayerJoinServer

        void onPlayerJoinServer​(AdaptedPlayer player)
        Called when a player joins a server or switches between servers
        Parameters:
        player - the player
      • onServerKick

        void onServerKick​(AdaptedPlayer player,
                          AdaptedServer from,
                          net.kyori.adventure.text.Component reason,
                          boolean moving)