Profile
Each Time You Start Your Server This post is over one year old and may have outdated information. Setting up a Minecraft server on your home Windows computer is fairly easy. If you have a basic understanding of computers and networking, it is possible to play with friends over a local or international network (LAN), or the Internet in a matter of minutes. Note: This guide only applies to Minecraft Java Edition. It is not the original version for PC. Each player that wants to connect must have purchased Minecraft Java Edition for their PC from minecraft.net. The Java version is not compatible with the console or mobile versions. For those, you will need to use Minecraft Realms. SOUNDZPROMISING Computer Performance Requirements To reduce latency, I recommend a network that is wired. You may need more power depending on how many players your server has. This will also help to end as many background and running programs possible. If you plan to play Minecraft on the computer that hosts the server, I recommend 4GB of RAM minimum and a new processor or graphics card. Amazon's top-rated gaming computers are available for purchase if your computer is not up to the task. Step 1: Download the Latest Java Version Java.com/en/download allows you to download the most recent version of Java. Step 2: Download the Minecraft Server Download the latest version of the server from the official download page. SOUNDZPROMISING It will be a server.jar file. Put that downloaded file in a folder where you'd like to run the Minecraft server. Step 3: Start the Server Open a Windows Command Prompt in the folder containing the server.jar file. To easily do this, hold down shift while you right-click in an empty space inside the folder: Once in the command prompt, run this command to start the server: java -Xmx1024M -Xms1024M -jar server.jar nogui You can paste the command into the command prompt by right-clicking and choosing paste (ctrl+v does not work in command prompts). Using PowerShell Instead of Command Prompt If the command prompt didn't work or you would prefer to use PowerShell, you can and it works similarly. PowerShell should be open in directory where server.jar is. This may not work on all Windows versions. Search online if you're unsure how. Once in the proper directory, run the same command from above. You can copy the above command into PowerShell by right-clicking in the window. Once ran, the Minecraft server will create some files in the folder it resides in and you should receive an error message about the EULA: You will need the generated eula.txt to be opened and set: After that, run the command once more. This time a new world should be generated and your server should be running: Step 4: Server commands The server can be controlled by server commands, which you enter at the command prompt. Here are some basic server commands to help you get to know them. You should know at the minimum how to use stop which shuts down the server and saves all the world. Step 5: Connect with Your Server Open the regular Minecraft game, click Multiplayer, then click Direct Connect. You'll be entering an IP address here based on where you are relative to the server computer. On the same computer If you're playing Minecraft on the same computer as the Minecraft server, enter 127.0.0.1: On another computer in a network If you are on another computer within the network (connected to a router), enter the local address of the computer running the server. To find this, go to the computer that's running the server and type ipconfig into a command prompt. The IP address should look something like 192.168.1.1. However, the last two numbers may be different. (The above is an example IP Address only. Over the Internet To connect to the Minecraft server over the Internet, you'll need to know the external IP address of the computer the Minecraft server is on. You can find it by browsing to whatismyip.com while on the Minecraft server PC. Just like the local IP address, it will be 4 sets of numbers separated by periods. It may look something like 65.214.224.57. But each set of numbers is different. If the computer that the Minecraft server is on is connected via a router to the Internet modem, which it should be for security reasons, then you'll have to make sure the router is properly port forwarding Minecraft Internet traffic to the computer that has the Minecraft server on it (even if you only have the one computer). Port forwarding can be done by your router to ensure that the right traffic is sent to the right computer. Minecraft uses port 25565, so the router needs to be setup to send any traffic on port 25565 to the computer that has the Minecraft server. Portforward.com: Scroll down to select your router model. The model number is typically listed on the back or front of your router. Next, select the game you want to port forward for, which is "Minecraft Server" in this case. This may indicate that you need a static address. This refers to your internal IP Address. Each time a computer is connected or turned on, it receives an internal IP address. It will usually remain the same, but it is possible to change. If you want to disconnect your computer from the router or turn it off, you may need to modify the settings. If you run Minecraft server a lot and shut down your computer often, you may want to look into giving your computers static local IP addresses. Once you've forwarded port 25565 to the correct computer, you can test it at www.yougetsignal.com/tools/open-ports. Make sure you check port 25565. 80 is the default port for website visitors. For additional troubleshooting, see the Minecraft server install wiki. When you restart your computer, or reset your modem, both your local and external IP addresses might change. Make sure you double-check your IP addresses before you start your server. SOUNDZPROMISING Also, make sure to update your settings as needed.
Forum Role: Participant
Topics Started: 0
Replies Created: 0