> For the complete documentation index, see [llms.txt](https://spacecore.gitbook.io/wiki/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://spacecore.gitbook.io/wiki/en/minecraft/how-to-install-minecraft-java-server.md).

# Installing Minecraft Java Server

In this guide, we will take a detailed look at the manual installation of the Minecraft server. Let's look at the popular server cores with you and learn how to install the server correctly.

## Some information

The instruction is suitable for both **VDS** and a fully dedicated server.

This article provides an example of installing the Paper kernel for Minecraft 1.16.5.

## The installation process

We create «**start**.**txt**» file in any folder on your computer (the name «**start**» is not a principle, you can use any).

Open the document and enter the startup command with all the necessary arguments for the server:

&#x20;**java -Xms1024M -Xmx1024M -jar core.jar nogui**

{% hint style="info" %}
**-Xms512M** — the minimum amount of **RAM** allocated for the game server.

**-Xmx2048M** — the maximum amount of **RAM** that will be available to the server during operation.

**-jar** — the type of file to run.

**Core.jar** — the name of the core of the game server itself.

**nogui** — an argument for canceling the launch of the GUI, since we don't need it.
{% endhint %}

After changing all the arguments and names to suit your needs, we enter and save the configured startup command for our server:

```
 java -Xms512M -Xmx2048M -jar paper-1.16.5-553.jar nogui
```

<figure><img src="/files/jDRL2e3vyGekOE7VzEeH" alt=""><figcaption></figcaption></figure>

Rename the startup file from «**start.txt**» to «**start**.**sh**».

We send the file to the server in the folder with the kernel.

Next, we use the sh command in **SSH start**.**sh** to execute the script.

<figure><img src="/files/0LOHxIf0wrcwoJOPovrK" alt=""><figcaption></figcaption></figure>

The server core has started and started installing additional files.

The launch has been stopped, you need to confirm the **Eula** agreement.

<figure><img src="/files/ihkHbl9s7vpeU9gp0IQa" alt=""><figcaption></figcaption></figure>

We go to **sFTP**, there are new server files there:

You need to open «**Eula.txt**».

We confirm the agreement by entering «**true»:**

<figure><img src="/files/WH7nT93ITWGfPXgpMras" alt=""><figcaption></figcaption></figure>

Save, close the text editor, exit the window with sending the file to the server, press «**Yes**»:

Go back to **SSH** and use the sh command **start.sh** to restart the server.

<figure><img src="/files/XuTbHoDuhAjgPuL8e0em" alt=""><figcaption></figcaption></figure>

For direct launch without **start.sh** just enter the command with the launch arguments into the console:

```
java -Xms512M -Xmx2048M -jar paper-1.16.5-553.jar nogui
```

<figure><img src="/files/lgMarwb9mpfHHMwoE0Xu" alt=""><figcaption></figcaption></figure>

## Cores for servers with mods

{% hint style="info" %}
Latest versions:

**Cauldron 1.7.10** — <https://mirror.spacecore.info/minecraft/cauldron-latest.zip>

**Thermos 1.7.10** — <https://mirror.spacecore.info/minecraft/thermos-latest.zip>
{% endhint %}

## Question: how do I get access to the admin commands?

In the server console, you can grant yourself operator rights by writing:

```
/op <Your Nickname>
```
