How To Setup A Minecraft Java Server
When setting up an Minecraft server, there are a lot of possibilities. This guide will help you set up the Survival Multiplayer Server with no mods. We'll release more guides in the coming months on how to start a server with mods.
Create a Vanilla Survival Multiplayer Server (MSP)
These steps will allow you to get access to a public Minecraft Java server in the shortest amount of time.
1. Java can be downloaded and installed
You can download the latest version of Java from Oracle.
2. Download the offical Minecraft Server
Download this from minecraft.net
3. Make a folder to store your Minecraft server
You can label the folder and put it wherever you like. I do recommend making it something that is simple and easy to find. I like calling the folder minecraft-server, and then putting it in my home/User folder.
4. Setup your minecraft server folder
Move your downloaded server.jar file into the minecraft folder.
On Windows Create the file run.bat. Windows Create a batch file (.bat).
Create a new file called run.sh on MacOS or Linux
Edit the file and set the text as your default text.
5. Create your server and accept the EULA
With your run file created Let's begin the server.
On Windows: double click your run.bat folder
MacOS or Linux: Open the terminal in your minecraft folder, and enter bash./run.sh.
The command line should display some logs and your minecraft server folder will be filled with new files and folders. Open the file eual.txt and replace eula=false by eula=true.
6. Connect and run your server
Once you've got the eula acceptance running your server again following the same method in 5.. Open Minecraft and try direct connecting using 127.0.0.1:25565. If you're unable connect, ensure that your server is running. If everything is fine and you are unsure why you're not able to connect and you're not sure why, you can seek assistance via our discord.
7. Make your server public
You are now able to connect to your server locally. Let's make it open so that others can join. Explore the interactive guide.