Tuesday, October 23, 2012

How to log in to Minecraft with any Username

I spent a while yesterday trying to figure out a simple way to log in to Minecraft in Offline mode with a name other than Player, that anyone could use. I found out that you could use a command line to start Minecraft with all sorts of values tweaked, but no forum or website detailed how to do so in an error free way. After taking an original command line and tweaking the hell out of it, I figured out how to do it. This will work for all Minecraft versions unless the format of the game is changed, which is probably won't be.

If you paste this text in to notepad and save it as a .bat file, when you run that file, Minecraft will open in offline mode with the player name of your choice, simply replace Ebob101 at the end with what ever name you want.

java  -Xincgc -Xmx1024m -cp "%APPDATA%\.minecraft\bin\minecraft.jar;%APPDATA%\.minecraft\bin\lwjgl.jar;%APPDATA%\.minecraft\bin\lwjgl_util.jar;%APPDATA%\.minecraft\bin\jinput.jar" -Djava.library.path="%APPDATA%\.minecraft\bin\natives" net.minecraft.client.Minecraft Ebob101

This is useful for when Minecraft.net goes down and you want to play on the server your friend just rented with all of your friends. You won't be logged in so the server you join will have to be in Offline mode.
I guess I'll figure out how to do it for Tekkit now.

No comments:

Post a Comment