Jump to content

[1.7.10] Testing mod on server - with other players


Thornack

Recommended Posts

Ok so I can run my mod on a dedicated server in eclipse but I was wondering if there is a way to connect to this server from multiple computers that have the same dev environment to test things. Has anyone tried this? I know that the only way I can connect to my server from my dev environment is to set the server properties to offline mode and the eula to true.

Link to comment
Share on other sites

I want to run the server and the client from my dev environment on one computer and connect from this computer to this server. Then from my other computer I want to run my mod and connect to that same server (both dev environments have the same code)

Link to comment
Share on other sites

I think (someone can confirm) that you have to be in offline mode in the dev environment.

 

But anyway, I just have cloned repositories on three computers, use eclipse to run a dedicated server run configuration on one computer and client run configuration on the other two computers. They seem to be able to join and play properly.

 

Is there something beyond that that you need to do?

Check out my tutorials here: http://jabelarminecraft.blogspot.com/

Link to comment
Share on other sites

I set it to offline mode and I have my router port forwarded but cant seem to find the server not sure why, Im not sure how to use a username with a password in the dev environment, currently each time I run the client I get a random username and dont require a password

Link to comment
Share on other sites

I set it to offline mode and I have my router port forwarded but cant seem to find the server not sure why, Im not sure how to use a username with a password in the dev environment, currently each time I run the client I get a random username and dont require a password

 

In Eclipse, in your Run Configuration in the Arguments tab you just put --username=yourUserNameHere --password=yourPasswordHere.

 

I don't think you need port forwarding if you're on the local network. I put in the IP address of the server directly to connect from the client machines.

 

You can run server and client on the same computer. In the client, just do a direct connection and put in "localhost" for the IP address.

Check out my tutorials here: http://jabelarminecraft.blogspot.com/

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.