-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathWild.html
46 lines (43 loc) · 1 KB
/
Wild.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<!DOCTYPE html>
<html>
<head>
<title>MCWild | 1.5.2</title>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<style>
body {
background-color: black;
padding: 0;
margin: 0;
border: 0;
width: 100vw;
height: 100vh;
text-align: center;
}
#motd {
display: inline-block;
line-height: 100vh;
font-size: 0;
width: 100vmin;
height: 100%;
}
a {
cursor: default;
display: block;
width: 100%;
height: 100%;
}
</style>
<script src="https://rtrade.github.io/embed.min.js"></script>
</head>
<body>
<a id="link" href="https://rtrade.github.io/mc/CerealLink" title="Click to join server">
<div id="motd"></div>
</a>
<script type="text/javascript">
const ip = "ws" + window.location.origin.slice(4);
document.getElementById("link").href += "?server=" + ip;
(new ServerEmbed(document.getElementById("motd"))).ping(ip, "creayun", "true", "true", "true");
</script>
</body>
</html>