> For the complete documentation index, see [llms.txt](https://dayz.foxapo.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dayz.foxapo.com/mods/crdtn-quests/server-side/installation.md).

# Installation

Server config is loaded from the **profiles** folder of **CRDTN** on your server instance.&#x20;

1. Create a *CRDTN* in **$profiles/CRDTN**&#x20;
2. **Create&#x20;*****CRDNT\_Core.json***

````json
```json
{
    "CRDTN_ServerName"              : ">> EXAMPLE NAME <<",
    "CRDTN_IntroSoundSet"           : "CRDTN_Core_SoundSet_Music_Oxido",
    "CRDTN_NotificationsWrapper"    : "CRDTN_Core/Layouts/Notifications/notifications.layout",
    "CRDTN_Notifications"           : "CRDTN_Core/Layouts/Notifications/notification_element.layout",
    "CRDTN_UseVanillaNotifications" : 0,
    "CRDTN_DisableIntroNotification": 0,
    "CRDTN_Debug"                   : 1,
    "CRDTN_IntroMusic"              : 0,
    "CRDTN_AdminList"               : [ "avCdzuTN2GEbHlqfPk2wXFvUyxW7CVe50bFIWgDCvN0=" ],
    "CRDTN_Packages": {}
}
```
````

3. Create *Quests* folder in *CRDTN* folder

* If you want to enable logging, you can create a *Logs* folder

<figure><img src="/files/5bwRGg3ntI94lYFnS5rB" alt=""><figcaption><p>CRDTN folder in $profiles/CRDTN</p></figcaption></figure>

4. Create the files and folders so it looks like the following image

   <mark style="color:red;">**CAREFULLY -**</mark><mark style="color:red;">**&#x20;**</mark><mark style="color:red;">**`AdditinalQuests`**</mark><mark style="color:red;">**&#x20;**</mark><mark style="color:red;">**= there is a typo!!!!**</mark>

<figure><img src="/files/t9mdj3KNIdSaDlWhE8I2" alt=""><figcaption><p>Quests folder in $profiles/CRDTN/Quests</p></figcaption></figure>

````json
```json
{
    "QuestLogTheme": "",
    "ResetQuestsAfterDeath": 1,
    "Version": 3,
    "QuestKey": "",
    "AdditionalQuests": [
        "intro.json"
    ],
    "QuestSoundSetAbandon": "CRDTN_SoundSet_StalkerSounds_Pda_Alarm",
    "QuestSoundSetComplete": "CRDTN_SoundSet_StalkerSounds_Pda_Tip",
    "QuestSoundSetAccept": "CRDTN_SoundSet_StalkerSounds_Pda_Objective",
    "QuestSoundSetToggle": "CRDTN_SoundSet_StalkerSounds_Pda_Btn_Press"
}
```
````

{% code fullWidth="true" %}

```markup
QuestLogTheme             - Stalker or empty 
ResetQuestsAfterDeath     - Resets all the quest progress when a player dies
Version                   - Not important
QuestKey                  - Not important
AdditionalQuests          - Array of filenames which are supposed to be loaded on top
                            of the Quests.json file 
                            These files additional need to be place in the AdditinalQuests


```

{% endcode %}

<figure><img src="/files/zbduSHLo6om7tLVgDJNx" alt=""><figcaption><p>AdditionalQuests in $profiles/CRDTN/AdditionalQuests</p></figcaption></figure>

<mark style="color:blue;">Make sure you're using</mark> [<mark style="color:blue;">@CRDTN Core</mark>](/mods/crdtn-core.md) <mark style="color:blue;">mod and the main</mark> <mark style="color:blue;"></mark><mark style="color:blue;">**Quests.json**</mark> <mark style="color:blue;"></mark><mark style="color:blue;">file is in the Quests folder of</mark> <mark style="color:blue;"></mark><mark style="color:blue;">**CRDTN**</mark><mark style="color:blue;">. This json file is a foundational quest file and you can leave it empty or setup some quests in that. It's there due to a backwards compatibility, but since the update</mark> <mark style="color:blue;"></mark><mark style="color:blue;">**0.6**</mark><mark style="color:blue;">, you are able to use</mark> <mark style="color:blue;"></mark><mark style="color:blue;">**AdditionalQuests**</mark> <mark style="color:blue;"></mark><mark style="color:blue;">parameter in the</mark> <mark style="color:blue;"></mark><mark style="color:blue;">**Settings.json**</mark> <mark style="color:blue;"></mark><mark style="color:blue;">and setup multiple files.</mark>&#x20;

**$profiles/CRDTN/Settings.json**

````json
```jsonc
{
    "QuestLogTheme": "default",
    "ResetQuestsAfterDeath": 1,
    "Version": 3,
    "QuestKey": "",
    "AdditionalQuests": [
        "FILE_1.json",
        "FILE_2.json"
    ],
    "QuestSoundSetAbandon": "CRDTN_Quests_SoundSet_Cancel",
    "QuestSoundSetComplete": "CRDTN_Quests_SoundSet_Short",
    "QuestSoundSetAccept": "CRDTN_Quests_SoundSet_Quick",
    "QuestSoundSetToggle": "CRDTN_Quests_SoundSet_Toggle_Paper"
}
```
````

Create an empty config file in **$profiles/CRDTN/Quests/Quests.json**

{% code title="quests.json" lineNumbers="true" fullWidth="false" %}

```json
{
  "Quests": [],
  "QuestGivers": []
}
```

{% endcode %}

### Examples

Download examples of the config files if you need

{% file src="/files/etIGxmgGDZVmhrho2TEn" %}

{% file src="/files/0yyOtCZQQZuALtDfZ3rl" %}

{% file src="/files/0Qei3P3uBs7qnKX9VTqP" %}

{% file src="/files/pnIM6kg0PEYanB20tHRo" %}

{% file src="/files/lcHl6Inyq2pTcj2E8vO4" %}

{% file src="/files/QA6WecTZStWP329EmCqe" %}
Quests.json
{% endfile %}
