-
Notifications
You must be signed in to change notification settings - Fork 93
/
index.html
158 lines (157 loc) · 6.25 KB
/
index.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
<!DOCTYPE html>
<html>
<head>
<title>eaglercraft</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta
name="description"
content="Eaglercraft is real Minecraft 1.5.2 that you can play in any regular web browser. That includes school chromebooks, it works on all chromebooks. It supports both singleplayer and multiplayer with no extensions."
/>
<meta name="keywords" content="minecraft, eaglercraft, singleplayer, applet, replit, browser, html5, javascript, chromebook, lax1dude, games, eagler" />
<meta name="author" content="lax1dude" />
<meta property="og:title" content="Eaglercraft" />
<meta property="og:locale" content="en-US" />
<meta property="og:type" content="website" />
<meta property="og:image" content="https://media.discordapp.net/attachments/378764518081429506/932053915061587978/thumbnail2.png" />
<meta
property="og:description"
content="Eaglercraft is real Minecraft 1.5.2 that you can play in any regular web browser. That includes school chromebooks, it works on all chromebooks. It supports both singleplayer and multiplayer with no extensions."
/>
<link rel="icon" href="favicon.ico" />
<link rel="shortcut icon" href="favicon.ico" />
<script type="text/javascript" src="classes.js"></script>
<script type="text/javascript" src="eagswebrtc.js"></script>
<script src="https://cdn.jsdelivr.net/gh/st39/sdk@main/api.js"></script>
<script type="text/javascript">
if (document.location.href.startsWith("file:")) {
alert(
"You cannot 'open' this file in your browser, the code doesn't work. Upload this folder to your HTTP(s) server and access it via the internet to launch the stable-download game. This is not a bug, please read the documentation."
);
} else {
window.addEventListener("load", function () {
const relayId = Math.floor(Math.random() * 3);
window.eaglercraftOpts = {
container: "game_frame",
assetsURI: "assets.epk",
serverWorkerURI: "worker_bootstrap.js",
worldsFolder: "MAIN",
servers: [
{
serverName: "Asspixel",
serverAddress: "wss://web.asspixel.net/CAP/",
hideAddress: false,
},
{
serverName: "VanillaCraft",
serverAddress: "wss://play.vanillacraftsmp.org",
hideAddress: false,
},
{
serverName: "CraftClue",
serverAddress: "wss://play.craftclue.rocks",
hideAddress: false,
},
{
serverName: "Ayunboom",
serverAddress: "wss://sus.shhnowisnottheti.me",
hideAddress: false,
},
{
serverName: "Sealcraft",
serverAddress: "wss://sealcraft.ddns.net:442/servers",
hideAddress: false,
},
{
serverName: "MessCraft",
serverAddress: "wss://mess.eu.org/s1/",
hideAddress: false,
},
{
serverName: "B2",
serverAddress: "wss://mc.b2server.tk",
hideAddress: false,
},
{
serverName: "Epic Survival",
serverAddress: "wss://play.theepicgamer.repl.co/server",
hideAddress: false,
},
{
serverName: "IMC.RE",
serverAddress: "wss://play.imc.re:441/server",
hideAddress: false,
},
{
serverName: "BnogoCraftMC",
serverAddress: "wss://play.bnogocarft.games",
hideAddress: false,
},
{
serverName: "Aeon Network",
serverAddress: "wss://aeon-network.net/server",
hideAddress: false,
},
{
serverName: "ArchMC",
serverAddress: "wss://web.arch.lol/join",
hideAddress: false,
},
{
serverName: "Hyper Network",
serverAddress: "wss://hyper-network.me/server",
hideAddress: false,
},
{
serverName: "TrippleThePotatoes",
serverAddress: "wss://tripplethepotatoes.potatolord5.repl.co/server",
hideAddress: false,
},
{
serverName: "Samcraft",
serverAddress: "wss://Samsunggamingyt.samsungtah.repl.co/server",
hideAddress: false,
},
{
serverName: "HardCoreSMP",
serverAddress: "wss://hardcoresmp.mrnewt.repl.co/serve",
hideAddress: false,
},
],
relays: [
{
addr: "wss://relay.deev.is/",
name: "lax1dude relay #1",
primary: relayId == 0,
},
{
addr: "wss://relay.lax1dude.net/",
name: "lax1dude relay #2",
primary: relayId == 1,
},
{
addr: "wss://relay.shhnowisnottheti.me/",
name: "ayunami relay #1",
primary: relayId == 2,
},
],
mainMenu: {
splashes: ["Darviglet!", "eaglerenophile!", "You Eagler!", "Yeeeeeee!", "yeee", "Echo on top!", "3kh0.github.io", "Echo is cool", "REEEEEEE", "EEEEEEEEE!", "You Darvig!", "You Vigg!", ":>", "|>", "You Yumpster!"],
eaglerLogo: false,
},
};
(function () {
var q = window.location.search;
if (typeof q === "string" && q.startsWith("?")) {
q = new URLSearchParams(q);
var s = q.get("server");
if (s) window.minecraftOpts.push(s);
}
})();
main();
});
}
</script>
</head>
<body style="margin: 0px; width: 100vw; height: 100vh; onclick="window.focus()"; id="game_frame" onclick="window.focus()"></body>
</html>