What's the Port?
Come join us on our Minecraft Server!
IP: mc.catshem.com:25563
Currently running Pixelmon 1.16.5
We also have a Project Ozone 3 server, the most recent version 3. 4.11F
IP: mc.catshem.com
TODO: Create uptime display COMPLETED 11/16/23
Created with the Help of Dalle3, the custom GPT "Grimoire", and inspiration from the Code Pen project below.
TODO: Add a prison server
TODO: Add a hub world
TODO: hook up servers to spigot's bungee cord.
TODO: Luck perms plugin
Old server cards, non embed
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Minecraft Server Info</title>
<style>
body, html {
min-height: 100%;
font-family: 'Roboto Mono', monospace;
font-size: 15px;
display: flex;
align-items: center;
justify-content: center;
}
.card-container {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 20px;
}
.card {
position: relative;
margin: 0 auto;
padding: 0;
height: 325px;
width: 300px;
background: #ffffff;
border-radius: 5px;
box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.3);
overflow: hidden;
z-index: 999;
}
.header {
position: relative;
z-index: 1;
width: 100%;
height: 180px;
box-shadow: 0 4px 3px #0002;
flex-shrink: 0;
overflow: hidden;
}
.card img {
width: 100%;
transition: all 1s ease;
z-index: 0;
}
.image {
width: 100%;
height: 180px;
cursor: crosshair;
overflow: hidden;
}
.image:hover img {
-webkit-transform: scale(1.2, 1.2);
transform: scale(1.2, 1.2);
}
.header h2 {
position: absolute;
font-size: 16px;
bottom: 0;
margin: 0;
width: 100%;
padding: 0 10px;
color: #fff;
text-transform: uppercase;
pointer-events: none;
background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 100%);
}
.icon {
position: absolute;
background: #fff;
right: 10px;
top: 135px;
width: 80px;
height: 80px;
border-radius: 50%;
overflow: hidden;
border: 3px solid #fff;
box-shadow: 0 4px 3px #0002;
z-index: 9;
}
#rest {
padding: 30px 15px;
line-height: 30px;
color: #000d42;
}
/* Responsive Design: Mobile Devices */
@media only screen and (max-width: 768px) {
.card {
height: auto; /* Allow cards to grow in height on smaller screens */
width: 90%;
margin: 10px auto;
}
}
/* Responsive Design: Tablet Devices */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
.card {
width: 45%;
}
}
/* Responsive Design: Larger Desktops */
@media only screen and (min-width: 1440px) {
.card {
width: 25%;
}
}
</style>
</head>
<body>
<div class="card-container">
<!-- Pixelmon Server Card -->
<div class="card">
<div class="icon">
<img src="https://storage.googleapis.com/catshem-server/server-cards/pixelmon-server-card.png" id="favicon-pixelmon">
</div>
<div class="header">
<div class="image">
<img src="https://storage.googleapis.com/catshem-server/server-cards/pixelmon-server-card.png" alt="Pixelmon Server">
</div>
<h2>mc.catshem.com:25563</h2>
</div>
<div id="rest-pixelmon">Loading ...</div>
</div>
<!-- Project Ozone Server Card -->
<div class="card">
<div class="icon">
<img src="https://storage.googleapis.com/catshem-server/server-cards/po3-server-card.png" id="favicon-skyblock">
</div>
<div class="header">
<div class="image">
<img src="https://storage.googleapis.com/catshem-server/server-cards/po3-server-card.png" alt="Project Ozone 3 Skyblock Server">
</div>
<h2>mc.catshem.com</h2>
</div>
<div id="rest-skyblock">Loading ...</div>
</div>
<!-- Snapshot Server Card -->
<div class="card">
<div class="icon">
<img src="https://storage.googleapis.com/catshem-server/server-cards/snapshot-server-card.png" id="favicon-snapshot">
</div>
<div class="header">
<div class="image">
<img src="https://storage.googleapis.com/catshem-server/server-cards/snapshot-server-card.png" alt="Snapshot Server">
</div>
<h2>mc.catshem.com:25564</h2>
</div>
<div id="rest-snapshot">Loading ...</div>
</div>
<!-- Adventure 1.8.9 Beta Server Card -->
<div class="card">
<div class="icon">
<img src="https://storage.googleapis.com/catshem-server/server-cards/adventure_1_8_9_beta-server-card.png" id="favicon-adventure">
</div>
<div class="header">
<div class="image">
<img src="https://storage.googleapis.com/catshem-server/server-cards/adventure_1_8_9_beta-server-card.png" alt="Adventure 1.8.9 Beta Server">
</div>
<h2>mc.catshem.com:25560</h2>
</div>
<div id="rest-adventure">Loading ...</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script>
$(document).ready(function() {
loadServerInfo('https://api.minetools.eu/ping/mc.catshem.com/25563', '#rest-pixelmon', '#favicon-pixelmon'); // Pixelmon
loadServerInfo('https://api.minetools.eu/ping/mc.catshem.com', '#rest-skyblock', '#favicon-skyblock'); // Project Ozone
loadServerInfo('https://api.minetools.eu/ping/mc.catshem.com/25564', '#rest-snapshot', '#favicon-snapshot'); // Snapshot
loadServerInfo('https://api.minetools.eu/ping/mc.catshem.com/25560', '#rest-adventure', '#favicon-adventure'); // Adventure 1.8.9 Beta
});
function loadServerInfo(url, restSelector, faviconSelector) {
$.getJSON(url, function(r) {
if (r.error) {
$(restSelector).html('Server Offline');
return;
}
var pl = '';
if (r.players.sample.length > 0) {
pl = '<br>OP: ' + r.players.sample[0].name;
}
$(restSelector).html(r.description.replace(/§(.+?)/gi, '') + '<br><b>Players Online:</b> ' + r.players.online + pl);
$(faviconSelector).attr('src', r.favicon);
});
}
</script>
</body>
</html>