Welcome to Abyssal Gaming Network

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

[[Template core/front/global/updateWarning is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]]
Sign in to follow this  
Followers 0
SpitefulBatman

Launch Minecraft from your Browser

1 post in this topic

I was originally going for a method to launch servers from a button on the website, but Minecraft doesn't support it.

This little hack will allow you to at least launch minecraft from a button click in your web browser. We call this associating a URI (Thats an i not an L)

This only works on Windows and will require a change OR for you to move your minecraft launcher. It is recommended you are very careful in doing this as messing with your registry can result in system failure if you mess up bad enough.

  • First you need to make a new file in Notepad.
  • Then you need to go to File > Save As > type "MCA.bat" as the filename. Select All Files next to Save as Type:
  • Save the file and then paste the following contents;


Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\minecraft]
@="URL:Minecraft Protocol"
"URL Protocol"=""
[HKEY_CLASSES_ROOT\minecraft\DefaultIcon]
@="minecraft.exe,1"
[HKEY_CLASSES_ROOT\minecraft\shell]
[HKEY_CLASSES_ROOT\minecraft\shell\open]
[HKEY_CLASSES_ROOT\minecraft\shell\open\command]
@="\"C:\\Minecraft.exe\""

The last line of the code is the one that must be editted to suit your setup. In the above example, it is assumed you have your launcher names as Minecraft.exe and saved in the root C:\ directory (Which is not recommended!) - Hence C:\Minecraft.exe

The extra slashes are called escaping characters, these are required!

If your Minecraft.exe file was in the folder C:\Minecraft\bin\Minecraft.exe then your string would instead be:


@="\"C:\\Minecraft\\bin\\Minecraft.exe\""

Confused Yet? You shouldn't be, its really easy! Just remember, for each slash in your directory location, just add another!

  • Now that you have done that, you need to save it and run it, allowing it to make changes to your registry.
  • If everything is done right, you can now click on minecraft: links in your browser, or even type minecraft: into your URL bar and it will simply open!
  • I have created a link here to test if you have done it right, this link will forward to a minecraft: link (Because the forum wont allow it directly posted for security reasons!)

Good Luck !

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  
Followers 0