local fes = require("fes") local std = fes.std local u = fes.util local site = fes.fes() site.title = "Modpacks" site.favicon = "/static/favicon.ico" site:note(std.a("/archive/active/" .. (u.ls("archive/active")[1] or "unknown"), std.h3("Download latest?"))) site:note(u.cc { std.h2("Server status"), std.p(std.strong("IP: ") .. "vxserver.dev"), std.p(u.run("/home/minecraft/mc-tool/mc-tool status $(cat .active)")), std.p(u.run("echo test")) }) site:note(u.cc { std.h2("NeoForge Information"), std.p("The following are instructions for NeoForge packs."), std.ul { std.external("https://atlauncher.com/downloads", "Download the launcher") }, std.p(std.strong("Note: ") .. "You need to login to your account."), std.img("/static/import.png", "go to the instance tab, then import the modpack."), }) site:note(u.cc { std.h3("Modpacks"), std.a("/archive", "Modpack archive"), }) return site