Function fetchServer

  • Parameters

    • name: string = "play.earthmc.net"

    Returns Promise<{
        isOnline: boolean;
        players: {
            max: number;
            online: number;
        };
    }>