# How to Configure Your Operation: Harsh Doorstop Server (/docs/operation-harsh-doorstop/configure-your-server)



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

Operation: Harsh Doorstop server configuration is managed through two main INI files — `Game.ini` for gameplay settings and `Engine.ini` for engine-level performance and networking — along with startup parameters that control core server behavior like the server name, port, and max players.

Configuration Files Overview [#configuration-files-overview]

Your server's configuration files are located in the following path:

```
HarshDoorstop/Saved/Config/LinuxServer/
```

| File         | Purpose                                                                                                 |
| ------------ | ------------------------------------------------------------------------------------------------------- |
| `Game.ini`   | Gameplay settings — game mode rules, team balance, ticket counts, spawn timers, and admin configuration |
| `Engine.ini` | Engine settings — tick rate, network settings, and performance tuning                                   |

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 Operation: Harsh Doorstop server.
  </div>

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

    In the sidebar, go to `Files`.
  </div>

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

    Navigate to `HarshDoorstop/Saved/Config/LinuxServer/`.
  </div>

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

    Click on `Game.ini` or `Engine.ini` to open it in the editor.
  </div>

  <div className="fd-step">
    Make your changes [#5-make-your-changes]

    Edit the settings you want to change. Each setting follows the standard INI format:

    ```ini
    [SectionName]
    SettingName=Value
    ```
  </div>

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

    Click **Save** and restart your server for changes to take effect.

    > 📝 **Note:** Always stop your server before editing configuration files. Changes made while the server is running may be overwritten when the server shuts down.
  </div>
</div>

Using Startup Parameters [#using-startup-parameters]

Startup parameters are configured through the **Startup** tab on the XGamingServer panel and control core server settings that are passed as command-line arguments when the server starts.

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

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

  <div className="fd-step">
    Go to Startup [#2-go-to-startup]

    In the sidebar, click `Startup`.
  </div>

  <div className="fd-step">
    Configure your parameters [#3-configure-your-parameters]

    Edit the available startup variables:

    | Parameter           | Description                                      | Example         |
    | ------------------- | ------------------------------------------------ | --------------- |
    | **Server Name**     | The name shown in the server browser             | `My OHD Server` |
    | **Max Players**     | Maximum number of connected players              | `40`            |
    | **Server Password** | Password required to join (leave blank for none) | `mypassword`    |
    | **Map**             | The map to load on startup                       | `Anviloy`       |
    | **Game Mode**       | The game mode to run                             | `AAS`           |
    | **Port**            | Game port                                        | `7777`          |
    | **Query Port**      | Steam query port                                 | `27015`         |
    | **RCON Port**       | Remote console port                              | `21114`         |
    | **RCON Password**   | Password for RCON access                         | `myrconpass`    |
  </div>

  <div className="fd-step">
    Restart your server [#4-restart-your-server]

    Start or restart your server for the new parameters to take effect.

    > 💡 **Tip:** Startup parameters override equivalent settings in the config files. If you set the server name in both Startup and `Game.ini`, the Startup value takes priority.
  </div>
</div>

Key Game.ini Settings [#key-gameini-settings]

Here are the most commonly configured settings in `Game.ini`:

Server Rules [#server-rules]

```ini
[/Script/HarshDoorstop.HDGameMode]
RoundTimeLimit=2400
WarmupTime=60
TeamBalanceTolerance=2
FriendlyFireEnabled=True
FriendlyFireDamageMultiplier=0.5
```

| Setting                        | Description                                     | Default         |
| ------------------------------ | ----------------------------------------------- | --------------- |
| `RoundTimeLimit`               | Maximum round duration in seconds               | `2400` (40 min) |
| `WarmupTime`                   | Warmup period before the round starts (seconds) | `60`            |
| `TeamBalanceTolerance`         | Max player difference allowed between teams     | `2`             |
| `FriendlyFireEnabled`          | Enable team damage                              | `True`          |
| `FriendlyFireDamageMultiplier` | Damage multiplier for friendly fire (0.0-1.0)   | `0.5`           |

Spawn Settings [#spawn-settings]

```ini
[/Script/HarshDoorstop.HDGameMode]
SpawnTimer=15
RallyPointLifetime=300
RallyPointSpawnLimit=10
```

| Setting                | Description                                  | Default |
| ---------------------- | -------------------------------------------- | ------- |
| `SpawnTimer`           | Base respawn timer in seconds                | `15`    |
| `RallyPointLifetime`   | How long rally points stay active (seconds)  | `300`   |
| `RallyPointSpawnLimit` | Max spawns per rally point before it expires | `10`    |

Ticket System [#ticket-system]

```ini
[/Script/HarshDoorstop.HDGameMode]
TicketCount=300
TicketLossOnDeath=1
TicketLossOnVehicleDestroyed=5
```

| Setting                        | Description                              | Default |
| ------------------------------ | ---------------------------------------- | ------- |
| `TicketCount`                  | Starting tickets per team                | `300`   |
| `TicketLossOnDeath`            | Tickets lost when a player dies          | `1`     |
| `TicketLossOnVehicleDestroyed` | Tickets lost when a vehicle is destroyed | `5`     |

Key Engine.ini Settings [#key-engineini-settings]

Network Performance [#network-performance]

```ini
[/Script/OnlineSubsystemUtils.IpNetDriver]
NetServerMaxTickRate=60
MaxClientRate=100000
MaxInternetClientRate=100000
```

| Setting                 | Description                                   | Default  |
| ----------------------- | --------------------------------------------- | -------- |
| `NetServerMaxTickRate`  | Server tick rate (updates per second)         | `60`     |
| `MaxClientRate`         | Maximum bandwidth per client (bytes/sec)      | `100000` |
| `MaxInternetClientRate` | Maximum internet client bandwidth (bytes/sec) | `100000` |

> 💡 **Tip:** A higher tick rate provides smoother gameplay but uses more CPU. The default of 60 is a good balance for most servers. Avoid going above 128 as it may cause performance issues.

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

Before making major changes, back up your configuration 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">
    Navigate to the config folder [#2-navigate-to-the-config-folder]

    Go to `HarshDoorstop/Saved/Config/LinuxServer/`.
  </div>

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

    Click the **three dots** menu next to each file and select **Download** to save a local copy.

    You can also set up [automatic backups](/docs/operation-harsh-doorstop/configure-your-server) using the **Backups** section in the sidebar to protect your configuration and save data on a schedule.
  </div>
</div>

Resetting Configuration [#resetting-configuration]

If your server isn't starting or you want to start fresh:

<div className="fd-steps">
  <div className="fd-step">
    Stop your server [#1-stop-your-server]

    Stop the server from the panel.
  </div>

  <div className="fd-step">
    Delete the config files [#2-delete-the-config-files]

    Navigate to `HarshDoorstop/Saved/Config/LinuxServer/` in **Files** and delete `Game.ini` and `Engine.ini`.
  </div>

  <div className="fd-step">
    Reinstall your server [#3-reinstall-your-server]

    Go to **Settings** and click **Reinstall Server** to restore default files.
  </div>

  <div className="fd-step">
    Reconfigure [#4-reconfigure]

    Apply your desired settings following the steps above.

    > ⚠️ **Warning:** Reinstalling the server will delete all custom configurations, save data, and installed mods. Make sure to download any files you want to keep before reinstalling.

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