# First Start up!

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

Congratulations on the purchase of your brand new game server! \
\
First start up can be somewhat finicky so lets get into how it is done.<br>

{% stepper %}
{% step %}

### Turn on your server

Welcome to your first start up, lets get into how to set it up.<br>

* Click on the link in the console it will be shown as below.\
  Use the top of the two links.

```
https://oauth.accounts.hytale.com/oauth1/device/verify?user_code=YOURCODE
```

<figure><img src="/files/Lg2yWPSW8zHSFgGPRzRF" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Authorise Device

To begin with ensure you already own the game and have the launcher and game installed.

1. Click Approve to start your process.<br>

   <figure><img src="/files/CeNcqqeCHPRj6BwVbOUV" alt=""><figcaption></figcaption></figure>
2. Once this is done, you should see the page change to Device Authorised as pictured below.

<figure><img src="/files/iOI8Rpq3q9Bc9m5m8kQg" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Registering the Server

1. It will now begin to download the game server files and start the installation process.\
   You must again click the link in the console (pictured below) to start the registration process.<br>

   <figure><img src="/files/WMLvimLG70XBoifFox9U" alt=""><figcaption></figcaption></figure>
2. As Pictured below you must type when asked in console the following

```
/auth login device
```

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

* It will now show in browser you are again authorised<br>

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

{% endstep %}

{% step %}

### Ensuring you do not have to do this again!

Now that you have Authorised your device fully it is time to ensure it remains so.

At this point, as pictured below, you need to type/copy the following, to ensure your token stays valid.

```
/auth persistence Encrypted
```

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

You will then see that authentication has been successful and that the credentials have been stored in memory.<br>
{% endstep %}

{% step %}
Edit Configuration file

It is now time to edit your configuration file. This is located in the servers root directory and is the config.json file as pictured.

<figure><img src="/files/jK6GpXiiqKLi6UUkDEZb" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Configuration amendments

Here you are able to change the following:

1. Server name
2. Message of the day (MOTD)
3. Server Password
4. Max Players (No Limitation at [Rampart.Games](https://rampart.games), you are only limited by the game itself)
5. World
6. GameMode (Default Adventure)
7. Much more as pictured below

<figure><img src="/files/6xQ7RUJB9fry4XWy0IEm" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Restart the server

Restart the server to implement your config changes.  At this point you should not need to reregister the server again, as you have completed Step 4.

<figure><img src="/files/Jgmul6h8yBLmByW3VMY6" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Enjoy your new game server!

{% endstep %}
{% endstepper %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://rampart-games-ltd.gitbook.io/docs/game-knowledge-base/hytale/first-start-up.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
