2022-01-18 23:48:00 -08:00
<!DOCTYPE html>
2020-09-01 17:52:13 -07:00
< html >
< head >
< title > eagler< / title >
2022-07-21 15:46:43 -07:00
< meta charset = "UTF-8" / >
2022-07-16 22:02:55 -07:00
< script type = "text/javascript" src = "eagswebrtc.js" > < / script >
2022-07-18 08:07:59 -07:00
< script type = "text/javascript" src = "classes.js" > < / script >
2020-09-01 17:52:13 -07:00
< script type = "text/javascript" >
2022-04-09 23:06:43 -07:00
if(document.location.href.startsWith("file:")) {
alert("You're not supposed to 'open' this file in your browser. Please upload this folder to your HTTP(s) server and access it via the internet. This is not a bug, please read the documentation");
}else {
2022-03-31 20:03:46 -07:00
window.addEventListener("load", function(){
2022-07-31 02:03:22 -07:00
window.eaglercraftOpts = {
container: "game_frame", assetsURI: "assets.epk", serverWorkerURI: "worker_bootstrap.js", worldsFolder: "TEST",
servers: [ { serverName: "Local Test Server", serverAddress: "localhost:25565", hideAddress: false } ],
mainMenu: { splashes: [
"Darviglet!", "eaglerenophile!", "You Eagler!", "Yeeeeeee!", "yeee",
"EEEEEEEEE!", "You Darvig!", "You Vigg!", ":>", "|>", "You Yumpster!"
]}};
2022-03-31 20:03:46 -07:00
(function(){
var q = window.location.search;
if(typeof q === 'string' & & q.startsWith("?")) {
q = new URLSearchParams(q);
var s = q.get("server");
2022-07-31 02:03:22 -07:00
if(s) window.eaglercraftOpts.joinServer = s;
2022-03-31 20:03:46 -07:00
}
})();
main();
2022-04-09 23:06:43 -07:00
});}
2020-09-01 17:52:13 -07:00
< / script >
< / head >
< body style = "margin:0px;width:100vw;height:100vh;" id = "game_frame" >
< / body >
2022-07-18 08:07:59 -07:00
< / html >