Minecraft Server: Own Home Server Or Rent A Server
If you want to create and run your own Minecraft server, you will first need the appropriate hardware. In theory, a home PC is adequate for this but this also depends on the desired number of players and server setting. For three to five players, for example, the Minecraft team recommends three gigabytes of RAM, 18 gigabytes of hard drive space, and broadband resources of at least 12 MBit for the game. In addition, there are the requirements of the operating system for Windows 10, this would be another one or two gigabytes of RAM and 16 or 32 gigabytes of hard drive space .
These key numbers already make it clear that you cannot run other programs in parallel to the Minecraft server on the respective PC, so it functions exclusively as a host. The purchase of a second PC in addition to your normal device not only takes up the home broadband quota, but also means additional running costs in terms of power consumption. It is probably only an option for very few Minecraft enthusiasts.
What actually is a server? In our article on the term Server we answer this, and many more questions, addressing, among other things, the ambiguous use of the term in computer science!
Rentable server resources are also referred to as Infrastructure-as-a-Service , which is IT infrastructure provided to users by a provider as part of a service.
Port Forward The Server
The server now works locally! Anyone on the same IP as yours can now join the server. In order to allow people not on the same IP to connect,you’ll need to port forward your server. To do this, google Whats my IP? on Google. Take the number it gives you, copy it, and paste it into the address bar. This will most likely take you to your router’s website where you can manage your router’s settings. Enter the password to your router to continue. My router is a Linksys, you’ll want to google around to find the steps with your specific router. You’ll want to find the Port Range Forwarding section of your router, and enter in the following information.
Application Name: Minecraft server
On Your Router Enable Port Forwarding
Youll only need the next step if you want to make your server accessible for people outside of your local network. However, if you wish to play with your peers using the same Wi-Fi connection specifically, the same router, then you can simply jump to step 5.
Unfortunately, to enable port forwarding, youll need to make your computer on your local network to be accessible by other computers over the internet via a router. This will effectively make your port to be an open port. This can make your system vulnerable from malicious attacks.
Once youve enabled it, set the default server port to 25565.
Youll need the Server IP address, which you can get by opening Command Prompt or PowerShell and run ipconfig. Your IP address is usually listed as IPv4 or IPv6 Address.
Don’t Miss: Minecraft Sky Factory 4 Server
Some Basic Computer Knowledge Would Be Helpful
Before trying to create your own Minecraft server, it’d be good if you’re familiar with some things:
You don’t have to be an expert, but having some basic knowledge can help a lot in the server creation process.
Related: How to Join a Minecraft Server
How To: Host Your Own Rust Server Rustafied
The main use of a batch script for hosting a server is to enable the server owner to make sure their server is up to date and if the server crashes that it will resume. The easiest way to do this is by using the GOTO statement. GOTO will allow you to jump around in your batch script to any other part of the batch file.
You May Like: How To Customize Banners In Minecraft
Test The Server Locally
Now that the EULA agreement is accepted, you can run the script to start the server again . You should see more new files that were generated in the server folder. Once the configuration is set up and the world is generated, you can test to see if your server works.
Open Minecraft and click on multiplayer. In the server address bar, enter localhost and click connect.
Congratulations, you now own your very own Minecraft server! But now, you want to be able to play with friends, so you will have to open up the server to incoming connections.
Enhanced Privacy And Security
Many hosting providers empower you with a control panel using which you can control your server to restrict who is entering your server. Hence, you can enjoy better privacy and enjoy your game without hassle.
You also get full network protection to mitigate online attacks like DDoS. So, you can enjoy a secure network without risking your data.
Read Also: Minecraft Dying Banners
Create Your Server Configuration Files
Once you have your server.jar file inside your My Awesome Server folder, either double-click it or right-click > open it to create your configuration files automatically.
There is a EULA agreement that you will need to accept to prevent your server from immediately crashing. Open up the EULA file and change eula=false to eula=true. Then go to File > Save or press ctrl+s to save this document.
Check You Have The Right Hardware And Requirements
Before you start setting up your own Minecraft server, check to make sure your hardware meets at least these minimum requirements:
- 1GB , or up to 35GB on most operating systems
- 2GB on Windows Vista/7/8/10
These minimum requirements are for the server only. If youâre also planning to play on the same computer, youâll need to account for the gameâs minimum requirements.
Recommended Reading: Minecraft Cereal Redeem Code
Stage : Get The Latest Version Of Java
The initial phase in setting up a Minecraft server is ensuring you have the most recent rendition of Java introduced. Minecraft expects Java to run the game, and having the most current version will assist us with running our server without issues.
You can introduce the most recent form of Java here. Once there, click the red Java Download button, as shown below:
What used to be known as Minecraft Realms was rebranded and turned into Minecraft Realms Plus. Technically, Minecraft Realms still exists, but its only available for the games Java version.
Realms Plus is your best bet for secure, low-cost hosting. It is an official subscription-based service straight from Mojang, and a fast and simple way to build and manage servers without any previous hosting knowledge. Minecraft Realms Plus server owners rent a server via Mojang, and if you want to opt for Mojangs hosting solution, there is a reduced degree of independence.
Realms Plus now provides users with immediate access to over 50 Marketplace products, and new content is added monthly. It means that everything will always be to be found beyond your server. As for the server itself, it can host ten players at a time across ten platforms, including screen, smartphone, VR, and Windows. Your content is stored safely in a cloud server, and even if you arent available, your friends are free to jump into the future.
How To Launch The Java Edition Server
Instead of right-clicking on the sever.jar file to launch the server, we can create a BAT file and insert a modified command to help the server run more smoothly.
Step 1: Right-click within the folder and select New followed by Text Document on the pop-up menus.
Step 2: Rename the file so you can recognize it later.
Step 3: Open the file and enter the following command: java -Xmx1024M -Xms1024M -jar server.jar pause
The first two numbers allocate memory to the server, while pause keeps the server window open.
Step 4: Save the file and then rename its extension to .bat .
Step 5: Double-click the new BAT file to launch the server.
Also Check: Minecraft Nintendo Switch Digital Code Free
Choose An Appropriate Location For Minecraft Server Files
- Before downloading, set the system location from which the server should run
- The server would produce prerequisite configuration files during the first instance. They all are vitally important and should be collectively stored in a separate folder to ensure quick access.
- For the sake of access, you might assign a shortcut key to the folder and save it on your desktop. It is not mandatory though. You can save it at any location of your choice.
- Go to the Minecraft website and download the Java.jar file which is the server software. It should be stored in the same location where you saved the installation files.
- Start the server by double-clicking the .jar file which will generate configuration files. Make necessary modifications before the server gets ready for use
- Open eula.txt file and replace eula=false with eula=true which is mandatory to start the Minecraft server.
- You might encounter an error alerting that the server properties cant be saved. In that instance, right-click .jar file Run as an administrator that will enable you to run the Minecraft server as an administrator.
Enable port forwarding
Go to the file named Server Properties. Make the required changes in key server settings and then save it. Its default server port is Port 25565
Start the Minecraft server
Open windows command prompt to start the Minecraft server.
- Go to the folder that is containing the Minecraft server file and give the following command
Java -Xmx1024M -Xms1024M -jar nogui
Create Your Minecraft Server With Ease
We make it simple to create your Minecraft server by providing the best minecraftserver hosting for any version you would like to start with industry leading customer service.We have hosted over 300,000 Minecraft servers and have the best support in the industry. Our dedicatedhardware features high clock speed CPUs and SSD hard drives providing high TPS and lag free servers forevery one of our customers.
Read Also: How To Host A Skyfactory 4 Server
Operating Systems And Other Software
To be able to create your own Minecraft server, youll need the Minecraft server software. The developer Mojang provides you with a free setup for this, which is only compatible with Minecraft: Java Edition. A current version of the Java Runtime Environment is also required.
Secondly, you will need an operating system to manage your server resources and install the Minecraft server software. In connection with the local home server, it has already been hinted that you can certainly get your own Minecraft world running on the standard user operating systems from Microsoft, such as Windows 10 or Windows 8. Installation on macOS is also possible, according to developer information. For an optimal setup, however, the classic server operating systems are recommended:
- Windows Server 2019
It is required that you are able to use Java via the command line. On macOS and Linux, this should be set up by default. In Windows, you often need to enable the option first via enable PATH environment variable.
What Is The Best Minecraft Server Hosting
The best Minecraft hosting service is the one that will provide fast performance, excellent uptime and helpful support at a reasonable price. You will need at least 2GB of memory available and 3ghz or higher processors to maintain good performance as more players join and modifications are made. It is imperative that the supplier has redundant connections and live chat representatives available to answer any questions and keep your server running at all times.
Read Also: Sky Factory 2.5 Servers
Get The Latest Version Of Java
The first step in setting up a Minecraft server is making sure you have the latest version of Java installed. Minecraft requires Java to run the game and having the latest version will help us run our server without issues.
You can install the latest version of Java here. Once there, click the red Java Download button as you can see below:
Then, read and accept the terms by clicking the red Agree and Start Free Download button.
The Java setup run file should now be in the download folder of your computer. If you need help with finding the download folder, type in downloads into your computer search bar and open the Downloads folder.
Once in the downloads folder find the JavaSetup executable file and run this application. A popup window may appear asking if the application can make changes to your computer. Click to allow access, you may be asked to provide a password for these permissions.
Once the application loads click to install Java.
You may be asked to uninstall a previous Java version, do so as keeping an older version does not help with our server setup.
Once any previous versions are removed continue through the window prompts until Java is downloaded and up to date.
The first step in setting up a Minecraft server should now be complete. The following step we must take is downloading and setting up the actual Minecraft server folder.
Minecraft Server Hosting: Frequently Asked Question
Still not sure which among the best Minecraft server hosting platforms to choose from? Or youre probably new to the game itself?
Dont worry below are answers to the most common questions about the game and the process of setting up your server.
Is Minecraft free?
The game is not free. The price depends on the device where youre playing the game, but the desktop version of Minecraft costs $30. You can also make in-game purchases and get access to different game accessories .
Is hosting a Minecraft server free?
Some hosting servers offer a free trial. Once the trial period ends, you need to pay up for the plan you tried out. You can change the plan that fits your budget during the trial, so you can pay without getting your servers cut. Theres also a number of cheap dedicated server options out there with hosting plans starting as low as $2.50/month.
How much RAM do I need for the Minecraft server?
To accommodate a maximum of 10 players at the same time, you need at least 1 GB of RAM on your game server. The higher the GB RAM of your server, the more players you can welcome, the more enjoyable the game can become.
Which is the best Minecraft server hosting service?What is the best free Minecraft server host?How much does it cost to host a Minecraft server?
You May Like: How To Customize Banners In Minecraft
Firewalling Nats And External Ip Addresses
- You must open a TCP/UDP port on the firewall.
- If the server in question is not reachable via a globally routable IP address, you will need to add appropriate address and/or port number translation rules to the gateway usually your router has the global IP address.
Local network dedicated servers
This only applies to Classic servers.
To correct this, you must add a function to the end of your URL, bookmarks, or whatever else you connect by. The function is: ?override=trueExample:
Note: This situation does not effect Beta servers, and you should be able to connect via an internal or external IP.
The SRV record
To manually verify the SRV record, use :
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.
Also Check: Minecraft Server Icon Maker Free
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