Minecraft automatic server connect
Posted: Thu Feb 09, 2012 7:54 pm
Hello
This is a quick snip how to make minecraft automatically join a server. Note that this code works only if you have legally bought minecraft. You need 2 textboxes and 1 button. The first textbox should be username, second should be password. You need to have minecraft.exe located on the desktop for this to work!!! Now for the code:
I hope you enjoy this little snip :P
This is a quick snip how to make minecraft automatically join a server. Note that this code works only if you have legally bought minecraft. You need 2 textboxes and 1 button. The first textbox should be username, second should be password. You need to have minecraft.exe located on the desktop for this to work!!! Now for the code:
Code: Select all
I have made a fully functional example, called MCServers. Basically it lets you choose a server from the list or you can type another server. Right after the app will launch minecraft and close itself, minecraft will do all clicks for you until your connected to the server If you have a cracked copy, minecraft will tell you that you failed to log in and this code will be useless in that case. You also wont be able to join any of the servers listed as they are all premium only.Process.Start(Environment.GetFolderPath(Environment.SpecialFolder.Desktop) & "\minecraft.exe", TextBox1.Text & " " & TextBox2.Text & " " & "YourServer.ip" & " ")
I hope you enjoy this little snip :P