How To Setup A Minecraft Java Server

· 2 min read
How To Setup A Minecraft Java Server


When making the Minecraft server there's lots of options. This guides currently covers setting up a Survival Multiplayer Server without mods. We will be adding more guides to help you set up a server that has mods in the future.



Create a Vanilla Survival Multiplayer Server (MSP)



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



1. Download and install Java



Oracle offers the latest Java version to download.



2. Download the official Minecraft Server



Download this from minecraft.net



3. Create an appropriate folder for your Minecraft server



You can label the folder and put it wherever you want. I do recommend making it something simple and easy to locate. I prefer to name the folder minecraft-server, and then putting it in my home/User folder.



4. Install your minecraft server folder



Transfer the server.jar file you downloaded to your minecraft folder



Windows Create a new file named run.bat Windows Create a batch file (.bat).



On MacOS or Linux Create a new file with the name run.sh.



Edit your new file and change the text to



5. Create your server and agree to the EULA



With your run file created, let's start the server.



Windows Double-click on your run.bat folder



On MacOS or Linux: open the terminal in your minecraft server folder and then run bash ./run.sh.



The command line should show logs. The folder for your Minecraft server should now be filled with new files. Find and open  Liberty  and replace eula=false with eula=true.



6. Connect to your server by using the following command



Now with the eula accepted restart your server following the same process as in 5.. Start Minecraft and connect directly using 127.0.0.1:25565. Make sure your server is working If you're not able to connect. If all is well and you're not sure why you're not able to connect or connect, you can seek assistance via our discord.



7. Make your server available to the public



You are now able to connect to your server locally. Let's make it open so that others can join. Go to the interactive guide.