60 lines
		
	
	
		
			2.5 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			60 lines
		
	
	
		
			2.5 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <!DOCTYPE html>
 | |
| <html style="width:100%;height:100%;background-color:black;">
 | |
| 	<head>
 | |
| 		<meta charset="UTF-8" />
 | |
| 		<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0" />
 | |
| 		<meta name="description" content="Play minecraft 1.12 in your browser" />
 | |
| 		<meta name="keywords" content="eaglercraft, minecraft, 1.12, 1.12.2" />
 | |
| 		<title>EaglercraftX 1.12 WASM-GC</title>
 | |
| 		<meta property="og:locale" content="en-US" />
 | |
| 		<meta property="og:type" content="website" />
 | |
| 		<meta property="og:title" content="Eaglercraft 1.12 WASM" />
 | |
| 		<meta property="og:description" content="Play minecraft 1.12 in your browser" />
 | |
| 		<meta property="og:image" content="favicon.png" />
 | |
| 		<link type="image/png" rel="shortcut icon" href="favicon.png" />
 | |
| 		<script type="text/javascript" src="bootstrap.js"></script>
 | |
| 		<script type="text/javascript">
 | |
| 			"use strict";
 | |
| 			window.addEventListener("load", function() {
 | |
| 				if(window.location.href.indexOf("file:") === 0) {
 | |
| 					alert("HTTP please, do not open this file locally, run a local HTTP server and load it via HTTP");
 | |
| 				}else {
 | |
| 					
 | |
| 					// %%%%%%%%% launch options %%%%%%%%%%%%
 | |
| 					
 | |
| 					var relayId = Math.floor(Math.random() * 3);
 | |
| 					window.eaglercraftXOpts = {
 | |
| 						demoMode: false,
 | |
| 						container: "game_frame",
 | |
| 						assetsURI: "assets.epw",
 | |
| 						worldsDB: "worlds",
 | |
| 						servers: [
 | |
| 							{ addr: "wss://play.zelz.net", name: "ZelzNet" },
 | |
| 							{ addr: "wss://mc.arch.lol", name: "ArchMC" },
 | |
| 							{ addr: "wss://beta.arch.lol", name: "§r §r §r §r §4§lArchMC Beta" },
 | |
| 							{ addr: "wss://mc.lamplifesteal.xyz", name: "LampLifesteal" },
 | |
| 							{ addr: "wss://mc.ricenetwork.xyz", name: "Rice Network X BallCraft" },
 | |
| 							{ addr: "wss://clever-teaching.com", name: "Clever Teaching" },
 | |
| 							{ addr: "wss://mc.asspixel.net", name: "Asspixel Network" },
 | |
| 							{ addr: "wss://vanillamc.tech", name: "VanillaMC" },
 | |
| 							{ addr: "wss://aeon-network.net", name: "Aeon Network" }
 | |
|     						]
 | |
| 					};
 | |
| 					
 | |
| 					// %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 | |
| 					
 | |
| 					var q = window.location.search;
 | |
| 					if((typeof q === "string") && q[0] === "?" && (typeof window.URLSearchParams !== "undefined")) {
 | |
| 						q = new window.URLSearchParams(q);
 | |
| 						var s = q.get("server");
 | |
| 						if(s) window.eaglercraftXOpts.joinServer = s;
 | |
| 					}
 | |
| 					
 | |
| 					main();
 | |
| 					
 | |
| 				}
 | |
| 			});
 | |
| 		</script>
 | |
| 	</head>
 | |
| 	<body style="margin:0px;width:100%;height:100%;overflow:hidden;background-color:black;" id="game_frame"></body>
 | |
| </html> |