# How to Configure Your Stay in Tarkov Server (/docs/stay-in-tarkov/configure-your-server)



import { Step, Steps } from 'fumadocs-ui/components/steps';

Your Stay in Tarkov server runs on the SPT framework — a .NET server (since SPT 4.0) that handles player profiles, traders, loot, quests, and game progression. Configuration is managed through JSON files under `SPT/SPT_Data/configs/`, with `http.json` controlling network settings.

Configuration Files Overview [#configuration-files-overview]

All of these live in `SPT/SPT_Data/configs/`:

| File             | Purpose                                                   |
| ---------------- | --------------------------------------------------------- |
| `http.json`      | Network settings — IP address and port                    |
| `core.json`      | Core server settings — server name, profile save interval |
| `bot.json`       | AI bot settings                                           |
| `inraid.json`    | In-raid settings including save behavior                  |
| `insurance.json` | Insurance return times and chances                        |
| `location.json`  | Raid and map settings, loot multipliers                   |
| `loot.json`      | Loot settings                                             |
| `quest.json`     | Quest settings                                            |
| `hideout.json`   | Hideout settings                                          |
| `ragfair.json`   | Flea market settings                                      |
| `trader.json`    | Trader restock and purchasing settings                    |
| `weather.json`   | Weather and time of day settings                          |

> 📝 **Note:** SPT 4.x has no `Server/` sub-folder and no `Aki_Data` folder — those paths are from SPT 3.x. There is also no `gameplay.json`.

Editing Configuration Files [#editing-configuration-files]

<div className="fd-steps">
  <div className="fd-step">
    Open the XGamingServer panel [#1-open-the-xgamingserver-panel]

    Log in to the [XGamingServer panel](https://panel.xgamingserver.com) and **Stop** your server.
  </div>

  <div className="fd-step">
    Navigate to Files [#2-navigate-to-files]

    In the sidebar, go to `Files` and open `SPT/SPT_Data/configs/`.
  </div>

  <div className="fd-step">
    Open the config file [#3-open-the-config-file]

    Click the file you want to change. Always download a copy first so you can roll back.
  </div>

  <div className="fd-step">
    Edit your settings [#4-edit-your-settings]

    Change values carefully — one missing comma or quote stops the server from starting. Check your edit with [JSONLint](https://jsonlint.com/) if unsure.
  </div>

  <div className="fd-step">
    Save and restart [#5-save-and-restart]

    Click **Save** and start your server.
  </div>
</div>

Network Configuration (http.json) [#network-configuration-httpjson]

`http.json` contains `ip`, `port`, `backendIp` and `backendPort` (SPT's default port is `6969`).

> 📝 **Note:** On XGamingServer, the IP and port are managed for you and match the port shown on your panel. You usually don't need to change `http.json` unless instructed by support.

Core Server Settings (core.json) [#core-server-settings-corejson]

| Setting                      | Description                                                                      |
| ---------------------------- | -------------------------------------------------------------------------------- |
| `serverName`                 | The name of your server                                                          |
| `profileSaveIntervalSeconds` | How often player profiles are auto-saved (default `60`)                          |
| `compatibleTarkovVersion`    | The Tarkov client version this SPT build supports — informational, do not change |

Fika Multiplayer Settings [#fika-multiplayer-settings]

Fika's settings live in `user/mods/fika-server/assets/configs/fika.jsonc`. The file uses the `.jsonc` format, which allows `//` comments. For every setting with its default, see the [Fika Configuration Reference](/docs/escape-from-tarkov/fika-config-reference), or build a file with the [Fika config generator](https://xgamingserver.com/tools/escape-from-tarkov/fika-config-generator).

Backing Up Your Configuration [#backing-up-your-configuration]

Before making significant changes, back up your config files:

<div className="fd-steps">
  <div className="fd-step">
    Open Files [#1-open-files]

    Go to `Files` in the sidebar.
  </div>

  <div className="fd-step">
    Download your configs [#2-download-your-configs]

    Navigate to `SPT/SPT_Data/configs/` and click the **three dots** menu next to each file you want to back up, then select **Download**.
  </div>

  <div className="fd-step">
    Back up profiles too [#3-back-up-profiles-too]

    Also back up `user/profiles/` — this contains all player save data. Losing profiles means players lose all their progress.

    > 💡 **Tip:** Use the **Backups** section in the sidebar to set up scheduled automatic backups. This protects both your configuration and player profiles against accidental changes or corruption.
  </div>
</div>

Validating JSON [#validating-json]

SPT configuration files are strict JSON. A single missing comma, extra bracket, or trailing comma will prevent the server from starting. If your server won't start after editing a config file:

1. Check `Console` on the XGamingServer panel for error messages — they usually point to the exact file and line number causing the issue.
2. Paste your edited file into a JSON validator like [JSONLint](https://jsonlint.com/) to find syntax errors.
3. If all else fails, upload the backup copy you downloaded before editing and restart.

If you get stuck at any time, you can join our [Discord](https://discord.xgamingserver.com/).
