How To Make A Minecraft Server
Minecraft is one of the most popular games in the world and is very easy to start playing on single player. If you want to play Minecraft in multiplayer, you will need to have a server to connect to. This is a centrally located server where multiple players are able to connect and play together. Whether you are going to start;your own Minecraft server, or rent one from us, there are many;things to consider. You need to think about;everything from hardware requirements, server setup, security, maintenance, security and upgrades. You will need to make sure that all of this is in place before releasing your Minecraft server to the public. Starting your own Minecraft server is a fun project and this tutorial will teach you how to make a Minecraft server.
Whether you are a parent or a Minecraft player you can learn much about the different features of setting up a Minecraft server. If you choose to use our server hosting you can have a server up and running in minutes and if you choose to do it on your own it shouldnt take more than an hour.
- 6+ GB RAM
- 1+ GB RAM
- Automatic backup capabilities
- Very fast connection with proper routing for player connections
What If You Dont Want To Host Your Server At Home
Hosting any kind of server from home means youre exposing your home network to the world.
If youd rather not take that risk, then you can use a hosting provider instead. Youll need to pay a monthly or annual fee, but you wont have to deal with the hassle of managing the server hardware.
A GoDaddy Virtual Private Server is a good fit if youre just getting started. Just keep in mind that youre sharing hardware with other users, so keep an eye on resource usage.
If you need a little more oomph and you want to hook up a lot of players, you might try a dedicated server instead.
Download The Minecraft Server
The first step in downloading a Minecraft server is to download the Server.jar file from the Minecraft website.
Optional: If you want an older version, you can find a list of Minecraft versions below. Be sure to click the Server jar on the version you want to make sure you have the Server.jar required for the next step.
Once on the page, click the Download Minecraft server jar link as shown.
Note: You may have a different version number than shown in the picture. This is okay as the latest version of Minecraft is constantly being updated.
Your computer may notify you that the file could be harmful to your computer. This is because any .jar file is treated as harmful when downloading in most browsers and computers. Just click Keep as this is an official Minecraft server .jar file we can trust.
Before we run this .jar file we want to create a folder for it that will hold all of the files. A common practice is to create the server folder on your desktop. To do this, go to your desktop and right click on an open space. Go to New > Folder and click to create a new empty folder.
Once it is clicked it will let you change the name of the folder, so name it something so you know it is your Minecraft Server.
Now return to your Downloads folder the same way we did earlier and right click on the Server.jar to copy it as we will paste it into the new folder we made in the next step.
Recommended Reading: When Did The First Version Of Minecraft Come Out
Run The Server With Ngrok
Preparation 2 Ensure The Required Tcp And Udp Ports
Now, you need to get the list of TCP and UDP ports that are required to port forwarding Minecraft based on your gaming machine. According to the Minecraft requirements, here are several common TCP and UDP ports that you can refer to:
After you know the above preparations, you can start port forwarding Minecraft.
Don’t Miss: How To Make A Skin Pack For Minecraft Bedrock
Startup And Maintenance Script
Alternatively, you can manage/automate the startup and shutdown of the Minecraft server using a script such as the ones listed below:
- Minecraft Server Control Script is a server-management script for UNIX and Linux powered Minecraft servers. Features include:
- Run multiple Minecraft worlds.
Port forwarding is used when you have a router and you wish to let users connect to your server through it. If you wish to host your server for local reasons, it is not required that you do so. Keep in mind that port forwarding might cause security risks.
When port forwarding, it varies on how your router will ask you for the information. If you don’t understand on how your router wants you to input the information, try visiting PortForward.com for a tutorial.
Once you have managed to locate your router’s admin page, and find the Port Forwarding page; hit add new service or custom service. When you get a page asking to setup the new rule, it should prompt you on what you want to call it. You may name it as you wish, but for simplicity, name it “minecraft“. Then, you want to look for “type”. If “TCP/UDP” or “Both” isn’t an option you will have to create two rules for both protocols. For the ports , enter 25565. If it asks for anything else other than output IP , leave it alone and continue.
To find your computer’s IP address, use the following steps:
Now it is time to configure and connect.
Connecting To The Minecraft Server
- If you are playing on the same machine on which the server is running, select the “Multiplayer” option in the game client, click direct connect, and then type in localhost instead of an IP address.
- Both hosting and playing on the same machine is not a recommended practice unless you have a powerful computer .
Also Check: What Is The Random Tick Speed In Minecraft
Point A Domain At Your Minecraft Server
Providing players with an easy-to-remember domain name instead of a complicated IP address makes it even easier for people to connect to your Minecraft server.
Its super simple: Update your domains DNS records by adding an A record for your domain , or subdomain , that points to your Minecraft servers IP address.
Note that it can take up to ~24 hours for DNS changes to take effect globally.
If youre not sure how to change DNS records,;take a look at this Help article for adding an A record.
Creating Your Own Minecraft Mods
If you enjoy Minecraft Mods and want to create your own custom mods for use in your own servers, CodaKid has a series of courses that can teach you how to make your own custom creatures, biomes, dimensions, insane explosions and special effects, and more!
Minecraft coding is fun and creative, and teaches you real Java programming with the Eclipse IDE.
Our courses even include messaging and screenshare support from live engineers if you ever get stuck, and our courses even come with a two week free trial!
We hope you enjoyed How to make your own Minecraft Server, the Ultimate 2021 Guide. If you enjoyed our Minecraft server tutorial, wed love it if you could share it with friends.
Also for fans of modding, check out this free tutorial called How to install Minecraft Forge. Hope you find it helpful!
If you have any questions or comments, please leave them below! If your server configuration is not working, please make sure to follow this tutorial again and double check your work. You can also write us and ask questions however please keep in mind that we are extremely busy serving customers and we may take a few days to respond.
Also Check: How To Xray In Minecraft Bedrock
Into The Router Settings/port Forwarding
Now, search up the router’s IP address. Make sure there are no mistakes. You should then see a login page. To log in, find the router in your house, which would look like a box with fluctuating lights. Look around it until you find a username and password. If you don’t,… I don’t know what you’ll have to do. Maybe ask your parents. NOTE: if you have a default admin/password login, then you’ll need to trust the people you give the IP to. Use the login and log in. Find Port Forwarding. It’s probably in the advanced settings. If not, just keep looking for it. Now, add a new rule. For the IP address, put in the one of your device. For the port, you’ll need both TCP and UDP ports. Use the default Minecraft PE port, 19132. For frontier, select custom ports. For Verizon, ignore what frontier did. Finally, save the rule. Congrats, you’ve set up the server! Now, you need the right info for your friends to join.
Introduction: How To Make An Mcpe Server
First, let me explain THE ONLY WAY to make a server without any third-party application . Port forwarding is the secret. What it does is with the correct IP address of a device is set up with the real IP of your router, you can use a specific port to forward players to your world. That’s actually how PocketMine, Leet, and other great payed server apps do it, and then add plugins. Second, the server acts as a LAN server . Except, in this case, you can let people from AROUND THE WORLD to join you. Third, if the password to your router settings is password, you’ll have to trust the people you give your IP to. ‘Cause when you give them the IP, they can get into your router and mess things up, such as: changing the password, blocking your devices from joining, etc. If not, then you’ll be okay.
Also Check: What To Do With Dragon Egg Minecraft
Using A Vpn For Minecraft
There are a couple of things you need to get and download if you want to set up port forwarding, including:
Port Forward To Play Globally
Port forwarding is what is required to let your friends connect to your server if they are not on the same local connection. If you want to play on a server locally on the same connection this step is not required. It is important to note that port forwarding might cause security risks so make sure you follow the port forwarding steps carefully.
Every router is different when it comes to setting up port forwarding. A router is what is used to create a wireless internet connection. You need to follow the steps to reach your routers admin page as we will be port forwarding a specific port address that Minecraft will use. Go to the following link below and click on the list of all routers and find your router. Skip all ads and do not download any software on this website. Additional software is not needed for this.
When you are on your specific router page follow the steps on setting up a port forward entry. This will differ from router to router but the general steps in common with most routers will be the following.Create a static IP address
Login to your router and navigate the port forwarding section
Create a port forward entry
This website explains each step for your specific router in depth. When you get to the step of creating a port forward entry make sure you name it something that is recognizable such as Minecraft and the port number should be 25565. The port forward website also has a very helpful explanation about port forwarding for Minecraft here.
Recommended Reading: How To Name Cats In Minecraft
Test The Public Ip Of The Server
Now that the port is open for communication and the settings are properly configured, run the server again by either clicking the run.bat file or running the command ./run.sh . Once the server is finished loading, you can test to see if your server works via your public IP address that you found in step #7. Voilà! You and your friends can now play on the server by entering this same public IP address into their Minecraft clients!
How To Make Minecraft 117 Server Without Port Forwarding
Server.jar file download:Download the server.jar file from the official Minecraft website. Gamers will be able to examine the server.jar file for the most recent version on the website. Make that the file is called Minecraft server. When the download is finished, open 1.XX.X.jar, where XX.X is the version number. Make a folder called Minecraft Server to store the server-related files.
A new text file named Eula will appear in the server folder after the jar has been executed. Change eula=false to eula=true in a text editor and save it. Players may find another file called server.properties, which contains all critical information and settings such as query.port, gamemode, difficulty, and more.
Don’t Miss: How To Join Friends Minecraft Server
Get Minecraft Java Edition
These instructions require that you own the Minecraft Java Edition. If you own the pocket, console, or Windows 10 edition of Minecraft, you will not be able to host your own custom server. Minecraft Java Edition can be purchased and downloaded here.
If you already own Minecraft Java Edition, then you can proceed to Step 2.
Edit The Server Configuration Files
Open the server.properties file with your text editor of choice, and scroll down to where server-port and server-ip are. Make sure the server-port is set to the port that you just opened for port forwarding, and server-ip is your internal IP address.
These two fields should look like:
You can also change other Minecraft settings in this file, such as difficultly, game mode, PvP, etc. Once you make all your changes, save and close this file.
Recommended Reading: How To Turn Off Autosave In Minecraft
Writing A Script To Launch The Server
It’s definitely boring to have to remember the command-line options for your server every time you launch it. Luckily, we can write it down in a file and just run that instead.
The windows version of a script is called a batch file. Create a text file in the folder where you put the jar as “start.bat”, and then right click it to edit using notepad. Paste the following in:
Double click the file to start your server. You may get a “Class_Not_Found” and ServerGuiConcole error, just ignore these errorsand you should see your “Server Thread/INFO” dialog start the server.
The “pause” command is there to keep the window open so you can read what happened after the server stops.
On macOS, Linux, and FreeBSD
All these systems use a common scripting language called the “POSIX shell script” on the command line. Create a text file in the folder where you put the jar as “start.sh” and write the following in:
#!/bin/shcd"$"exec java -Xms1G -Xmx1G -jar server.jar --nogui
Now save the file. Run chmod a+x start.sh to make it executable. You can now run the file by double-clicking or by running ./start.sh in the folder .
If you want to add a pausing part like the Windows example, remove the exec word, and add a line of read -n 1 -p “Waiting…” to the end. This is useful if you are running the script by double-clicking on the GUI.
On Plan 9