Disclaimer: This is not a 24 hour server. If you're looking to start a 24/7 Minecraft 1.18+ server, be sure to check out our server affiliate ApexMinecraftHosting by going to https://TheBreakdown.xyz/Apex. For a few bucks a month, you can get a 24/7 DDOS-Protected server to play Minecraft with all of your friends and anyone else.
How to Make a Minecraft 1.18 Server
Step 1: Download Minecraft Server File
The first step in starting your Minecraft 1.18 Server is to download the server file for your computer. Click here or the button above to be taken to the official Minecraft Server file download. From there, find the section saying “Play with Your Friends,” and click on “Setup Your Own Minecraft Server.”
This will take you to a page to download the Minecraft: Java Edition Server. From there, you'll want to click on the text that says Download “minecraft_server.1.18.jar” to start the server file download. Once the download is complete, you'll need to locate the download, which is normally on the desktop or in the Downloads folder. For simplicity, be sure to drag the file onto your desktop to follow this tutorial on creating a Minecraft 1.18 server.
Step 2: Create Your Server Folder
Right click on your desktop and create a new folder called Minecraft 1.18 Server, and from there, drag the .Jar file you downloaded into this folder.
Once the Server file is in the folder you've created, run the application by double-clicking on the icon. If the application does not run after you double click on it, you may need to right-click on it and select “Open With -> Java(TM) Platform SE binary.”
NOTE: If you do not have the Java SDK installed on your computer, you will need to download it before moving forward. To do so, click here.
Step 3: Accept the End User License Agreement
Once you've double-clicked to open the Server, new files should appear in your folder called “logs,” “eula,” and a text document called “server.”
Open the EULA document and copy the link in the document. Paste this link in your browser to read through the End User License Agreement to ensure that your server does not and will not violate the terms and conditions.
Once you had read through the license agreement, go back to your text document and scroll down to the last line of text that reads: “eula=false.”
From that point, you will need to ensure that you change this to read:
Be sure to save this document before continuing. By not saving, the rest of the process will not work correctly.
Step 4: Running the Server
Now it's time to open the server file. To do this, simply double click on the Server Java file that we placed in the folder earlier. When we open it, a new Minecraft Server dialog box will appear.
From this point, you have the basic server setup, but if you want to play with friends or anyone who is not on your network, you'll need to keep going. If you're simply trying to play a world with people on your network at your house, all they'll need to do is go to Multiplayer in Minecraft and type “localhost” as the server address.
Once you see the dialog box in the server application say “Done,” go ahead and type “stop” in the text box and press ENTER on your keyboard. This will stop the server from running in the background and using any additional resources for the time being.
This will create more documents in your Minecraft 1.18 Server folder.
Step 5: Command Prompt & IP Configuration
Click on your desktop background to make sure that no application or window is currently in use. From there, hit the Windows key on your keyboard and “R” at the same time. This will open the RUN dialog box.
In the text box, type “cmd” to open Command Prompt and press ENTER.
Once you're in the Command Prompt, type “ipconfig” to open up your IP settings.
If this does not work for you, open your Windows taskbar and type “cmd” again. From there, right click on Command Prompt and select “Run As Administrator.”
This should open a new CMD window for you to type the code “ipconfig” as we did above.
Once the information shows up in Command Prompt, we're going to be looking for two specific numbers – the IPV4 and the Default Gateway.
Go ahead and make a note of your Default Gateway, as we'll be working with that first. In my case, the number was 192.168.1.1.
Next up, go ahead and open your browser and place this number into your address bar. This is going to prompt you to log into your Wi-Fi system or router backend.
If you've never setup your router backend through the default gateway like this, it's likely that a password and username was never changed. To work around this, you can use the default login information provided by your router's manufacturer. This WILL ONLY work if the router information has never been changed.
Step 6: Port Forwarding – Configure Your Router
NOTE: If you get lost in this step with setting up the Port Forward, please refer to our article on setting up a new Port Forward by clicking here.
Once you have successfully logged into your router, you'll be looking for something along the lines of “Port Forwarding,” “Apps & Gaming,” “Security,” etc. This could be placed in a Security section, Advanced, a Port Forward section, or an Apps & Gaming section. Unfortunately this differs for every router, so be sure to look through all fo the settings until you find where you can add a port forward.
From there, add a new Port Forward, and for the name, we'll call it “Minecraft.”
For the External Port, put “25565,” and for the Internal Port add the numbers “25565” as well.
Note: The names of the ports may or may not be called External and Internal. Either way, place the numbers in the open boxes for port numbers.
For Protocol, select the option that allows you to use both TCP and UDP. Most routers will have an option for “Both” or “TCP/UDP.” If, however, your router does not allow you to do that, simply select one and then create another port forward with the same settings for the other.
Now it's time to get the IPV4 Address that we found earlier in Command Prompt. From there, make sure that the IPV4 Address is entered into your Port Forward settings. Normally the first few numbers are already placed there, so you can simply finish the rest of the sequence. If the numbers are not already there, place the entire IPV4 Address in the box.
From there, save the settings you've changed. You must save these settings in order for the server to be accessible by other people with the IP address. Be sure to “Apply” the settings after saving if required.
Step 7: Server Properties
Next up, we'll head back over to our Minecraft 1.18 Server folder and open the “Server Properties” text document. This will open up a document in Notepad called “server.”
Scroll to where you find “server-ip=” and go back to your Command Prompt window we opened earlier with the IPCONFIG.
Place your IPV4 Address after the “=” sign in the text document. For me, it reads:
Save and close your document once you've placed the server IP.
Step 8: Launch The Server
Go ahead and open up the Server Java file that we opened before. Once the dialog box says “Done,” we can go ahead and make our player an OP or admin. To do that, type “OP YOUR USERNAME” and Press ENTER. For example, I would type “op nicsgames” top make myself an Admin.
Now that your server is setup and running, it's time to go test it!
Step 9: Testing Your Server
Launch the Minecraft app and go into your Multiplayer section. Be sure that you are running Minecraft 1.18 in order to play on a Minecraft 1.18 Server.
NOTE: If you get a Windows Security Alert, you will need to Allow Access for the server to work.
Go ahead and connect to your server using the “Direct Connect” feature when joining a server. This is where we will test the server locally with our IPV4 Address. Note that only YOU can join using the IPV4 Address. Other players will have to join with the public IP address we'll get to later.
Paste in your IPV4 Address to the Server Address box and press “Join Server” to join.
If you're successfully able to join the server with your IPV4 Address, you're almost done! If you were not able to connect, you'll need to go back and make sure that you have completed every step and saved all options we changed. Most issues come from a missed number or forgetting to save and apply settings.
Step 10: Playing With Friends
One of the best parts of starting a server is that you can play with your friends around the world, but be sure to NEVER give out your IP address to anyone you do not trust or know. This can result in DDOS Attacks and other network-related issues.
Now, though, let's find our IP address. Go to Google.com and type in “ip” to find your IP address. Your public IP address should show up at the top of Google.
Copy that IP address and go back to Minecraft. Now go back to Multiplayer and select “Direct Connect” to be able to paste your IP address there.
If this address works, your server is successfully created! Congrats! You now have a Minecraft server setup!