import { Button } from "@/components/ui/button"; import { Table, TableBody, TableCaption, TableCell, TableHead, TableHeader, TableRow } from "@/components/ui/table"; import { Download } from "lucide-react"; import Link from "next/link"; import clientPromise from "@/lib/db"; interface Mods { _id: string; date: string; fileName: string; version: string; fileSize: string; downloadLink: string; } export const dynamic = "force-static"; const ModsPage: React.FC = async () => { let error: Error | null = null; let downloads: Mods[] = []; try { const client = await clientPromise; const db = client.db(process.env.MONGODB_DB); downloads = (await db .collection("mods") .find() .toArray()) as unknown as Mods[]; } catch (err) { error = err as Error; } return (

SVR.JS mods

Get all the latest version of SVR.JS mods here! Notes can be found at{" "} “SVR.JS mod notes” section in SVR.JS documentation . Other SVR.JS mods downloads can be found in{" "} SVR.JS downloads server .

{error &&

{error.message}

} A list of all available downloads. Date File Name Version File Size Download Link {downloads.map((download) => ( {download.date} {download.fileName} {download.version} {download.fileSize} ))}
); }; export default ModsPage;