How To Create A Minecraft Server On Your PC


If you''ve ever wanted to create your very own always-online Minecraft world to share with friends, we''ve got everything you need to know about how to make a Minecraft server right here.



Why should you care about servers? Do you ever want to run around on a zombie infested island or have you ever thought about it? You might consider a server that has a variety of mini-games. Or, you could create a huge player-versus-player hellscape without any rules. The sky is truly limitless!



You may want to just grab some friends and start building. With servers, they can continue their builds while you''re away, providing your server''s still up and running. Nothing beats logging back in the following day to see all the new shacks and gizmos your friends have created. So read on to learn how to make your very own Minecraft server.
minecraft servers



Best Xbox One games: the most essential Xbox One releases Minecraft RTX vs Minecraft: come see how much ray tracing really matters How to download Minecraft for PC




1. Update to the latest Java



To get things started, ensure you are running the latest Java version. Thankfully, this is really easy. Open a new tab on the Java website and click on verify Java Version''. This will check your version and give you the latest version if it is older.



2. Downloading the Minecraft server file



Make a folder on your desktop named ''Minecraft Server''. Next, go to the Minecraft website (opens in new tab) and click on the ''Minecraft_server.1.15.2.jar'' link to download the server file.



Move this file to your Minecraft Server folder and double click on it to run it.



Note: It will likely warn you if it is a virus if your Chrome browser is open. It''s not because it''s from the official Minecraft website, so don’t panic. We good.



3. How to create and start a batch file



Upon running the Java file, you should see loads of new files in your Minecraft Server folder. To make everything work, we must first agree to the EULA terms. Open Notepad to find the file EULA. Search for the line "eula=false", change it to "eula=true", and hit save.



Now, let''s get to the fun stuff. Open a new Notepad file. Copy the text from the below and paste it into a new Notepad folder:



java -Xmx1024M -Xms1024M -jar minecraft_server.1.15.2.jar nogui pause



See that bit in bold? Next, you will need to change the file name to the Java file that you downloaded from Minecraft''s website. It was''server.jar'' in our case so our text line would read:



java -Xmx1024M -Xms1024M -jar server.jar nogui pause



Save the Notepad file, then close it. Next, rename that Notepad file to ''ServerStart.bat'' (without the quotation marks).



If all went off without a hitch, double-clicking this file should launch your Minecraft server via a CMD window (also known as a command window). To end the server go to the command window, and type''stop''. Easy, right?



4. Joining the Minecraft server



If you''re running the server on the same PC, load up Minecraft and venture into multiplayer. Click on "directly connect" and you will see a box asking to find the server address. This next part is very complicated, so make sure you carefully read it. In that box, type in ''0'' and hit ''join server''.



5. Everything else you need to know about creating a Minecraft server



There are a few things to know before you run off to create your own persistent online world.



If you want to customize your world, the text file ''server properties'' in the Minecraft Server folder can be tweaked to your liking.



If you intend to have friends from outside join your server''s network, the code they''ll need are your IPv4 and some extra digits.



Google "what is your IPv4 code?" will bring up the search results. Google. Each IPv4 number identifies a computer. Yours will be unique.



You should get something like 100.20.511.329 (I made this one up, by the way).



Add a colon to your IPv4 followed by ''25565'' to create the following:



100.20.511.329:25565



The above number is your server address that other players will need to enter to join you.



Finally, to allow other players to join you need to forward your router ports to allow access from other parties. Voizdev (opens a new tab) provides a detailed explanation and walkthrough for this procedure.