pogmom-suite/mc/index.html
Penelope Gwen d9e5c75a97 ssi setup
2025-03-31 15:07:37 -07:00

67 lines
2.1 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Pogmom Suite | Minecraft</title>
<link id="pagestyle" rel="stylesheet" href="/style/css/style.css">
<script src="/style/js/jquery.min-3.7.1.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
</head>
<body>
</noscript>
<script>
//based on a pen by @robinselmer
var survivalUrl = "https://api.minetools.eu/ping/mc.pogmom.me";
$.getJSON(survivalUrl, function(r) {
//data is the JSON string
if(r.error){
$('#rest').html('Server Offline');
return false;
}
var pl = '';
if(r.players.sample.length > 0 ) {
pl = '<br>⛏ '+r.players.sample[0].name;
}
$('#rests').html(r.description.replace(/\n/gi, "<br>").replace(/§(.+?)/gi, "")+"<br><b>Players Online:</b> "+r.players.online+"/"+r.players.max+pl);
});
</script>
<h1>Pogmom Suite</h1>
<h2>An Archival & Decentralization Project</h2>
<div id="header">
<!--#include file="/assets/views/header.html" -->
</div>
<hr>
<div class="textsection pinkborder">
<h2 class="groupheader">mc.pogmom.me</h2>
<div class="groupcontent">
<p id="rests">Loading</p>
<p>For the best experience, use the modpack linked below for your launcher of choice.</p>
<a class="button pinkborder" href="/assets/cdn/minecraft/prismlauncher/prismlauncher_1.21.4.zip">
<p>Prismlauncher Modpack</p>
</a>
<a class="button pinkborder" href="/assets/cdn/minecraft/curseforge/curseforge_1.21.4.zip">
<p>Curseforge Modpack</p>
</a>
<a class="button pinkborder" href="/assets/cdn/minecraft/modrinth/modrinth_1.21.4.mrpack">
<p>Modrinth Modpack</p>
</a>
</div>
</div>
<div class="textsection pinkborder">
<h2 class="groupheader">Interactive Map</h2>
<div class="groupcontent">
<div class="mcmap pinkborder"> <iframe src="https://mc-map.pogmom.me/"></iframe></div>
<a class="button pinkborder" href="https://mc-map.pogmom.me">
<p>Open Full Map</p>
</a>
</div>
</div>
<hr>
<div id="footer">
<!--#include file="/assets/views/footer.html" -->
</div>
</body>
</html>