Monday, November 28, 2022
HomeMinecraft Server Set Up

Minecraft Server Set Up

Installing Papermc’s Minecraft Server Jar

How to Set Up Your Minecraft Server for the First Time

Paper is a jar that extends and improves the Bukkit and Spigot APIs meaning if you want to install plugins you can. PaperMC also offers more control options for your server.

sudo wget -O /mchost/v-1-17/live/minecraft_server.jar WEBSITE-URL sudo bash -c "echo eula=true >  /mchost/v-1-17/live/eula.txt"sudo chown -R mchost /mchost/

NOTE: the server Jar will change over time and you will want to go to Paper’s Website to grab the newest Jar.

Keeping The Server Running

Now that you have your server up, you want it to remain running even after you disconnect from your SSH session. Since you used screen earlier, you can detach from this session by pressing Ctrl + A + D. You should see that youâre back in your original shell:

Outputââubuntu@minecraft-2204:~$ screen$

Run this command to see all of your screen sessions:

       

Youâll get an output with the ID of your session, which youâll need to resume that session:

OutputThere is a screen on:3626.pts-0.minecraft-22041 Socket in /run/screen/S-root.

To resume your session, pass the -r flag to the screen command and then enter your session ID:

       

When you are ready to log out of the terminal again, be sure to detach from the session with Ctrl + A + D and then log out.

Advertise Your Minecraft Server On The Web

You can now spread the word about your new Minecraft server. There are many ways you can advertise your server such as creating a youtube video showcasing its main features, looking for Minecraft-related forums, and submitting it to a Minecraft server list for free.

its fun and safe to create your own Minecraft server. What matters is your creativity to build the server you have dreamed of as unique as you wish with custom gameplay features, plugins, and custom maps.

Recommended Reading: What Do Cats In Minecraft Eat

Start Your Minecraft Server

java -Xmx512M -Xms512M -jar minecraft_server.jar nogui

To make sure everything is running correctly, stop your server with:

stop

Then edit the server.properties file and set:

enable-query=true

Save the server.properties file and restart your server. From there, enter your server IP address into the Minecraft Server Status Checker to see if its publicly accessible.

Operating Systems And Other Software

How to Setup a Modded Minecraft Server (1.12.2) : 6 Steps

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.

You May Like: What Age Is Appropriate For Minecraft

How To Set Up A Minecraft Server For Free

Want to enjoy Minecraft with your friends but don’t have the funds to buy a private server? Don’t worry, here’s how you can set one up for free.

Minecraft is one of the best survival games played by millions of gamers worldwide. But unlike other multiplayer titles, you need to set up your own private Minecraft server to play the game with your friends. And having a server up and running 24/7 can be expensive, not to mention the hefty price you paid for the game in the first place.

But do you really have to empty your pockets and buy a server to enjoy Minecraft with your friends? Not at all. Luckily, websites like Minehut and Aternos allow you to set up your own “free” Minecraft server, with no hidden costs whatsoever.

How To Make A Minecraft Server For Free

This article was written by Travis Boylls. Travis Boylls is a Technology Writer and Editor for wikiHow. Travis has experience writing technology-related articles, providing software customer service, and in graphic design. He specializes in Windows, macOS, Android, iOS, and Linux platforms. He studied graphic design at Pikes Peak Community College.The wikiHow Tech Team also followed the article’s instructions and verified that they work. This article has been viewed 773,048 times.

This wikiHow teaches you how to create a free Minecraft server. There are lots of Minecraft server hosting services you can sign up for. Minehut is one of the few services that allows you to host a Minecraft server for free. Minehut servers only work for Minecraft: Java Edition. This wikiHow teaches you how to create a free Minecraft server using Minehut.

Read Also: How To Farm Carrots In Minecraft

Choose A Minecraft Hosting Plan

Hostinger offers seven Minecraft server hosting plans ranging between $6.95 and $77.99/month. All VPS hosting plans come with the Game Panel, one-click Minecraft mod installer, DDoS protection, and automatic off-site backups.

We also support major Minecraft server software modifications such as CraftBukkit, Spigot, and Paper. With full root access, you can install .jar files of any modpack without any restrictions.

As each hosting plan allocates a different number of resources, make sure to consider your needs when choosing one. For example, your RAM usage will significantly depend on the number of players and mods added to the server.

Minecraft Wiki recommends getting 1GB of RAM to support 1-4 players. If you plan to use resource-intensive mods, youll need more memory.

As our hosting is highly scalable, you can pick any Minecraft server hosting plan to start with and upgrade it later in a few clicks. Server upgrades and downgrades will be done in real-time, preventing data loss.

Install Java Screen And Wget

Set up a 1.19 Forge Minecraft server | High Performance | 1.19

Linux Screen is a terminal application that allows users to use a remote terminal from multiple locations over SSH. It maintains your work session in case there are network issues that may disrupt the connection.

First, connect to your server via SSH . Open the built-in terminal shell and enter the following command:

ssh username@ipaddress

Important! Dont forget to replace both values with your real username and server IP address. When prompted, enter your username and password.

Proceed to the following steps based on the servers operating system.

Ubuntu:

Obtaining the latest Java version for Ubuntu requires a GNU Privacy Guard key and adding a new repository. Download and install the newest version of Java, Screen, and wgetby executing the following commands in your command line terminal:

apt-get updateapt-get install software-properties-common screen wget apt-transport-https gnupg-curlapt-get install adoptopenjdk-16-hotspot

CentOS:

Run the following commands to install the latest version of Java and other required software packages:

sudo yum updatesudo yum install java -ysudo yum install epel-release java-latest-openjdk wget screen -y

Also Check: Websites For Minecraft Skins

Set Up The Minecraft Server Properties

This part shows you how to customize the kind of Minecraft game you want to play in the server.

Step 1. Inside the Minecraft Server folder, right click the server.properties file and open it with Notepad.

Step 2. In the Notepad window, you will find a lot of properties. Here are the properties that you may mostly want to set up:

  • gamemode=creative
  • spawn-monsters=false
  • enable-command-block=true
  • max-players=the amount of players that you want to host in the server
  • level-name=the name of your new map

Step 3. After changing these properties, click Ctrl + S to save them.

How To Set Up A Free Server For Minecraft 119 Update

Players can host a Minecraft server through professional services, but this isn’t the only option available. Thanks to the game’s roots being based in Java, players can host their own server for free on their own PC hardware.

Mojang fully supports players in creating their own Minecraft server, so much so that they provide them with the necessary tools to do so.

Players can download the necessary files from the game’s official website. After a little configuration, they can connect to their server with their friends and enjoy the game together.

Also Check: How To Breed Salmon In Minecraft

Download And Start The Minecraft Server Software

It comes as a Java .jar file. Save it to the location you chose in the previous step.

Double-click the .jar file to start the server. Itll create the server configuration files, which need to be modified before the server is ready to use.

Accept the EULA: A text file called eula.txt was created. Open the file in a text editor and change eula=false to eula=true. Failing to accept the EULA will prevent you from starting the Minecraft server.

What if you see a Cant save server properties error? Run the Minecraft server as an administrator by right clicking the .jar file and selecting Run as administrator.

What Are The System Requirements For Minecraft Server Hosting

How to Set Up a Minecraft Server 1.8.1 : 7 Steps

In the previous section, we already gave an example for the hardware requirements of a Minecraft server, focusing on RAM and hard drive space. But what does the developer say about the recommended processor performance? And what are the requirements in terms of operating system and other mandatory software? We have summarized the most important system requirements here.

The figures presented below for RAM, CPU, and hard drive space do not include the required computing power of the selected operating system!

Also Check: How To Spawn Npcs In Minecraft

Important Things To Know Before The Minecraft Server Setup

Before you start creating a Minecraft server Java version on Windows 10/11, its necessary to know something important. Here we summarize them as follows:

Recommended System Requirements for the Minecraft Server Setup:

  • CPU: Intel Core-Based CPUs or AMD K8-Based CPUs and better
  • RAM: 3GB or more
  • Hard Drive: > at least 18 GB free space
  • WAN Up/Down: 8 Mbit/s – 4 Mbit/s

If you dont know how to check your computer specs, you can refer to this post. In addition, you should be familiar with your network configurations, including router configuration, IP, TCP, UDP, DHCP, ports, etc. Once youre ready, lets see how to make Minecraft servers on Windows 10/11.

How To Fix You Are Not Whitelisted On This Server Error

A whitelist includes the list of players that have access to the server. Even if someone has the servers IP address, they wont be able to join the server if they arent whitelisted.

Encountering the You Are Not Whitelisted On This Server error means that the server operator hasnt whitelisted the players username. The easiest way to solve this error would be to add the player to the whitelist.

First, activate the whitelist by running the following command on the server console:

whitelist on

If you want to add your friend to the server, use the following command. Make sure to replace playername with their username.

whitelist add 

Heres the command to see the list of players on the whitelist:

whitelist list

Pro Tip

If you want to use these commands in-game, begin each of them with a slash symbol. For example, /whitelist add .

Don’t Miss: Servers On Minecraft Pc

Connecting To Your Minecraft Server

Now lets connect to the server. The very first step is to run our batch file to launch the server.

With the server launched, open your Minecraft launch page and make sure you load the version of Minecraft that matches the jar you downloaded. As of the writing of this article, Minecraft version 1.15 was the latest version and the server that was downloaded. However, if this becomes outdated I can make a new server or simply load up the 1.15 version of Minecraft. It will be a good idea to make a launch version of Minecraft that we can always connect to our server with. To do this you can go to the Installations tab and click the +New button.

Once here, you should name the installation with the server and version number of Minecraft and select the version as the release number your server download is. This is shown below for version 1.15 so make sure you change this to your Minecraft server version. Make sure to click create to finish this installation.

Next find it in your list and click Play to launch Minecraft.

Once Minecraft is launched go to the Multiplayer tab.

Once in the multiplayer tab, click Add Server.

Once this is done you should see your server made and trying to connect. If you have a failed connection, check the ip address you entered as well as the port forwarding settings. If you see a green connection bar with open spots to connect to your server, you can launch in and enjoy playing in your very own custom server!

Download The Minecraft: Java Edition Server

How To Make A Minecraft Server

You must download the minecraft_server.jar file from the official Minecraft website. After downloading the JAR file, copy it into a new folder named Minecraft Server on your desktop.

Notice that every time a new Minecraft version is released, you will need to download and update your JAR file to support the latest version of the game.

You May Like: How Do You Make Scaffolding In Minecraft

Connecting To Your New Vps Over Ssh

After setting up your new VPS with Vultr, you will now want to connect to it over SSH. The SSH connection will allow us to set up the Minecraft server as it gives us remote access to the VPS.

1. Before we begin, you will need an SSH client to connect to your server. We will show you how to use Putty in the following steps.

You can from their official website.

2. Once you have downloaded and installed Putty, open it, and you will see the following screen.

On this screen, you need to type in the IP address for your server within the hostname box .

With your hostname typed in, click the Open button to begin the SSH connection to your VPS.

3. Since this is the first time you are connecting to your server over SSH, you will need to accept the new SSH key.

You need to click the Accept button to continue with the connection to the server.

4. Upon connecting, you will be prompted to enter the name of the user you are trying to log in with.

With Vultr, this user will typically be called root, so type in that to continue.

5. Finally, to complete the connection, you will need to enter the password for your user.

You will have gotten this password through the Vultr web interface.

6. You are now successfully connected to your Vultr VPS over SSH.

With this SSH connection, we can use the terminal to set up the Minecraft Server.

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 Many Types Of Cats Are There In Minecraft

Hard Disk Space And Broadband Requirements

Of course, you also need to store the Minecraft server installation as well as user and game world data on your server. The following approximate values can be used here:

  • 1 to 2 players: at least 2 gigabytes of free disk space
  • 3 to 5 players: at least 18 gigabytes of free disk space
  • 6 players or more: at least 35 gigabytes of free space

However, size is not the only factor you should pay attention to when it comes to storage units. Relying on SSD storage for your server can speed up the startup process. However, for a smooth gaming experience on a Minecraft server, classic HDD storage is perfectly suitable, too.

For more on the differences between the two major types of memory, see our article SSD vs. HDD: What are the differences?.

The required broadband capacities also result from the number of active players on the Minecraft server. In terms of memory, Minecraft isnt too demanding: Majongs recommendations from 5 Mbps for 1 to 2 players to 45 Mbps for 6 or more players – are not a problem if you rent the hardware and hosting for your Minecraft server. In case you have your own server at home, you will of course have to keep an eye on the key figures and order a larger broadband package if necessary.

RELATED ARTICLES

Most Popular