# How to Configure Your Sven Co-op Server (/docs/sven-co-op/server-config)



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

Sven Co-op is a **co-op** game (players vs NPCs) on a modified GoldSrc engine. It has its own plugin system — **AMX Mod X is NOT compatible**.

<Files>
  <Folder name="svencoop" defaultOpen>
    <File name="server.cfg" />

    <File name="mapcycle.txt" />

    <Folder name="maps" />

    <Folder name="scripts">
      <Folder name="plugins" />
    </Folder>
  </Folder>

  <Folder name="svencoop_addon">
    <Folder name="maps" />
  </Folder>
</Files>

Editing server.cfg [#editing-servercfg]

<Steps>
  <Step>
    Open Files [#open-files]

    In the [XGamingServer Panel](https://panel.xgamingserver.com), click **Files** → `svencoop/` → open `server.cfg`.
  </Step>

  <Step>
    Save and restart from Console. [#save-and-restart-from-console]
  </Step>
</Steps>

Key Settings [#key-settings]

```
hostname "My Sven Co-op Server"
sv_password ""
rcon_password "YourPassword"
sv_lan 0
mp_timelimit 45
```

Co-op Specific Settings [#co-op-specific-settings]

| Setting              | Default | Description                        |
| -------------------- | ------- | ---------------------------------- |
| `mp_survival_mode`   | `0`     | 1 = Survival mode (limited lives)  |
| `mp_respawndelay`    | `5`     | Seconds before respawn             |
| `mp_npcscaling`      | `1`     | Scales NPC count with player count |
| `mp_mapvote_on`      | `1`     | Built-in map voting                |
| `mp_mapvote_options` | `5`     | Number of map choices              |

Map Rotation [#map-rotation]

Edit `svencoop/mapcycle.txt`:

```
svencoop1
svencoop2
hl_c01_a1
of1a1
```

Custom maps go in `svencoop/maps/` or `svencoop_addon/maps/`.

Plugin System — AngelScript [#plugin-system--angelscript]

Sven Co-op uses its own **AngelScript** scripting system (NOT AMX Mod X). It includes a built-in admin system and map voting.

Custom plugins go in `scripts/plugins/`.

Ports [#ports]

| Port      | Protocol  | Purpose     |
| --------- | --------- | ----------- |
| **27015** | UDP + TCP | Game + RCON |

No GSLT required.

Related Guides [#related-guides]

* [How to Connect](/docs/sven-co-op/join-server)
