Download & launch Minecraft via a hidden Java applet
Java JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LaunchCraft.java
Makefile
README.markdown
demo.html
launchcraft.js

README.markdown

Downloads the latest Minecraft client & connects to a Minecraft server:

LaunchCraft.load(function() {
  LaunchCraft.downloadMinecraft(function() {
    LaunchCraft.launch("username", "password", "example.com");
  });
});

LaunchCraft.js uses a signed Java applet to achieve the elevated privileges it needs to download & run Minecraft. To generate a public/private key pair and self-signed certificate, use the following command:

$ keytool -genkey -alias signFiles -keystore keystore.db

You can then build & sign LaunchCraft.jar:

$ make sign