Skip to content

Instantly share code, notes, and snippets.

View bradybellini's full-sized avatar
🌈

Brady bradybellini

🌈
View GitHub Profile
@bradybellini
bradybellini / status.html
Last active February 9, 2020 00:06 — forked from cfstras/status.html
Simple Minecraft Server status box using http://api.syfaro.net/
<script src="//code.jquery.com/jquery-1.10.2.min.js"></script>
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
<script>
var rq = '//mcapi.us/server/status?ip=';
var error = 'unknown';
var classes = {
error: "fa-question",
false: "fa-times",
true: "fa-check",
};