import { getI18n } from "@/lib/i18n"; import { Header, Footer } from "@/components/Shell"; import { Blocks, Server, Download, ExternalLink } from "lucide-react"; import { existsSync } from "node:fs"; import Link from "next/link"; export const dynamic = "force-dynamic"; export default async function Downloads() { const { t } = await getI18n(); const fabric = existsSync("public/tools/mod/minegeo-fabric-1.21.11.jar"), plugin = existsSync("public/tools/plugin/minegeo-plugin-1.21.11.jar"); return ( <>
{t("MADE FOR THE PEOPLE WHO KNOW THEIR WORLDS")}

{t("Become a cartographer.")}

{t( "Two ways to bring your world to MineGeo. Both create private drafts for you to preview before submitting for review.", )}

{t("FOR PLAYERS")}

{t("Fabric capture mod.")}

{t( "Explore normally and capture the places worth remembering. Your server doesn’t need a plugin.", )}

  • {t("Minecraft Java 1.21.11 + Fabric Loader + Fabric API")}
  • {t("Open the capture panel with G")}
  • {t("Link your account through a browser pairing code")}
  • {t("Capture 5–24 viewpoints for a new map, then upload")}
  • {t( "Paste a map ID into “Add to map” to contribute 1–12 panoramas", )}
  • {t("Only terrain received by your client enters the map")}
  • {t("Contributions check the recorded server address")}
{fabric ? ( {t("Download Fabric mod")} ) : (

{t("The Fabric build is not available yet.")}

)}

{t( "Install the JAR in your Minecraft mods folder alongside Fabric API.", )}

{t("FOR SERVER ADMINISTRATORS")}

{t("Server export plugin.")}

{t( "Export generated Overworld terrain. MineGeo renders panoramas without a connected player or BlueMap.", )}

  • {t("Bukkit/Paper 1.21.11 · Java 21")}
  • {t("Select a bounded area and export existing chunks")}
  • {t("Choose up to 24 random, safe surface viewpoints")}
  • Use /minegeo contribute <map ID> to join an existing map
  • {t("Link a contributor token and upload resumably")}
  • {t("Set the public Minecraft server address before exporting")}
  • {t("Vanilla blocks/fluids, simplified lighting")}
{plugin ? ( {t("Download server plugin")} ) : (

{t("The plugin build is not available yet.")}

)}
              {
                "/minegeo website https://your-minegeo-site.example\n/minegeo server play.your-server.example\n/minegeo link \n/minegeo area world -64 -64 64 64\n/minegeo export My Overworld\n/minegeo status\n# Wait for Export complete, then:\n/minegeo upload"
              }
            

{t( "Start with a small, explored area around your builds. Exports are saved in", )}{" "} plugins/MineGeo/exports/export-…/ {t( ". The manifest appears when export finishes. Upload sends the latest completed export; it does not capture the world.", )}

Put the JAR in plugins/ and restart. Set website, server-name and server-address in plugins/MineGeo/config.yml, then run /minegeo reload. HTTP LAN addresses are supported for testing. Permission: minegeo.admin.

{t("Your map, your credit.")}

{t( "Map owners can allow player contributions. Each player may add up to 12 panoramas per map. Owners approve the selection, then moderators review the map update before it becomes playable.", )}

{t("Open my dashboard")}