# Stardew Valley Server Settings (/docs/stardew-valley/server-settings)



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

There are two places to configure your server: the panel **Startup** tab for the common options, and the **`server-settings.json`** file for advanced game/farm options.

Startup tab options [#startup-tab-options]

Open your server → **Startup** tab. Change a value, then **restart** for it to apply.

| Setting                                   | What it does                                                                                                                               |
| ----------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| **Server TPS**                            | Ticks per second (10–60). Lower = lighter CPU, choppier NPCs. `30` is a good balance. See [Performance](/docs/stardew-valley/performance). |
| **Server Password**                       | Optional join password (`!login`). See [Server Password](/docs/stardew-valley/server-password).                                            |
| **HTTP API Enabled / API Key / API Port** | The optional management API + Discord bot. See [Discord Bot & HTTP API](/docs/stardew-valley/discord-api).                                 |
| **Keep Languages**                        | Comma-separated language codes to keep fonts for (e.g. `de-DE,fr-FR`). Blank = English only (smallest download).                           |

{/* SCREENSHOT PENDING: /screenshots/stardew-valley/stardew-startup-variables.png (alt: Stardew Valley startup variables) */}

server-settings.json (advanced) [#server-settingsjson-advanced]

Farm type, max cabins, and game-rule options live in **`server-settings.json`**, created automatically on first boot.

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

    Go to the **Files** tab and open `settings/server-settings.json`.
  </Step>

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

    Edit the values, **Save**, then restart the server. Common options include the farm layout, number of cabins/farmhand slots, and difficulty/game-rule toggles.

    {/* SCREENSHOT PENDING: /screenshots/stardew-valley/stardew-server-settings-json.png (alt: server-settings.json in the editor) */}
  </Step>
</Steps>

> Always restart the server after editing settings. Invalid JSON will stop the server from starting — if that happens, fix the syntax (or delete the file to regenerate defaults).

Renaming your farm [#renaming-your-farm]

The farm name comes from the host save. It's shown in the panel and used as the default Discord bot nickname.
