Minecraft automatic server connect
Use this board to post your code snippets - tips and tricks
8 posts
Page 1 of 1
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
You do not have the required permissions to view the files attached to this post.
Nice snip! You could also use a socket to check if the server is on and launch minecraft when it successfully makes a connection.
LMAOSHMSFOAIDMT
Laughing my a** of so hard my sombrero fell off and I dropped my taco lmao;
Over 30 projects with source code!
Please give reputation to helpful members!
Laughing my a** of so hard my sombrero fell off and I dropped my taco lmao;
Over 30 projects with source code!
Please give reputation to helpful members!
MrAksel wrote:Nice snip! You could also use a socket to check if the server is on and launch minecraft when it successfully makes a connection.Thanks And i don't know anything about socket stuff :S
Cool stuff also i keep looking at ur theme what is it called
Martin wrote:Cool stuff also i keep looking at ur theme what is it calledThanks The theme is called Iohanna edited: http://shafck.deviantart.com/art/Iohann ... -153242412
I'm glad you like it guys. I'm gonna post some new tuts soon
8 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023