59 lines
3.1 KiB
HTML
Vendored
59 lines
3.1 KiB
HTML
Vendored
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>eagler</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" />
|
|
<!-- Change this: <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." />
|
|
<!-- Change this: <meta property="og:url" content="https://g.eags.us/eaglercraft/" /> -->
|
|
<script type="text/javascript" src="classes.js"></script>
|
|
<script type="text/javascript" src="eagswebrtc.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",
|
|
assetOverrides: {
|
|
"records/mellohi.mp3": "https://stream.nightride.fm/chillsynth.m4a",
|
|
"records/far.mp3": "https://stream.nightride.fm/nightride.m4a",
|
|
"records/cat.mp3": "https://usa9.fastcast4u.com/proxy/jamz?mp=/1",
|
|
"records/blocks.mp3": "https://www.ophanim.net:8444/s/9780",
|
|
"records/13.mp3": "https://s2.radio.co/s2b2b68744/listen"
|
|
},
|
|
servers: [
|
|
{ serverName: "placeholder", serverAddress: "address here", 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",
|
|
"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;" id="game_frame">
|
|
</body>
|
|
</html> |