Files
mc.vxserver.dev/www/index.lua
vxclutch 4a868dddf3
All checks were successful
Deply fsdproject.org / Deploy-Site (push) Successful in 0s
update ip
2026-06-24 20:57:52 -04:00

35 lines
982 B
Lua

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.copyright = u.copyright("https://fsdproject.org/people/vxclutch", "vxclutch")
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: ") .. "mc.vxserver.dev"),
std.p(u.run("/home/minecraft/mc-tool/mc-tool status $(cat /home/minecraft/active)")),
})
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