How To Setup A Minecraft Java Server

How To Setup A Minecraft Java Server


When creating a Minecraft server there's lots of options. This guide currently covers setting up an Survival Multiplayer Server without mods. We'll be releasing additional guides in the future on how to create a server with mods.



Create a Vanilla Survival Multiplayer Server (MSP)



These steps will give you a public Minecraft Java server in the shortest amount of time.



1. Java can be downloaded and installed



Oracle offers the latest Java version for download.



2. Download the official Minecraft Server



This is minecraft.net's download page.



3. Make a folder to store your minecraft server



This folder can be named and located anyplace you'd like. It should be easy to find and easy to find. I like calling the folder minecraft-server and placing it in my home/User folder.



4. Setup your minecraft server folder



Move the server.jar file you downloaded into your minecraft folder



On Windows: create an entirely new file called run.bat. Creating an automated (.bat) file in windows



On MacOS / Linux: create a new file with the name run.sh.



Edit the file you just created and change the text to



5. Create your server and then agree to the EULA



Once you've created your run file, let's start the server.



On Windows: double click your run.bat folder.



MacOS / Linux: Open the terminal in your minecraft folder, and type bash./run.sh.



The command line should show some logs and your minecraft server folder should be filled with new folders and files. Open the file eual.txt and replace eula=false by eula=true.



6. Connect and run your server



After you have been approved by the eula, you can restart your server. Next launch  serverstat.net  and connect using 127.0.0.1.25565. Make sure your server is working if you are not able to connect. If all is well and you are unsure why you're not able to connect, you can ask for assistance via our discord.



7. Make your server public



You are now able to connect to your server locally. Let's make it public so friends can join. Explore the interactive guide.