Jump to content




[Java] Minecraft Joinserver code


  • You cannot reply to this topic
2 replies to this topic

#1 Xenthera

  • Members
  • 170 posts

Posted 30 July 2012 - 11:28 PM

Hi, I'm making a client and I need help. I'm trying to make a button that will directly connect to a server I specify:

if (par1GuiButton.id == 7){
		 //Join the server here
		}

I looked at the GuiMultiplayer class, and that was very confusing.
If anyone can help me it would be greatly appreciated.

#2 cant_delete_account

  • Members
  • 484 posts

Posted 01 August 2012 - 03:52 AM

This forum is about Lua and ComputerCraft, not MC coding help.

#3 Kolpa

  • New Members
  • 260 posts
  • LocationGermany

Posted 01 August 2012 - 09:13 AM

View PostXenthera, on 30 July 2012 - 11:28 PM, said:

Hi, I'm making a client and I need help. I'm trying to make a button that will directly connect to a server I specify:

if (par1GuiButton.id == 7){
		 //Join the server here
		}

I looked at the GuiMultiplayer class, and that was very confusing.
If anyone can help me it would be greatly appreciated.
http://www.wiki.vg this page might help you





2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users