Posted June 28, 20169 yr Up until now, I've been testing my mods by using "Run->client" in the NetBeans alt-click menu. What do I need to do to properly simulate a client-server situation? I've seen the "run->server" option used several times, but no tutorials I've found have demonstrated how to set it up. When I've clicked "run->server" previously, it tells me I need to agree to the EULA, but I can't find where that's located in my files.
June 28, 20169 yr The client and server will both run from the working directory set in the run configurations. If you're using the run configurations generated by ForgeGradle, this will be the directory you've set as the minecraft.runDir property in build.gradle (the default is run). To log into the server, you'll either need to disable online mode in server.properties or add the --username <email> --password <password> program arguments to your client run configuration so it logs in with your Mojang account. Disabling online mode will allow you to log in with clients that aren't authenticated, this allows you test a multiplayer scenario while only owning a single account. Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.
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.