Interface ServerJoinListener

  • All Superinterfaces:
    GloballyAttachableListener
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface ServerJoinListener
    extends GloballyAttachableListener
    This listener listens to server joins. Do not confuse it with the ServerMemberJoinListener: ServerMemberJoinListener is for other users and ServerJoinListener is for yourself!
    • Method Detail

      • onServerJoin

        void onServerJoin​(ServerJoinEvent event)
        This method is called every time you join a server.
        Parameters:
        event - The event.