There are numerous ways to store a Minecraft server, but not everyone knows how to set it up this way. Simply because storing a Minecraft server requires doing this on Ubuntu. As you know, installing Minecraft on Linux Ubuntu alone can be challenging for some users. Therefore, to understand how to store a Minecraft server as well as related procedures, users must be able to do the most basic things like installing Minecraft on Ubuntu and have basic knowledge of Ubuntu. For those familiar with Minecraft Server, this is likely an advanced article for you.
Storing Your Minecraft Server
Guide to Minecraft Server Storage
Note: This guide on storing a Minecraft server is not for beginners who are just getting into Minecraft Server or have no experience creating a Minecraft Server or using Ubuntu.
Before proceeding to store the Minecraft server, we need to know how to do this. You must find a suitable storage service for your server. There are many options such as Linode or DigitalOcean that provide virtual private servers (VPS) for you. Furthermore, storing a Minecraft server on Linux will be significantly cheaper and safer. The guide below assumes you already have adequate hosting and a VPS.
Step 1: First, open your Terminal by right-clicking and choosing Open Terminal.
Step 2: Here, you type the command to
And of course, if it's the first time running the command, the system will prompt you to enter your Local account, and note that when entering the password, it won't be displayed.
Step 3: Next, your system will ask if you want to download the components to your machine, which is a definite yes. We type Y and press Enter, then wait for it to finish downloading.
Step 4: After the download is complete, we proceed to create a separate folder for Minecraft using the following commands in order:
- Create a directory named Minecraft.
- Change directory to Minecraft.
Step 5: Exit the Minecraft directory, then enter the command to download the latest version of the Minecraft Server.
- Download the Minecraft Server's latest version with the command: wget -O minecraft_server.jar https://launcher.mojang.com/v1/objects/3737db93722a9e39eeada7c27e7aca28b144ffa7/server.jar
The downloading process will be quite fast if you have a stable connection to download the Minecraft Server.
Step 6: Of course, we need authentication from the Minecraft Server, and then we can start our Minecraft Server right away.
- Set authentication for the Minecraft Server by entering the command: echo 'eula=true' > eula.txt
- Open the text editor with the command: nano start-server.sh
Step 7: Continue filling in the newly opened code file with the following commands:
- Specify the script type with: #! /bin/bash
- /usr/bin/screen -S $1
- /usr/bin/java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui
Step 8: Save your command file using the shortcut Ctrl + O and exit sequentially with Ctrl + C >Ctrl + X >Press N.
Step 9: Save the command script and exit the text editor using the command chmod + x start-server.sh.
Step 10: Initiate the new server by running the command ./start-server.sh 'New-Server'.
Finally, you have successfully stored the Minecraft server and can play it like usual.
With that, we've just completed the process of storing the Minecraft server. Indeed, storing a Minecraft server is not too challenging for those who have dealt with this issue and are proficient in Ubuntu. There is much more we can do with the Minecraft Server when playing on Ubuntu. If this article seems too advanced for you, gradually explore Ubuntu and Minecraft Server, specifically through the guide on creating a Minecraft Server on Linux, which is also great for those who want to delve deeper. But, Mytour emphasizes that the guide is not for beginners as creating a Minecraft Server on Linux requires a good understanding of Ubuntu and Minecraft Server.