> 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

{% hint style="danger" %}

### This content is outdated

**The knowledge base has moved →** [**https://wiki.spacecore.pro/**](https://wiki.spacecore.pro/)

This wiki is no longer updated. All current guides and articles are at the new address.
{% endhint %}

{% content-ref url="<https://wiki.spacecore.pro/>" %}
<https://wiki.spacecore.pro/>
{% endcontent-ref %}

***

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:

**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="https://287241268-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyXvdNIxNLIOcexv7AfU2%2Fuploads%2FI1cbAiIHp4DcIECjkGej%2Fimage.png?alt=media&amp;token=f4dcd783-e0e9-4600-8e75-e7189ea3739e" 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="https://287241268-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyXvdNIxNLIOcexv7AfU2%2Fuploads%2FCzE6JqfDE1kHnSV0gAfR%2Fimage.png?alt=media&amp;token=dd8abb20-6504-4781-802b-4e81a3d67034" 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="https://287241268-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyXvdNIxNLIOcexv7AfU2%2Fuploads%2FvGOvZD3sLInBSXOZBq7m%2Fimage.png?alt=media&amp;token=1f1b15af-19cc-40e0-8b6f-69d12504f908" 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="https://287241268-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyXvdNIxNLIOcexv7AfU2%2Fuploads%2FifRVSzR8aJHbHQUlGRhs%2Fimage.png?alt=media&amp;token=1154e791-848e-4f25-8a7d-6a0a89df6ec3" 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="https://287241268-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyXvdNIxNLIOcexv7AfU2%2Fuploads%2F8LkmR4jh1OrOHJYGYwJT%2Fimage.png?alt=media&amp;token=a08ccf80-6f31-4f64-82b7-838ac961d04e" 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="https://287241268-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyXvdNIxNLIOcexv7AfU2%2Fuploads%2Fwp9a87cY44bW5p6ovGt2%2Fimage.png?alt=media&amp;token=220f2804-850d-41c6-86d0-e7682f4097e3" 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>
```
