# How to Configure Your V Rising Server (ServerHostSettings.json) (/docs/v-rising/server-config)



import { File, Folder, Files } from 'fumadocs-ui/components/files';
import { Step, Steps } from 'fumadocs-ui/components/steps';

V Rising uses two JSON config files for everything: `ServerHostSettings.json` for connection/identity and `ServerGameSettings.json` for gameplay tuning.

<Files>
  <Folder name="VRisingServer_Data" defaultOpen>
    <Folder name="StreamingAssets" defaultOpen>
      <Folder name="Settings" defaultOpen>
        <File name="ServerHostSettings.json" />

        <File name="ServerGameSettings.json" />

        <File name="adminlist.txt" />

        <File name="banlist.txt" />
      </Folder>
    </Folder>
  </Folder>

  <Folder name="save-data">
    <Folder name="Saves" />
  </Folder>
</Files>

How to Edit the Config Files [#how-to-edit-the-config-files]

<Steps>
  <Step>
    Stop the server [#stop-the-server]

    In the [XGamingServer Panel](https://panel.xgamingserver.com), go to **Console** and stop your server. V Rising overwrites configs on shutdown — always edit while stopped.
  </Step>

  <Step>
    Open the file [#open-the-file]

    Click **Files** in the sidebar and navigate to:

    ```
    VRisingServer_Data/StreamingAssets/Settings/
    ```

    Open `ServerHostSettings.json` for connection/identity settings, or `ServerGameSettings.json` for gameplay rules.
  </Step>

  <Step>
    Edit and save [#edit-and-save]

    Make your changes (maintain valid JSON syntax — quotes around strings, commas between fields), click **Save Content**, then start from **Console**.
  </Step>
</Steps>

> Many of these settings are also available as **Startup** variables in the panel sidebar for quick changes without editing the JSON.

***

ServerHostSettings.json [#serverhostsettingsjson]

| Setting              | Default    | Description                     |
| -------------------- | ---------- | ------------------------------- |
| `Name`               | `""`       | Browser display name            |
| `Description`        | `""`       | Server description              |
| `Port`               | `9876`     | Game port (UDP)                 |
| `QueryPort`          | `9877`     | Query port (UDP, always game+1) |
| `MaxConnectedUsers`  | `40`       | Max players                     |
| `MaxConnectedAdmins` | `4`        | Extra admin slots               |
| `Password`           | `""`       | Join password                   |
| `Secure`             | `true`     | VAC anti-cheat                  |
| `ListOnSteam`        | `true`     | Show in Steam browser           |
| `ListOnEOS`          | `true`     | Show for Epic/crossplay         |
| `SaveName`           | `"world1"` | Save folder name                |
| `AutoSaveCount`      | `25`       | Rotating autosave slots         |
| `AutoSaveInterval`   | `120`      | Seconds between saves           |
| `ServerFps`          | `30`       | Server tick rate                |

RCON [#rcon]

```json
"Rcon": {
  "Enabled": true,
  "Port": 25575,
  "Password": "YourPassword"
}
```

Standard Source RCON protocol — works with mcrcon, BattleMetrics, etc.

ServerGameSettings.json — Key Settings [#servergamesettingsjson--key-settings]

Game Mode [#game-mode]

`"GameModeType"`: `"PvP"` or `"PvE"`

Castle & Raiding [#castle--raiding]

| Setting                           | Default                     | Description                |
| --------------------------------- | --------------------------- | -------------------------- |
| `CastleDecayRateModifier`         | `1.0`                       | Castle decay speed         |
| `CastleBloodEssenceDrainModifier` | `1.0`                       | Blood essence upkeep       |
| `CastleDamageMode`                | `"TimeRestricted"`          | When castles can be raided |
| `CastleHeartDamageMode`           | `"CanBeDestroyedByPlayers"` | Castle heart vulnerability |

Loot & Death [#loot--death]

| Setting                    | Default    | Description              |
| -------------------------- | ---------- | ------------------------ |
| `DeathContainerPermission` | `"Anyone"` | Who can loot death bags  |
| `BloodBoundEquipment`      | `true`     | Equipment stays on death |
| `CanLootEnemyContainers`   | `true`     | Loot enemy chests        |

Crafting & Resources [#crafting--resources]

| Setting                        | Default | Description        |
| ------------------------------ | ------- | ------------------ |
| `CraftRateModifier`            | `1.0`   | Crafting speed     |
| `MaterialYieldModifier_Global` | `1.0`   | Resource gathering |
| `ResearchCostModifier`         | `1.0`   | Research costs     |
| `ResearchTimeModifier`         | `1.0`   | Research time      |
| `DropTableModifier_General`    | `1.0`   | Loot drops         |
| `InventoryStacksModifier`      | `1.0`   | Stack sizes        |

Day/Night [#daynight]

```json
"GameTimeModifiers": {
  "DayDurationInSeconds": 1080,
  "DayStartHour": 9,
  "DayEndHour": 17
}
```

Vampire Stats [#vampire-stats]

```json
"VampireStatModifiers": {
  "MaxHealthModifier": 1.0,
  "PhysicalPowerModifier": 1.0,
  "SpellPowerModifier": 1.0,
  "DamageReceivedModifier": 1.0
}
```

Ports [#ports]

| Port     | Protocol | Purpose           |
| -------- | -------- | ----------------- |
| **9876** | UDP      | Game              |
| **9877** | UDP      | Query             |
| 25575    | TCP      | RCON (if enabled) |

Related Guides [#related-guides]

* [Admin Setup](/docs/v-rising/admin-setup)
* [Game Modes](/docs/v-rising/game-modes)
* [How to Join](/docs/v-rising/join-server)
