# 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="https://3957347284-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7r6RseTZTkJJcKqbC3EI%2Fuploads%2FtWvxMlpEwAL1MI9Lfm7c%2Fimage.png?alt=media&#x26;token=0074632a-3221-44e6-8e20-8605f5ee014d" 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="https://3957347284-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7r6RseTZTkJJcKqbC3EI%2Fuploads%2FlAGGJu4glJKW2WAbYd93%2Fimage.png?alt=media&#x26;token=ecaa428b-d477-450a-ab1f-e0579188059f" 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="https://3957347284-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7r6RseTZTkJJcKqbC3EI%2Fuploads%2FoF2sjghnvgl0RmdswWVo%2Fimage.png?alt=media&#x26;token=b100389c-964e-4a6f-ae6b-fbe2c3a40fdd" 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>](https://dayz.foxapo.com/mods/crdtn-core) <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="<https://3957347284-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7r6RseTZTkJJcKqbC3EI%2Fuploads%2FBluJf84i3ZZX0RYP6MlR%2FSettings.json?alt=media&token=744f76d7-b169-4d3e-87b5-ac19a47ec335>" %}

{% file src="<https://3957347284-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7r6RseTZTkJJcKqbC3EI%2Fuploads%2Fti14l2DPZXkRjedwY6Ls%2FNPCs.json?alt=media&token=eb9c70bb-8fdf-461f-94d6-c2d8ad120903>" %}

{% file src="<https://3957347284-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7r6RseTZTkJJcKqbC3EI%2Fuploads%2F67n1s1GhfixpMNudu6EC%2FChernarus_Quests.json?alt=media&token=39cfb077-a6bc-4f40-841c-41d510ec43b3>" %}

{% file src="<https://3957347284-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7r6RseTZTkJJcKqbC3EI%2Fuploads%2FOjFnAjYJp7oltApWJgL9%2FActionSurvivalQuests.json?alt=media&token=7ecc7bce-1ff7-46c5-a04d-983ceedc8206>" %}

{% file src="<https://3957347284-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7r6RseTZTkJJcKqbC3EI%2Fuploads%2FOlv8bOueR5VEkedIouf4%2FQuestLine_MultiQuest_Completion.json?alt=media&token=f007cc4c-06d9-42f1-a235-b39eccdc6e89>" %}

{% file src="<https://3957347284-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7r6RseTZTkJJcKqbC3EI%2Fuploads%2FqOB1Uyso42JdvhZGSjig%2FQuests.json?alt=media&token=ce11edf5-636b-483f-b467-54d69e39b075>" %}
Quests.json
{% endfile %}
