minecraft page

This commit is contained in:
Penelope Gwen 2025-03-07 16:45:55 -08:00
parent d03a4c2fbc
commit 0cae4229b8
5 changed files with 66 additions and 0 deletions

Binary file not shown.

Binary file not shown.

64
mc.html Normal file
View file

@ -0,0 +1,64 @@
<!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"><p>Enable javascript to view header</p></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">mc.pogmom.me</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"><p>Enable javascript to view footer</p></div>
<script src="/style/js/views.js"></script>
</body>
</html>

File diff suppressed because one or more lines are too long